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

WebSocket opening handshake timeout #164

Open
prashanth2692 opened this issue Mar 6, 2022 · 0 comments
Open

WebSocket opening handshake timeout #164

prashanth2692 opened this issue Mar 6, 2022 · 0 comments

Comments

@prashanth2692
Copy link

Hello,

I have been trying to use ROSIntegration plugin on Windows. I have followed instructions to publish to a topic. The connection is being established but the messages doesn't seem to ROS network.

Command used to launch rosbridge:
roslaunch rosbridge_server rosbridge_tcp.launch bson_only_mode:=True

output

started roslaunch server http://127.0.0.1:58043/

SUMMARY
========

PARAMETERS
 * /rosapi/params_glob: [*]
 * /rosapi/services_glob: [*]
 * /rosapi/topics_glob: [*]
 * /rosbridge_tcp/authenticate: False
 * /rosbridge_tcp/bson_only_mode: True
 * /rosbridge_tcp/delay_between_messages: 0
 * /rosbridge_tcp/fragment_timeout: 600
 * /rosbridge_tcp/host:
 * /rosbridge_tcp/incoming_buffer: 65536
 * /rosbridge_tcp/max_message_size: None
 * /rosbridge_tcp/params_glob: [*]
 * /rosbridge_tcp/port: 9090
 * /rosbridge_tcp/retry_startup_delay: 5
 * /rosbridge_tcp/services_glob: [*]
 * /rosbridge_tcp/socket_timeout: 10
 * /rosbridge_tcp/topics_glob: [*]
 * /rosbridge_tcp/unregister_timeout: 10
 * /rosdistro: noetic
 * /rosversion: 1.15.9

NODES
  /
    rosapi (rosapi/rosapi_node)
    rosbridge_tcp (rosbridge_server/rosbridge_tcp)

ROS_MASTER_URI=http://127.0.0.1:11311
process[rosbridge_tcp-1]: started with pid [31828]
process[rosapi-2]: started with pid [33196]
registered capabilities (classes):
 - <class 'rosbridge_library.capabilities.call_service.CallService'>
 - <class 'rosbridge_library.capabilities.advertise.Advertise'>
 - <class 'rosbridge_library.capabilities.publish.Publish'>
 - <class 'rosbridge_library.capabilities.subscribe.Subscribe'>
 - <class 'rosbridge_library.capabilities.defragmentation.Defragment'>
 - <class 'rosbridge_library.capabilities.advertise_service.AdvertiseService'>
 - <class 'rosbridge_library.capabilities.service_response.ServiceResponse'>
 - <class 'rosbridge_library.capabilities.unadvertise_service.UnadvertiseService'>
trying to start rosbridge TCP server..

[INFO] [1646593250.406980]: Rosbridge TCP server started on port 9090
[INFO] [1646593335.342341]: [Client 0] connected. 1 client total.

output of roscore:

Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://127.0.0.1:61085/
ros_comm version 1.15.9


SUMMARY
========

PARAMETERS
 * /rosdistro: noetic
 * /rosversion: 1.15.9

NODES

auto-starting new master
process[master]: started with pid [34136]
ROS_MASTER_URI=http://127.0.0.1:11311/
setting /run_id to 6a7dfa69-9cd2-11ec-8569-14857f294f8b
process[rosout-1]: started with pid [26128]
started core service [/rosout]

output of rosnode list:

/rosapi
/rosbridge_tcp
/rosout
/teleop_turtle

ExampleTopic->Advertise();
and
ExampleTopic->Publish(StringMessage);

are returning true but the output of rostopic echo /chatter remains:
WARNING: topic [/chatter] does not appear to be published yet

Please help with what is going wrong with my setup.

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