-
Notifications
You must be signed in to change notification settings - Fork 97
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
[Humble, simple-api-server] Websockets 9.1 from ubuntu offical ppa doesn't seem to work #169
Comments
The issue has already been documented. Our Installation README further highlights this problem as a If you feel something is still ambiguous and needs to be added to the README, please open a PR and we'll be happy to merge it in. Closing this ticket as it is not a bug. A solution is available and documented. |
@Yadunund This is not |
@Yadunund I can confirm that installing |
@Briancbn I see. I assumed |
@Yadunund
|
Sorry I wasn't being clear and it didn't help that I mixed up fastapi and websockets pkgs. Kindly ignore my previous comments. I can confirm that websockets-9.1 has some issues and the rmf_demos_panel does not setup the websocket server correctly but updating to websockets-10.4 via pip fixes the problem. |
i have the issue too . I have installed the humble version of rmf to ubuntu22.04 I follow the desc purge websockets 9.1 and Install websockets to 10.4 , but still not show task status on rmf_pane_js website I startup office.launch.xml , it will show the content: [simple_api_server-14] The WebSocket transport is not available, you must install a WebSocket server that is compatible with your async mode to enable it. See the documentation for details. (further occurrences of this error will be logged with level INFO) |
I have fixed the issue. follow steps:
and recompile repo .
it work now. |
In our case, we got this issue TypeError: Server.emit().. first. It is resolved by downgrading the version of python-socketio to 5.7.2. Then we got the message "The WebSocket transport is not available, you must install a WebSocket server that is compatible with your async mode to enable it.", and the RMF Panel front end could not connect to web socket. The above steps did not solve the issue. After downgrading the version of python-socketio further to 5.0.3, we still got the message "The WebSocket transport is not available..", but the RMF Panel front end could receive messages through the web socket.
In addition, when we run open-rmf inside a container, we get the error "cannot bind address.." at line Changing the server_url in the following code from localhost to 127.0.0.1 solves the issue.
|
Bug report
When launching office world, the simple API server is not able to update the task states from the websocket server, resulting in the js-panel not able to display the tasks states. (the #166 (comment) by Grey prompt us to investigate the version difference, although the fastapi is not giving us any issue at this point)
We switched to using the latest version (10.4), through building from source. It seems to work.
It seems that the default Ubuntu PPA's
python3-websockets
version9.1-1
is somehow buggy.The text was updated successfully, but these errors were encountered: