Floodgate icon indicating copy to clipboard operation
Floodgate copied to clipboard

UnknownHostException leads to players timing out

Open mikaschulz01 opened this issue 1 month ago • 0 comments

Overview

Hi guys, I got an UnknownHostException on api.geyermc.org today.

Lobby-Server Log

[11:29:50] [WebSocketConnectReadThread-11496/ERROR]: [floodgate] Got an error
java.net.UnknownHostException: api.geysermc.org
	at java.net.InetAddress$CachedAddresses.get(InetAddress.java:948) ~[?:?]
	at java.net.InetAddress.getAllByName0(InetAddress.java:1638) ~[?:?]
	at java.net.InetAddress.getAllByName(InetAddress.java:1504) ~[?:?]
	at java.net.InetAddress.getByName(InetAddress.java:1393) ~[?:?]
	at org.java_websocket.client.WebSocketClient$1.resolve(WebSocketClient.java:224) ~[floodgate-spigot.jar:?]
	at org.java_websocket.client.WebSocketClient.run(WebSocketClient.java:472) ~[floodgate-spigot.jar:?]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]

Geyer-Standalone Log

[11:29:25.383 WebSocketConnectReadThread-1405/ERROR] Unable to resolve the skin api! This can be caused by your connection or the skin api being unreachable. api.geysermc.org: Temporary failure in name resolution

Consequences

Apparently there was a DNS timeout here. As a result, all players were kicked off the server.

Plot-Server Log

[11:28:51] [Server thread/INFO]: xxxxxxxxx lost connection: Timed out
[11:28:51] [Server thread/INFO]: xxxxxxxxx lost connection: Disconnected
[11:28:52] [Server thread/INFO]: xxxxxxxxx lost connection: Timed out
[11:28:52] [Server thread/INFO]: xxxxxxxxx lost connection: Timed out
[11:28:55] [Server thread/INFO]: xxxxxxxxx lost connection: Disconnected
[11:28:56] [Server thread/WARN]: xxxxxxxxx was kicked due to keepalive timeout!
[11:28:56] [Server thread/INFO]: xxxxxxxxx lost connection: Timed out
[11:28:56] [Server thread/INFO]: xxxxxxxxx lost connection: Timed out
[11:28:57] [Server thread/INFO]: xxxxxxxxx lost connection: Timed out
[11:28:57] [Server thread/WARN]: xxxxxxxxx was kicked due to keepalive timeout!
[11:28:57] [Server thread/INFO]: xxxxxxxxx lost connection: Timed out
[11:28:59] [Server thread/INFO]: xxxxxxxxx lost connection: Timed out

It seems to me that something is blocking, unless the resolution of the dns names was sucessful. is this a desired behavior?

Btw.: Times are in CEST

mikaschulz01 avatar Jun 02 '24 16:06 mikaschulz01