Anbox reports parsing errors for vhal messages

Bug #2077003 reported by Simon Fels
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Anbox Cloud
Fix Released
Medium
Simon Fels

Bug Description

Seeing the following in logs from Anbox with 1.23.0-20240809080136.4a6ba963a images:

Aug 14 13:42:39 foo anbox-starter[1004]: [libprotobuf ERROR google/protobuf/message_lite.cc:133] Can't parse message of type "anbox.protobuf.vhal.EmulatorMessage" because it is missing required fields: (cannot determine missing fields for lite message)
Aug 14 13:42:39 foo anbox-starter[1004]: E0814 13:42:39.470263 4491 streaming_server.cpp:700] Could not retrieve all prop configs from VHAL

The error stays regardless how often you connect again to the stream. The only thing which changes is that the protobuf error is not showing up again:

Aug 14 13:57:09 aaos13 anbox-starter[1005]: I0814 13:57:09.216611 3538 peer_connection.cpp:828] New data channel control added
Aug 14 13:57:09 aaos13 anbox-starter[1005]: E0814 13:57:09.216915 3536 streaming_server.cpp:700] Could not retrieve all prop configs from VHAL

Restarting Anbox + Android typically fixes the problem.

Simon Fels (morphis)
Changed in anbox-cloud:
milestone: none → 1.23.1
assignee: nobody → Alexis Janon (ajanon)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Simon Fels (morphis) wrote :

Strace'ing the vhal serivces shows it is actually responding to Anbox when it is sending the prof config request

1375 <... read resumed>"0002", 4) = 4
1375 read(6, "\10\2", 2) = 2
1375 write(6, "0a02", 4) = 4
1375 write(6, "\10\3\20\0\"\31\10\200\230\200\217\1\20\3\30\1 \200\200\200\7U\0\0\0\0]\0\0\0\0\""..., 2562) = 2562

description: updated
Simon Fels (morphis)
Changed in anbox-cloud:
milestone: 1.23.1 → 1.23.2
Simon Fels (morphis)
Changed in anbox-cloud:
status: Triaged → Fix Committed
assignee: Alexis Janon (ajanon) → Simon Fels (morphis)
Simon Fels (morphis)
Changed in anbox-cloud:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.