gartnera/headunit

"Error Internal data stream error" when running on Ubuntu

nnez opened this issue · 0 comments

nnez commented

My environments were as following:

  • Android Auto version 4.4592344-release (arm64) on Android Pie (9)
  • Ubuntu 18.04 (vmware) - Dependencies were installed as in README.md
    After running ./headunit AA on my phone was launched then crashed and spitted this erorr

Error Internal data stream error

This error both occurred in USB and WiFi mode
Any ideas what causes this error?

Here are full lines of what printed on terminal

uname:
sysname: Linux
release: 4.18.0-25-generic
version: #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019
machine: x86_64
libprotoversion: 3.0.0
libusb_get_version:
version: 1.0.21.11156
rc:
describe: http://libusb.info
openssl version: OpenSSL 1.1.1 11 Sep 2018 (0x1010100f)
GTK VERSION 3.10.0 or higher
Got gdk_screen_get_monitor_scale_factor() == 1.000000
headunit version: v1.05-38-g61ee618
json config parsed
Looping
W: /home/zenn/workspace/headunit/hu/hu_usb.cpp:382: Start : Opening device 0x0489 : 0xc001
W: /home/zenn/workspace/headunit/hu/hu_usb.cpp:399: Start : Device 0x0489 : 0xc001 responded with protocol ver 2
W: /home/zenn/workspace/headunit/hu/hu_usb.cpp:457: Start : Wating for the device to reconnect
W: /home/zenn/workspace/headunit/hu/hu_uti.cpp:375: wait_for_device_connection : udev device unbinded | node:/dev/bus/usb/001/026, subsystem:usb, devtype:usb_device
W: /home/zenn/workspace/headunit/hu/hu_uti.cpp:375: wait_for_device_connection : udev device removeed | node:/dev/bus/usb/001/026, subsystem:usb, devtype:usb_device
W: /home/zenn/workspace/headunit/hu/hu_uti.cpp:375: wait_for_device_connection : udev device added | node:/dev/bus/usb/001/027, subsystem:usb, devtype:usb_device
W: /home/zenn/workspace/headunit/hu/hu_usb.cpp:478: Start : Found OAP Device
W: /home/zenn/workspace/headunit/hu/hu_usb.cpp:486: Start : OK libusb_claim_interface usb_err: 0 (Success)
W: /home/zenn/workspace/headunit/hu/hu_usb.cpp:500: Start : Done get_config_descriptor config: 0x55a470ff5f00 num_int: 2
W: /home/zenn/workspace/headunit/hu/hu_usb.cpp:525: Start : iusb_ep_in: 0x81
W: /home/zenn/workspace/headunit/hu/hu_usb.cpp:532: Start : iusb_ep_out: 0x01
libusb: error [udev_hotplug_event] ignoring udev action bind
W: /home/zenn/workspace/headunit/hu/hu_ssl.cpp:209: hu_ssl_begin_handshake : SSL_do_handshake() ret: -1
W: /home/zenn/workspace/headunit/hu/hu_ssl.cpp:65: send_ssl_handshake_packet : BIO_read() HS client req ret: 194
W: /home/zenn/workspace/headunit/hu/hu_ssl.cpp:232: hu_handle_SSLHandshake : BIO_write() server rsp ret: 2282
W: /home/zenn/workspace/headunit/hu/hu_ssl.cpp:235: hu_handle_SSLHandshake : SSL_do_handshake() ret: -1
W: /home/zenn/workspace/headunit/hu/hu_ssl.cpp:65: send_ssl_handshake_packet : BIO_read() HS client req ret: 1191
W: /home/zenn/workspace/headunit/hu/hu_ssl.cpp:232: hu_handle_SSLHandshake : BIO_write() server rsp ret: 51
W: /home/zenn/workspace/headunit/hu/hu_ssl.cpp:235: hu_handle_SSLHandshake : SSL_do_handshake() ret: 1
W: /home/zenn/workspace/headunit/hu/hu_ssl.cpp:261: hu_handle_SSLHandshake : SET: iaap_state: 2 (hu_STATE_STARTED)
W: /home/zenn/workspace/headunit/hu/hu_aap.cpp:1358: hu_aap_start : Starting HU thread
Starting Android Auto...
W: /home/zenn/workspace/headunit/hu/hu_aap.cpp:567: hu_handle_ServiceDiscoveryRequest : Found BT address C4:9D:ED:05:AB:F7
. Exposing Bluetooth service
W: /home/zenn/workspace/headunit/hu/hu_aap.cpp:660: hu_handle_AudioFocusRequest : AudioFocusRequest Focus Request AA_CH_CTR: 4
Nightmode: Off
Error Internal data stream error.
W: /home/zenn/workspace/headunit/hu/hu_aap.cpp:1180: operator() : Sending ShutdownRequest
DisconnectionOrError