Replay server connection reset issue

0

Hi all,

since the 2021.12.0 client update I am experiencing multiple ladder game crashed due to a "replay server connection problem":

2022-01-04 14:02:17.303 INFO 13376 --- [Thread-108] c.f.client.fa.relay.ice.IceAdapterImpl : Starting ICE adapter with command: [f:\forged alliance forever\jre\bin\java.exe, -jar, F:\Forged Alliance Forever\natives\faf-ice-adapter.jar, --id, 84936, --login, cpehonk, --rpc-port, 39906, --gpgnet-port, 22591]
2022-01-04 14:02:18.348 INFO 13376 --- [Thread-108] c.f.client.fa.ForgedAllianceService : Starting Forged Alliance with command: [C:\ProgramData\FAForever\bin\ForgedAlliance.exe, /init, init.lua, /nobugreport, /uef, /log, C:\ProgramData\FAForever\logs\game_16053125.log, /gpgnet, 127.0.0.1:22591, /mean, 650.307, /deviation, 66.7218, /savereplay, gpgnet://127.0.0.1:64701/16053125/cpehonk.SCFAreplay, /country, DE, /numgames, 5778, /team, 3, /players, 2, /startspot, 2, /numgames, 5264] in directory: C:\ProgramData\FAForever\bin
2022-01-04 14:02:48.608 WARN 13376 --- [Thread-107] c.f.client.replay.ReplayServerImpl : Error while recording replay

java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:981)
at java.base/java.io.InputStream.read(InputStream.java:218)
at com.faforever.client.replay.ReplayServerImpl.recordAndRelay(ReplayServerImpl.java:145)
at com.faforever.client.replay.ReplayServerImpl.lambda$start$1(ReplayServerImpl.java:98)
at java.base/java.lang.Thread.run(Thread.java:832)

2022-01-04 14:02:48.609 WARN 13376 --- [Thread-107] c.f.client.replay.ReplayServerImpl : Error in replay server

java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:981)
at java.base/java.io.InputStream.read(InputStream.java:218)
at com.faforever.client.replay.ReplayServerImpl.recordAndRelay(ReplayServerImpl.java:145)
at com.faforever.client.replay.ReplayServerImpl.lambda$start$1(ReplayServerImpl.java:98)
at java.base/java.lang.Thread.run(Thread.java:832)

any hints?

greetings
Chris

0

The failure to connect to the replay server should not be crashing games. Do you mean you just get a notification that the replay server couldn't be started or does the game actually exit?

0

That's interesting. I'm the replay server maintainer, I'll ask for replay server logs and see if anything comes up. Might just be firewall blocking the connection or something.

0

Unfortunately, it shutdowns the running instance of supcom. Firewall is not the problem, because it works from time to time. Especially, if I restart the client. The first match is fine ...
Can I upload the log file here? Or just put it into a posting?

Greetings & thx
Chris

0

Now that I think of it, this might actually be unrelated to the replay server, as in the server we run to save and record replays. I think that the client uses the name "replay server" to refer to the code that saves a replay locally. Pretty confusing. In that case the problem is not with the replay server, but with FA process crashing.

0

So if "replay server error" is the wrong information on the breakdown, well, how to isolate the problem source? A firewall problem should persist all the time, not only sometimes. I experienced this error behaviour right after the update to the client version 2021.12.0. Before, everything looked fine. Any clues ?

0

If it is a client thing would have to see the client.log file to verify

0

Just one addition: client 2021.11.0 does not have this problem. I re-installed the previous client version and the connection problem is gone.