-
Notifications
You must be signed in to change notification settings - Fork 249
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
ROSSmartServo error, java.net.BindException: Address already in use #183
Comments
Just restart the controller by powering it off and on again. |
That's also what I did up to now when having this error message. It felt like a quite unsatisfactory solution though. |
Yes, that is a known issue and restarting the cabinet is the only solution at the moment :\ From our experience, the error appears only after some event leads to a not correct setup of the communication with the ROS Master and consequent exceptions are thrown. This should show that the I will try to at least find a way to replicate the error in structured manner so that we can test solutions, but it will be painful since one needs to restart the cabinet every time the solution doesn't work :D |
Thank you so much everyone, this is super helpful. A restart didn't work for me this time, but once I fixed my issue posted in #182, it worked. |
Should we keep this open since this error still arises in other configurations? |
Probably a trivial question but I can't figure it out: How is it possible to stop the application correctly? From the smartPad it is possible to stop it and reset it, but reset throws an exception (because it is interrupted), and the app is an infinite loop, as it should be. |
We usually have the following to start everything:
And to stop:
There should not be any error, if you can reproduce some steps that always give you an exception please let me know. |
Hi Salvo, the steps you mentioned are exactly the same we do when starting/stopping the application. |
It is strange that you have that often, to us it happens only when somehow we mess up something. But I don't have yet a good way to reproduce the error at will. In any case, however, that But again, |
Same issue after terminating the previous ROSSmartServo instance. In remote windows 7, we get the following information about applications on SmartPAD
|
@SalvoVirga Is there any relationship with rosjava/rosjava_core#291 ? |
Hello, I am also encountered with similar issues after I updated iiwa_ros_java in Sunrise Workbench. I have followed the steps provided by @SalvoVirga in the above discussion. Also, I have followed the issue #190 and pinged robot and ROS master system to each other and it is successful. However, I am not able to remove the error. When I connect it for the first time I get the following error. When I connect for the second time and onwards. Is there any working solution? Thank you. |
I personally found that RosSmartServo is correctly closed if and only if i close it before stopping the ROS master |
I'm trying to run the ROSSmartServo program but it is unable to connect to the ROS master. I've attached a picture of the error message I receive. Any tips why this might be the case? The IP address is set correctly and I can ping the controller just fine.
The text was updated successfully, but these errors were encountered: