-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Resolv::DNS.new.getresource makes it hang forever #3568
Comments
quite a 🐛 ... on Ubuntu 15.10 and all seems well. |
I'm experiencing something similar:
It hangs for a very long time before it raises the exception. OTOH, the system ruby on the same box works fine:
JDK version: java-1.7.0-openjdk-1.7.0.95-2.6.4.0.el7_2.x86_64. Resolv.conf only contains IPv6 servers. It might have nothing to do with this, though. |
I opened a separate issue (#3663) at the end. |
I'm running an Ubuntu Linux Server with the JRuby (tried all the versions above 9k). Right after the installation I couldn't install any gem. Debugging the rubygems code shown that this code hangs forever:
I tried different Ubuntu versions (12-15) and different JRE (7-8 + Oracle version) without any difference. On the same machine it works on MRI.
dig
command also resolves everything properly. So it doesn't look like a network issue. The problem must be in Java or JRuby but I ran out of ideas how to debug it further.I perfectly realize that it must be working for everyone else since googling didn't show anything up. But I don't think that hanging forever is a normal situation for any kind of misconfigured system (that I probably have) so it should be a bug also that only shows up in particular conditions.
The text was updated successfully, but these errors were encountered: