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

Not possible to connect to RosBridge #185

Closed
GitRepJo opened this issue May 21, 2021 · 1 comment
Closed

Not possible to connect to RosBridge #185

GitRepJo opened this issue May 21, 2021 · 1 comment

Comments

@GitRepJo
Copy link

GitRepJo commented May 21, 2021

Hi,

I installed the current version of node v10.19.0. on Ubuntu 20.04.2 LTS
I run node bin/rosbridge.js and node examples/index.js
However when i open http://localhost:3001/html/publisher.html in the browser i get the message.

Error in the backend! Connection closed.

No messages are received by the node index.js.

I changed the port of the node index.js to 3001 in index.js because 3000 was already used.

Any suggestions on how to narrow down on the error or get a more detailed error description?

@GitRepJo
Copy link
Author

As already stated in #160 https://github.com/RobotWebTools/ros2-web-bridge/issues/160,
DEBUG=ros2-web-bridge* node bin/rosbridge.js provides more details.
It turns out, that the default port localhost:9090 was already blocked. Changing it to an open port worked well.
I checked for blocked ports with sudo nmap -sT -O localhost

@GitRepJo GitRepJo changed the title Error in the backend! connection closed Not possible to connect to RosBridge May 21, 2021
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