Connection Issues [SOLVED]

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Connection Issues

Postby Fomortiis » 05 Jun 2019, 19:37

Hello, today I tried joining some games, but the game gets stuck at "connecting". I'm using version 0.10.6-beta of Downlord's client, on the client, it shows me joined as an observer, the ICE windows opens but the game itself doesn't go further than "connecting". When I create a game it goes past the connecting and shows the lobby (I haven't tried to wait for other peoples tho, I created a test game only). I added an exception for both FA and the client on my antivirus and firewall. I can watch replays just fine but not joining games.

I tried to look in the log files and it gives an error:

java.io.FileNotFoundException: http://content.faforever.com/bireus/faf//info.json
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[na:na]
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[na:na]
at java.base/java.net.URL.openStream(Unknown Source) ~[na:na]
at com.fasterxml.jackson.core.JsonFactory._optimizedStreamFromURL(JsonFactory.java:1595) ~[jackson-core-2.9.7.jar:2.9.7]
at com.fasterxml.jackson.core.JsonFactory.createParser(JsonFactory.java:793) ~[jackson-core-2.9.7.jar:2.9.7]
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2959) ~[jackson-databind-2.9.7.jar:2.9.7]
at com.faforever.client.patch.BireusFeaturedModUpdater.canUpdate(BireusFeaturedModUpdater.java:57) ~[downlords-faf-client-0.10.6-beta.jar:0.10.6-beta]
at com.faforever.client.patch.GameUpdaterImpl.updateFeaturedMod(GameUpdaterImpl.java:171) [downlords-faf-client-0.10.6-beta.jar:0.10.6-beta]
at com.faforever.client.patch.GameUpdaterImpl.update(GameUpdaterImpl.java:82) [downlords-faf-client-0.10.6-beta.jar:0.10.6-beta]
at com.faforever.client.game.GameService.updateGameIfNecessary(GameService.java:439) [downlords-faf-client-0.10.6-beta.jar:0.10.6-beta]
at com.faforever.client.game.GameService.lambda$joinGame$8(GameService.java:270) [downlords-faf-client-0.10.6-beta.jar:0.10.6-beta]
at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.CompletableFuture.thenCompose(Unknown Source) ~[na:na]
at com.faforever.client.game.GameService.joinGame(GameService.java:270) [downlords-faf-client-0.10.6-beta.jar:0.10.6-beta]
at com.faforever.client.game.JoinGameHelper.join(JoinGameHelper.java:83) ~[downlords-faf-client-0.10.6-beta.jar:0.10.6-beta]
at com.faforever.client.game.JoinGameHelper.join(JoinGameHelper.java:57) ~[downlords-faf-client-0.10.6-beta.jar:0.10.6-beta]
at com.faforever.client.game.GameDetailController.onJoinButtonClicked(GameDetailController.java:194) ~[downlords-faf-client-0.10.6-beta.jar:0.10.6-beta]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
at com.sun.javafx.reflect.Trampoline.invoke(Unknown Source) ~[javafx.base:na]
at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
at javafx.base/com.sun.javafx.reflect.MethodUtil.invoke(Unknown Source) ~[javafx.base:na]
at javafx.fxml/com.sun.javafx.fxml.MethodHelper.invoke(Unknown Source) ~[javafx.fxml:na]
at javafx.fxml/javafx.fxml.FXMLLoader$MethodHandler.invoke(Unknown Source) ~[javafx.fxml:na]
at javafx.fxml/javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source) ~[javafx.fxml:na]
at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/javafx.event.Event.fireEvent(Unknown Source) ~[javafx.base:na]
at javafx.graphics/javafx.scene.Node.fireEvent(Unknown Source) ~[javafx.graphics:na]
at javafx.controls/javafx.scene.control.Button.fire(Unknown Source) ~[javafx.controls:na]
at javafx.controls/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source) ~[javafx.controls:na]
at javafx.controls/com.sun.javafx.scene.control.inputmap.InputMap.handle(Unknown Source) ~[javafx.controls:na]
at javafx.base/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source) ~[javafx.base:na]
at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source) ~[javafx.base:na]
at javafx.base/javafx.event.Event.fireEvent(Unknown Source) ~[javafx.base:na]
at javafx.graphics/javafx.scene.Scene$MouseHandler.process(Unknown Source) ~[javafx.graphics:na]
at javafx.graphics/javafx.scene.Scene$MouseHandler.access$1300(Unknown Source) ~[javafx.graphics:na]
at javafx.graphics/javafx.scene.Scene.processMouseEvent(Unknown Source) ~[javafx.graphics:na]
at javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source) ~[javafx.graphics:na]
at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source) ~[javafx.graphics:na]
at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source) ~[javafx.graphics:na]
at java.base/java.security.AccessController.doPrivileged(Native Method) ~[na:na]
at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source) ~[javafx.graphics:na]
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source) ~[javafx.graphics:na]
at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source) ~[javafx.graphics:na]
at javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(Unknown Source) ~[javafx.graphics:na]
at javafx.graphics/com.sun.glass.ui.View.notifyMouse(Unknown Source) ~[javafx.graphics:na]
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) ~[javafx.graphics:na]
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source) ~[javafx.graphics:na]
at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]

Any help in troubleshooting this is appreciated.
Btw: I'm currently in my uni dorm, so I don't really know how what's going on the network side of things.
Fomortiis
Crusader
 
Posts: 15
Joined: 10 Aug 2018, 18:39
Has liked: 5 times
Been liked: 0 time
FAF User Name: Fomortiis

Re: Connection Issues  [SOLVED]

Postby Fomortiis » 05 Jun 2019, 20:11

Update: I tried using a hotspot instead of my dorm network and the game worked as intended. Is there anything I can do to run the game on my dorm network (I played some games in the past before ICE was a thing and I had no issues with them blocking traffic).

I'll try this weekend on another network to see if the problem is my machine or something else.

EDIT:
Update 2: managed to get it working using a VPN. Is this a viable option or should I expect too much lag/latency if I do this? Anyway, it seems the problem was on my end I'll mark as solved, tell me if I should delete this post.
Fomortiis
Crusader
 
Posts: 15
Joined: 10 Aug 2018, 18:39
Has liked: 5 times
Been liked: 0 time
FAF User Name: Fomortiis

Re: Connection Issues

Postby Geosearchef » 05 Jun 2019, 20:57

This issue is probably related to your machine setup and you network.
Use VPN, should solve it, try deleting some virtual network adapters, should solve it, don't use windows, will solve it.

I have spent a lot of time investigating this bug, happens on one of my win installs aswell, vpn removes the issues aswell. The socket that ICE is using is just getting closed by the Operating System or antivirus. I have no clue why though. To circumvent this the adapter should on the 3rd try force a relay connection (~20-30secs). We need an option for users to force relay connections manually.
Developer, Server Admin, ICE, currently working on Team Matchmaking, FAF Client
User avatar
Geosearchef
Contributor
 
Posts: 392
Joined: 18 Oct 2013, 14:08
Location: Germany
Has liked: 6 times
Been liked: 127 times
FAF User Name: Geosearchef

Re: Connection Issues

Postby Fomortiis » 05 Jun 2019, 21:37

I'll use a vpn or a hotspot for the time being. I'll try this weekend on another network.

In case it's useful to you: The error I posted still happens even when I'm using a vpn so it isn't the cause of the issue. If sharing the logs help you save time investigating this bug let me know. Anyway, thank you for your help.
Fomortiis
Crusader
 
Posts: 15
Joined: 10 Aug 2018, 18:39
Has liked: 5 times
Been liked: 0 time
FAF User Name: Fomortiis

Re: Connection Issues

Postby Geosearchef » 05 Jun 2019, 23:53

The error is completely irrelevant to your problem, yes. If you want to send me a log pls get the downlords-faf-client.log from a client version = 0.10.5. (see github repo)
Developer, Server Admin, ICE, currently working on Team Matchmaking, FAF Client
User avatar
Geosearchef
Contributor
 
Posts: 392
Joined: 18 Oct 2013, 14:08
Location: Germany
Has liked: 6 times
Been liked: 127 times
FAF User Name: Geosearchef


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest