"Connecting..." stuck forever [SOLVED]

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

Moderator: PhilipJFry

"Connecting..." stuck forever

Postby VanGobot » 02 Oct 2019, 19:43

I can create games int the lobby but nobody can connect to me. The same with other hosts. I can't connect to them. ICE adapter lists all peers but says they all are "disconnected" (sometimes changing to something like "gathering" for a 1/10 second).

Does anyone know what is the problem? Thanks

Some errors in ICE Adapter log like following (maybe this can tell something):

They are in attachment. Forum does not let me post them in text.
ice-adapter.log
Errors in ICE Adapter
(2.53 MiB) Downloaded 17 times

Just in case faf client log
downlords-faf-client.log
Just in case
(1.42 MiB) Downloaded 14 times
VanGobot
 
Posts: 3
Joined: 02 Oct 2019, 19:26
Has liked: 0 time
Been liked: 0 time
FAF User Name: VanGobot

Re: "Connecting..." stuck forever

Postby Geosearchef » 02 Oct 2019, 21:48

Code: Select all
java.util.concurrent.CompletionException: java.lang.RuntimeException: java.io.IOException: Failed to bind even a single host candidate for component:Component id=1 parent stream=faData
no local candidates.
no remote candidates. preferredPort=6404 minPort=6112 maxPort=7112 foundAtLeastOneUsableInterface=false foundAtLeastOneUsableAddress=false


According to your log, this get's thrown:
https://github.com/jitsi/ice4j/blob/ce4 ... .java#L436

That means it's not finding a single network interface while harvesting/gathering that is not loopback, that is up and that is allowed to be used that it can bind a socket to. (line 331-432: https://github.com/jitsi/ice4j/blob/ce4 ... .java#L331, you could try running that code in a debugger on your machine to find out why it doesn't work)

Don't ask me how to fix that though, nothing I can do about that / no way to investigate that for me. It's a problem with your network configuration (on your machine). Could be an issue with network adapters, your antivirus or your operating system.
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: "Connecting..." stuck forever

Postby VanGobot » 02 Oct 2019, 22:50

Hmm... Interesting. Thanks for investigating. I'll try to do something with this. I will tell what was the problem if I get any success.
VanGobot
 
Posts: 3
Joined: 02 Oct 2019, 19:26
Has liked: 0 time
Been liked: 0 time
FAF User Name: VanGobot

Re: "Connecting..." stuck forever  [SOLVED]

Postby VanGobot » 03 Oct 2019, 12:52

Problem solved.

Explanation:
I changed my motherboard. When Windows initially started it failed to install proper driver for network adapter, so it created something like WIndows Loopback Adapter (obviously it couldn't connect to internet). When I've installed proper driver everything started working, but that Loopback Adapter remained active (I didn't even know about it). I've just deleted it from device manager and ICE adapter started connecting successfully.
Probably that Loopback Adapter was the first in some sort of adapter list and ICE adapter uses the first one from that list or something like that.
VanGobot
 
Posts: 3
Joined: 02 Oct 2019, 19:26
Has liked: 0 time
Been liked: 0 time
FAF User Name: VanGobot


Return to Tech Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest