FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    1. Home
    2. superstoned
    3. Posts
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Login issue: keeps giving connection refused to api.faforever.com

      It's fascinating, the errors - now I get this one, basically saying it can't reach the server:

      com.faforever.commons.lobby.LoginException: Could not reach server after 12 attempts
      	at com.faforever.commons.lobby.FafLobbyClient$createRetrySpec$2.apply(FafLobbyClient.kt:253)
      	at com.faforever.commons.lobby.FafLobbyClient$createRetrySpec$2.apply(FafLobbyClient.kt:252)
      	at reactor.util.retry.RetryBackoffSpec.lambda$generateCompanion$4(RetryBackoffSpec.java:557)
      	at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.drain(FluxConcatMap.java:376)
      	at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.onNext(FluxConcatMap.java:251)
      	at reactor.core.publisher.EmitterProcessor.drain(EmitterProcessor.java:537)
      	at reactor.core.publisher.EmitterProcessor.tryEmitNext(EmitterProcessor.java:343)
      	at reactor.core.publisher.SinkManySerialized.tryEmitNext(SinkManySerialized.java:100)
      	at reactor.core.publisher.InternalManySink.emitNext(InternalManySink.java:27)
      	at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onError(FluxRetryWhen.java:190)
      	at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onError(MonoIgnoreThen.java:278)
      	at reactor.core.publisher.FluxPeek$PeekSubscriber.onError(FluxPeek.java:222)
      	at reactor.core.publisher.MonoCreate$DefaultMonoSink.error(MonoCreate.java:201)
      	at reactor.netty.resources.NewConnectionProvider$DisposableConnect.onError(NewConnectionProvider.java:140)
      	at reactor.core.publisher.MonoFlatMap$FlatMapMain.secondError(MonoFlatMap.java:192)
      	at reactor.core.publisher.MonoFlatMap$FlatMapInner.onError(MonoFlatMap.java:259)
      	at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:106)
      	at reactor.core.publisher.Operators.error(Operators.java:198)
      	at reactor.core.publisher.MonoError.subscribe(MonoError.java:53)
      	at reactor.core.publisher.Mono.subscribe(Mono.java:4397)
      	at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:103)
      	at reactor.netty.transport.TransportConnector$MonoChannelPromise.tryFailure(TransportConnector.java:534)
      	at reactor.netty.transport.TransportConnector$MonoChannelPromise.setFailure(TransportConnector.java:488)
      	at reactor.netty.transport.TransportConnector.lambda$doConnect$7(TransportConnector.java:223)
      	at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578)
      	at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:571)
      	at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:550)
      	at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:491)
      	at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:616)
      	at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:609)
      	at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:117)
      	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.fulfillConnectPromise(AbstractEpollChannel.java:674)
      	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.finishConnect(AbstractEpollChannel.java:693)
      	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.epollOutReady(AbstractEpollChannel.java:567)
      	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:477)
      	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385)
      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      	at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: lobby.faforever.com/0.0.0.0:8002
      Caused by: java.net.ConnectException: finishConnect(..) failed: Connection refused
      	at io.netty.channel.unix.Errors.newConnectException0(Errors.java:155)
      	at io.netty.channel.unix.Errors.handleConnectErrno(Errors.java:128)
      	at io.netty.channel.unix.Socket.finishConnect(Socket.java:321)
      	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.doFinishConnect(AbstractEpollChannel.java:710)
      	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.finishConnect(AbstractEpollChannel.java:687)
      	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.epollOutReady(AbstractEpollChannel.java:567)
      	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:477)
      	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385)
      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      	at java.base/java.lang.Thread.run(Thread.java:833)
      

      just a few tries later - it simply logs me in.. it is just unreliable.

      posted in FAF support (client and account issues)
      S
      superstoned
    • RE: I see several ppl posting about this error. Is anyone officially addressing the root cause?

      Hi,
      My issue (which usually gives a 'connection refused') is certainly reproducable - just not 100% of the time. Right now, the client is refusing to connect, but I bet if I try in 10 minutes, it'll work. Sometimes it fails right away, sometimes it's stuck for a minute or 2 logging in.

      I ran a traceroute on api.faforever.com:

      traceroute api.faforever.com
      traceroute to api.faforever.com (116.202.155.226), 30 hops max, 60 byte packets
       1  OpenWrt.lan (192.168.1.1)  0.385 ms  0.369 ms  0.446 ms
       2  192.168.2.1 (192.168.2.1)  1.328 ms  1.458 ms  1.520 ms
       3  p3e9bf094.dip0.t-ipconnect.de (62.155.240.148)  5.900 ms  5.882 ms  5.996 ms
       4  n-ea9-i.N.DE.NET.DTAG.DE (217.5.75.90)  25.070 ms  25.247 ms  25.039 ms
       5  62.157.248.138 (62.157.248.138)  17.401 ms  17.385 ms  17.509 ms
       6  core23.fsn1.hetzner.com (213.239.252.246)  30.588 ms  28.461 ms core24.fsn1.hetzner.com (213.239.252.250)  18.777 ms
       7  ex9k1.dc1.fsn1.hetzner.com (213.239.245.234)  18.582 ms ex9k1.dc1.fsn1.hetzner.com (213.239.245.230)  19.002 ms ex9k1.dc1.fsn1.hetzner.com (213.239.245.234)  19.988 ms
       8  * * *
       9  * * *
      10  * * *
      11  * * *
      12  * * *
      13  * * *
      14  * * *
      15  * * *
      16  * * *
      17  * * *
      18  * * *
      19  * * *
      20  * * *
      21  * * *
      22  * * *
      23  * * *
      24  * * *
      25  * * *
      26  * * *
      27  * * *
      28  * * *
      29  * * *
      30  * * *
      

      Seems somehow along the way, I do get blocked, and it's not my computer or network doing the blocking. Yet https://downforeveryoneorjustme.com/api.faforever.com says the server is up, so it's my ip that gets blocked perhaps?

      Just now, the client logged in, but then is stuck in a weird limbo way:

      Screenshot_20220915_081756.png

      As I otherwise have no network issues, it does seem there's something in the faf client or server. I now have a hanging client, so there's that. After killing it - it logs in without issues. Traceroute still gives the same outcome.

      It all seems magic to me 😉

      If there's anything I can run locally to help track down the issue, just let me know.

      posted in FAF support (client and account issues)
      S
      superstoned
    • RE: Login issue: keeps giving connection refused to api.faforever.com

      @brutus5000 said in Login issue: keeps giving connection refused to api.faforever.com:

      Connection refused is a general problem on your computer. Maybe some antivirus or firewall software blocking the access or maybe you didn't allow the client to use the network.

      Strange, as it works sometimes, just not all the time. I have no anti-virus running, but I'll look at the firewall side of things. Still that would not explain that it sometimes, but not always, fails.

      Anyhow, I assume from your reply that the FAF servers aren't blocking me.

      posted in FAF support (client and account issues)
      S
      superstoned
    • Login issue: keeps giving connection refused to api.faforever.com

      Hi crew,

      Every now and then the client refuses to let me log in - it gives the connection refused error below, and gives me the log in with browser window. There I can log in, authorize, get a nice "login successful" but in the client I get back to the same error. Sometimes, after 2-3 times of trying, it goes through, other times after 10x trying it still doesn't let me in and I give up and play something else...

      This started last week or the week before - didn't have it before that. Any clue what causes this? Server too busy? Something getting blocked somewhere?

      I run the latest client as of now 2022.8.0 and after typing all this it just finally logged me in (...) but I still post it as I'm sure it'll happen again 😉

      org.springframework.web.reactive.function.client.WebClientRequestException: finishConnect(..) failed: Connection refused: api.faforever.com/0.0.0.0:443; nested exception is io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: api.faforever.com/0.0.0.0:443
      	at org.springframework.web.reactive.function.client.ExchangeFunctions$DefaultExchangeFunction.lambda$wrapException$9(ExchangeFunctions.java:141)
      	Suppressed: The stacktrace has been enhanced by Reactor, refer to additional information below: 
      Error has been observed at the following site(s):
      	*__checkpoint ⇢ Request to GET https://api.faforever.com/me [DefaultWebClient]
      Original Stack Trace:
      		at org.springframework.web.reactive.function.client.ExchangeFunctions$DefaultExchangeFunction.lambda$wrapException$9(ExchangeFunctions.java:141)
      		at reactor.core.publisher.MonoErrorSupplied.subscribe(MonoErrorSupplied.java:55)
      		at reactor.core.publisher.Mono.subscribe(Mono.java:4397)
      		at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:103)
      		at reactor.core.publisher.FluxPeek$PeekSubscriber.onError(FluxPeek.java:222)
      		at reactor.core.publisher.FluxPeek$PeekSubscriber.onError(FluxPeek.java:222)
      		at reactor.core.publisher.FluxPeek$PeekSubscriber.onError(FluxPeek.java:222)
      		at reactor.core.publisher.MonoNext$NextSubscriber.onError(MonoNext.java:93)
      		at reactor.core.publisher.MonoFlatMapMany$FlatMapManyMain.onError(MonoFlatMapMany.java:204)
      		at reactor.core.publisher.SerializedSubscriber.onError(SerializedSubscriber.java:124)
      		at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.whenError(FluxRetryWhen.java:225)
      		at reactor.core.publisher.FluxRetryWhen$RetryWhenOtherSubscriber.onError(FluxRetryWhen.java:274)
      		at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.drain(FluxConcatMap.java:415)
      		at reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.onNext(FluxConcatMap.java:251)
      		at reactor.core.publisher.EmitterProcessor.drain(EmitterProcessor.java:537)
      		at reactor.core.publisher.EmitterProcessor.tryEmitNext(EmitterProcessor.java:343)
      		at reactor.core.publisher.SinkManySerialized.tryEmitNext(SinkManySerialized.java:100)
      		at reactor.core.publisher.InternalManySink.emitNext(InternalManySink.java:27)
      		at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onError(FluxRetryWhen.java:190)
      		at reactor.core.publisher.MonoCreate$DefaultMonoSink.error(MonoCreate.java:201)
      		at reactor.netty.http.client.HttpClientConnect$MonoHttpConnect$ClientTransportSubscriber.onError(HttpClientConnect.java:308)
      		at reactor.core.publisher.MonoCreate$DefaultMonoSink.error(MonoCreate.java:201)
      		at reactor.netty.resources.NewConnectionProvider$DisposableConnect.onError(NewConnectionProvider.java:140)
      		at reactor.core.publisher.MonoFlatMap$FlatMapMain.secondError(MonoFlatMap.java:192)
      		at reactor.core.publisher.MonoFlatMap$FlatMapInner.onError(MonoFlatMap.java:259)
      		at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:106)
      		at reactor.core.publisher.Operators.error(Operators.java:198)
      		at reactor.core.publisher.MonoError.subscribe(MonoError.java:53)
      		at reactor.core.publisher.Mono.subscribe(Mono.java:4397)
      		at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:103)
      		at reactor.netty.transport.TransportConnector$MonoChannelPromise.tryFailure(TransportConnector.java:534)
      		at reactor.netty.transport.TransportConnector$MonoChannelPromise.setFailure(TransportConnector.java:488)
      		at reactor.netty.transport.TransportConnector.lambda$doConnect$7(TransportConnector.java:223)
      		at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578)
      		at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:571)
      		at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:550)
      		at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:491)
      		at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:616)
      		at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:609)
      		at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:117)
      		at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.fulfillConnectPromise(AbstractEpollChannel.java:674)
      		at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.finishConnect(AbstractEpollChannel.java:693)
      		at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.epollOutReady(AbstractEpollChannel.java:567)
      		at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:477)
      		at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385)
      		at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
      		at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      		at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      		at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: api.faforever.com/0.0.0.0:443
      Caused by: java.net.ConnectException: finishConnect(..) failed: Connection refused
      	at io.netty.channel.unix.Errors.newConnectException0(Errors.java:155)
      	at io.netty.channel.unix.Errors.handleConnectErrno(Errors.java:128)
      	at io.netty.channel.unix.Socket.finishConnect(Socket.java:321)
      	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.doFinishConnect(AbstractEpollChannel.java:710)
      	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.finishConnect(AbstractEpollChannel.java:687)
      	at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.epollOutReady(AbstractEpollChannel.java:567)
      	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:477)
      	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385)
      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      	at java.base/java.lang.Thread.run(Thread.java:833)
      
      
      posted in FAF support (client and account issues)
      S
      superstoned