You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
osc-ruby socket error after a certian amount of messages #11
I have a script which sends osc messages to a server repeatedly, if i run it on jruby or using ruby-osc instead it functions but when i run it with standard ruby and osc-ruby (2.0.0 and 1.9.2 tested) it will give the following error after a few minutes. the socket information is the same each time and works for a while.
`connect': getaddrinfo: nodename nor servname provided, or not known (SocketError)
I've attached the send method for reference.
Can anyone shed any light?
Thanks for letting me know about your issue. I'll look into this, but i just bought a house and will be busy with that for a few more weeks.
That error message would lead me to believe that there's an issue with DNS resolution. Can you run an experiment where you send messages to the same server, but reference it by IP instead of hostname?
Activity
aberant commentedon Apr 20, 2014
Thanks for letting me know about your issue. I'll look into this, but i just bought a house and will be busy with that for a few more weeks.
That error message would lead me to believe that there's an issue with DNS resolution. Can you run an experiment where you send messages to the same server, but reference it by IP instead of hostname?
please let me know what you discover
maximillion90 commentedon Apr 20, 2014
Yeah ill give it a go, so change the "localhost" to 127.0.0.1, i can also run it on an external connection if necessary.
I changed the the hostname from "localhost" to "127.0.0.1" and it lasted longer but still gave the same error eventually.