question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I/O exception (java.net.NoRouteToHostException) caught when processing request to {}->http://*IPAddress*:5555: No route to host

See original GitHub issue

I am having this issue with Selenium Grid, first time I set up a Grid

I start my Selenium hub on a Linux by this command: java -jar /opt/selenium-server/selenium-server-standalone-2.48.2.jar -role hub -port 4444 &

it is successful:

Nodes should register to http://10.0.50.34:4444/grid/register/ Selenium Grid hub is up and running

Then I register my node on a VM Windows to this hub by: java -Dwebdriver.ie.driver=C:\Selenium\IEDriverServer.exe -jar selenium-server-standalone-2.48.2.jar -role node -hub http://10.0.50.34:4444/grid/register/

The node says it’s registered to the hub and is ready to use

But then, at the hub, I got this exception:

Registered a node http://10.211.55.3:5555 I/O exception (java.net.NoRouteToHostException) caught when processing request to {}->http://10.211.55.3:5555: No route to host Retrying request to {}->http://10.211.55.3:5555 I/O exception (java.net.NoRouteToHostException) caught when processing request to {}->http://10.211.55.3:5555: No route to host Retrying request to {}->http://10.211.55.3:5555 I/O exception (java.net.NoRouteToHostException) caught when processing request to {}->http://10.211.55.3:5555: No route to host Retrying request to {}->http://10.211.55.3:5555 Marking the node http://10.211.55.3:5555 as down: cannot reach the node for 2 tries

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ddavisoncommented, Oct 22, 2015

are you using aws? if so, are your nodes behind a VPC?

if both answers are “yes”, then you need to double check the security groups, and make sure that they allow networking to AND from that port.

0reactions
bagripcommented, Jun 21, 2019

@louis57 @ddavison I am having this issue when I try to connect nodes from other linux host on GCP. What network changes we need to make it to work?

Read more comments on GitHub >

github_iconTop Results From Across the Web

I/O exception (java.net.NoRouteToHostException) caught ...
I/O exception (java.net.NoRouteToHostException) caught when processing request to {}->http://*IPAddress*:5555: No route to host #1187.
Read more >
I/O error: No route to host; nested exception is java.net ...
The exception means exactly what it says: your OS has no network route to the destination. It can translate the hostname to an...
Read more >
NoRouteToHostException (Java Platform SE 7 )
Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be...
Read more >
HTTP Request Fails with "java.net.NoRouteToHostException
In this article, we will discuss the cause of the error "No route to host" and steps to follow to resolve the issue....
Read more >
No route to host (Host unreachable)" is seen in multi-site Site ...
"java.net.NoRouteToHostException: No route to host (Host unreachable)" is seen in multi-site Site Recovery manager (SRM) Web-client UI (78676).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found