RoboCup-SPL/GameController

Error while setting up GameController on port: 3939

Closed this issue · 5 comments

ploth commented

Could not load the GameController.jar until I inserted 127.0.0.1 exec in my /etc/hosts file.
Otherwise this line fails.
Probably it's because the username and hostname aren't different?

image

It is expected that you are connected to a network when using the GameController. Otherwise, you would not be able to reach any robots.

ploth commented

Yes, of course I was connected to a network. That was the first thing I checked.

Well,

InetAddress.getLocalHost().getAddress()

is a standard call from the Java runtime library. The documentation lists some reasons why this might fail.

ploth commented

Might be a network misconfiguration on my side since it throws UnknownHostException - if the local host name could not be resolved into an address.
Just wanted to mention it in case you want improve the error message.

There should not have been an error message at all, because this error should have been ignored. It is fixed now, at least here in the repository.