Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMI disconnects from the backend server after a failed HMI PTU #431

Closed
ShobhitAd opened this issue Aug 26, 2021 · 1 comment
Closed

HMI disconnects from the backend server after a failed HMI PTU #431

ShobhitAd opened this issue Aug 26, 2021 · 1 comment

Comments

@ShobhitAd
Copy link
Contributor

ShobhitAd commented Aug 26, 2021

Bug Report

Generic HMI disconnects from the backend server on a failed HMI PTU. As a result other backend related features (video/audio streaming, webengine apps) cannot be used after a failed HMI PTU

Reproduction Steps
  1. Start backend server and SDL
  2. Start Generic HMI
  3. Check the "PTU using in-vehicle modem" checkbox
  4. Register Test suite app with app type "NAVIGATION"
  5. Run Streaming Tests > PlayVideo (RAW) from tests drawer
Expected Behavior
  1. The HMI PTU triggered on app registration fails and HMI switches to PTU over mobile
  2. Video stream starts in HMI
Observed Behavior
  1. The HMI PTU triggered on app registration fails and HMI switches to PTU over mobile. The following error appears in the backend server logs
Traceback (most recent call last):
  File "./python_websocket/src/websockets/server.py", line 193, in handler
    await self.ws_handler(self, path)
  File "./python_websocket/src/start_server.py", line 157, in on_connect
    async for message in _websocket:
  File "./python_websocket/src/websockets/protocol.py", line 437, in __aiter__
    yield await self.recv()
  File "./python_websocket/src/websockets/protocol.py", line 507, in recv
    await self.ensure_open()
  File "./python_websocket/src/websockets/protocol.py", line 810, in ensure_open
    raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: code = 1005 (no status code [internal]), no reason
  1. Video stream does NOT start in HMI
Browser & Version Information
  • Browser and Version: Chromium (Version 92.0.4515.159)
  • Generic HMI Version: develop(76aea6e)
  • Testing Against: Test Suite
@ShobhitAd
Copy link
Contributor Author

Closed via #432

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant