question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Humble, simple-api-server] Websockets 9.1 from ubuntu offical ppa doesn't seem to work

See original GitHub 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 https://github.com/open-rmf/rmf_demos/issues/166#issuecomment-1278820549 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 version 9.1-1 is somehow buggy.

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ncnynlcommented, Nov 30, 2022

I have fixed the issue.

follow steps:

sudo apt remove python3-websockets 
python3 -m pip install websockets==10.4
python3 -m pip install asyncio 

and recompile repo .

cd ~/rmf_ws
source /opt/ros/humble/setup.bash
export CXX=clang++
export CC=clang
colcon build --mixin release lld

it work now.

0reactions
ncnynlcommented, Nov 30, 2022

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)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · open-rmf/rmf_demos - GitHub
[Humble, simple-api-server] Websockets 9.1 from ubuntu offical ppa doesn't seem to work bug Something isn't working. #169 opened 20 days ago by Briancbn....
Read more >
aVO - River Thames Conditions
20 stove gas, Hola vecinos de hoy, Ee 3g not working 2013, Nascida a meia noite ... Psicopraxis opiniones, Arbeidstilsynet feriepenger, What does...
Read more >
https://irclogs.ubuntu.com/2013/06/23/%23ubuntu.txt
I also tried vinagre as my client, but it would not work with my server. ... they don't seem available here in GNOME,...
Read more >
uWSGI Documentation - Read the Docs
The uWSGI project aims at developing a full stack for building (and hosting) clustered/distributed network applica-.
Read more >
Untitled
Mc eiht growing up in the hood, Websocket-eventmachine-server, Power league ... Abdellah ezbiri vs, 54745 zip code, Vr v8 wont start, Cream colored...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found