FAForever / java-ice-adapter

A P2P connection proxy for Supreme Commander: Forged Alliance using ICE
MIT License
5 stars 12 forks source link

Disconnects after launching #57

Open adlordy opened 2 months ago

adlordy commented 2 months ago

After launching the game the ICE adapter disconnects after 5-10 sec.

I have installed FAF on Steam Deck using https://github.com/FAForever/faf-linux.

Today was first time I was trying in out. First game went flawless and I was able to enjoy the game without any issues. Hoverwer all subsequent tries resulted in following behaviour: connecting to all peers during matchmaking goes without any issues, game starts, 5-10 secs into the game the popup appears that connection to the player was lost and it is trying to reconnect. But it never does.

After tried 2 more times with the same result. Then I restarted and was able to play one more game. Afterwards the disconnects started happening again.

Logs below:

ice-adapter.2024-07-13.log ice-adapter.log

Would be great if someone could suggest the probable cause and possible workaround for the issue.

Geosearchef commented 2 months ago
WARN Didn't receive any answer to echo requests for the past 10 seconds from - - - - - - - - , aborting 

Additionally, there are a ton of telemetry websocket reconnects in the log. After that incident, ICE reconnects with Relay <-> Relay, but the game is never able to send data.

How certain are you about the stability of your connection?

adlordy commented 2 months ago

I did not experience any other issues with connectivity except this one. Especially I am on the voice channel in discord at the same time and don't experience any service degradation.

It is consistently on 5-10 sec in the game. I suspect that it might be caused by thread or CPU starvation. Java is very resource intensive.

Any way to see telemetry on this one?