org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://hadoop1.example.com:34549/modules?size=10000":hadoop1.example.com; nested exception is java.net.UnknownHostException: hadoop1.example.com

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check if you don't have a VPN or something like this messing with your connection. Also, check Jenkins DNS configurations (try to start it with "--dns 8.8.8.8".

Solutions on the web

via Spring JIRA by Eric PErez, 1 year ago
I/O error on GET request for "http://hadoop1.example.com:34549/modules?size=10000":hadoop1.example.com; nested exception is java.net.UnknownHostException: hadoop1.example.com
via Spring JIRA by Eric PErez, 1 year ago
I/O error on GET request for "http://hadoop1.example.com:34549/modules?size=10000":hadoop1.example.com; nested exception is java.net.UnknownHostException: hadoop1.example.com
via Google Groups by Ludovic Deravet, 5 months ago
I/O error: Stream closed; nested exception is java.io.IOException: Stream closed
via wordpress.com by Unknown author, 1 year ago
I/O error: HTTPS hostname wrong:  should be <some url>; nested exception is java.io.IOException: HTTPS hostname wrong:  should be <some url>
via wordpress.com by Unknown author, 1 year ago
I/O error: HTTPS hostname wrong:  should be <some url>; nested exception is java.io.IOException: HTTPS hostname wrong:  should be <some url>
via wordpress.com by Unknown author, 1 year ago
I/O error: HTTPS hostname wrong:  should be <some url>; nested exception is java.io.IOException: HTTPS hostname wrong:  should be <some url>
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://hadoop1.example.com:34549/modules?size=10000":hadoop1.example.com; nested exception is java.net.UnknownHostException: hadoop1.example.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:996)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932)
at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:81)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 2 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.