Closed Yeesha-R closed 7 months ago
Hi @Yeesha-R The issue is unrelated to this repository. I recommend you open one directly on the Universal_Robots_ROS_Driver repository. That being said, the problem seems to be the network configuration between the robot and the PC. So you may want to look into ways to open the required ports for the robot to properly communicate with the PC
Hi @cambel ,
Thank you for your response. It was a mistake and I tried to delete it but could not. Thanks for the suggestion, I fhave found a solution to the issue.
Hi @cambel ,
Thank you for your response. It was a mistake and I tried to delete it but could not. Thanks for the suggestion, I fhave found a solution to the issue.
may your experiences and solution shared? I am facing the same problem as you!
@Whohahaha , please see issue https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/issues/690 on the UR robot's github page
thanks so much!
Summary
Connection to remote PC could not be established
I have been experiencing issues connecting to my UR5e lately (it started few days ago). I read all issues under "connection refused". I have also read issues about not using the correct IP address, in issues #244, #590, #510. However, none of the solutions worked for my problem. Here is my setup:
Version
ROS Driver version: Ubuntu 20.04, ROS noetic Affected Robot Software Version(s): e-Series Affected Robot Hardware Version(s): UR5e URCaps Software version(s): externalcontrol-1.0.5.urcap
Issue
When I run
roslaunch ur_robot_driver ur5e_bringup.launch robot_ip:=192.168.1.2
, I get the following output:At this stage, I start the external control on the teach pendant but got the error message "The connection to the remote PC at 192.168.1.1:50002 could not be established. Reason: Connection refused (Connection refused)"
I was able to successfully ping the robot at 192.168.1.2
When I ran
telnet 192.168.1.1 50002
, I gotWhen I ran
nc 192.168.1.2
, I gotnc: missing port number
when I ran
sudo ufw disable
, I gotFirewall stopped and disabled on system startup
and when I ranss -alpn | grep 5000 | column -t
, I noticed that the 50002 port is not among the available portsA screenshot is attached below
I have been using this robot for over one year but this issue started recently. Kindly let me know if you need anymore information. Thank you.