FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    FAF Client sometimes show error and stop connecting to custom/coop game

    Scheduled Pinned Locked Moved FAF support (client and account issues)
    17 Posts 6 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • maudlin27M Online
      maudlin27 @magge
      last edited by maudlin27

      @magge The OP sounds like it's an issue joining games in the first place, whereas those errors would be things that occur during an actual game (that has started). I've not heard of M27 causing any issues with joining games so think it's unlikely, although one thing to try to make sure @zorg-kirill would be to disable all sim and ui mods and see if you still get the crash (and if not then enable them one by one).

      In terms of the error/warning messages highlighted unfortunately M27 will generate a lot of warnings and errors in the logs. For example the one about no valid units is something that happens regularly that I've not got around to properly investigating (I'm fairly confident it's a false error the vast majority of the time, but figuring out how it arises and how to not have it show the message when it's not an issue without slowing things down is harder). They're also things that would affect how M27 plays in the game (rather than something that would cause a crash).

      If the game is crashing (i.e. during the game) with M27 enabled though I can look into further as that's something I've seen happen before

      M27AI and M28AI developer; Devlogs and more general AI development guide:
      https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v71-devlog
      https://forum.faforever.com/topic/5331/m28ai-devlog-v150

      1 Reply Last reply Reply Quote 1
      • Z Offline
        zorg-kirill @magge
        last edited by

        @magge the problem is not with M27 AI. It's only with joining to any game with any mods or without any mods. It's just a coincidence that the last game was with AI mod

        1 Reply Last reply Reply Quote 0
        • Z Offline
          zorg-kirill
          last edited by zorg-kirill

          To make it more clean and easy, I deleted all logs, launched SCFAF and managed to get an error from the first attempt. Here are screenshots/fresh logs:

          scfaf error with logs cleaned.png

          client.log

          ice-adapter.log

          So, the error code is the same, but now it don't point at "game log" or any log. So there is another bug with wrong error alerts. And in my opinion, the main error might be somewhere in ICE adapter.

          Z 1 Reply Last reply Reply Quote 0
          • maggeM Offline
            magge Global Moderator
            last edited by

            Thanks, for the clean logs, the m27ai was really misleading and produced a lot of noise. Also thank you maudlin27 for the detail explaining.

            To go for the low-hanging fruit here - Try with a VPN from a different country first. Many RU people have connection issues, because many of their providers are interfering with the connections.

            Join a FAFtastic Team

            Z 1 Reply Last reply Reply Quote 0
            • Z Offline
              zorg-kirill @magge
              last edited by

              @magge I'll try later, after work.

              It would be also good to make so that error alert would be more easy to understand. And maybe add game lobby reconnect feature, so that it will automatically try 3-5 times to connect to game lobby in case of small errors. It works by hands, when I connect to the same server a couple more times, but it will be quicker and more pleasurable just watching it.

              1 Reply Last reply Reply Quote 0
              • Z Offline
                zorg-kirill
                last edited by

                Didn't find good vpn yet, but found another interesting thing: this bug also occurs when trying to host new game. So, i doubt it's vpn problem.

                1 Reply Last reply Reply Quote 0
                • Z Offline
                  zorg-kirill
                  last edited by

                  Still the problem is present. Maybe get latest build from github and debug it myself? Tired of this silly error...

                  1 Reply Last reply Reply Quote 0
                  • MazorNoobM Offline
                    MazorNoob
                    last edited by

                    Google sez WSAEINTR can be caused by a firewall. To see if that's a network issue and not something with the game, try running the FA exe directly and launching a lobby from there.

                    Z 1 Reply Last reply Reply Quote 0
                    • Z Offline
                      zorg-kirill @MazorNoob
                      last edited by zorg-kirill

                      @mazornoob I have firewall off. And FA don't launch directly. And I even can't host new campaign games

                      1 Reply Last reply Reply Quote 0
                      • Z Offline
                        zorg-kirill
                        last edited by

                        Could it be the reason?

                        2023-06-28 22:46:20.367 INFO Ice Servers set, total addresses: 18 (c.f.iceadapter.ice.GameSession:170)
                        2023-06-28 22:46:20.367 INFO Sending Response:{"result":null,"id":1,"jsonrpc":"2.0"} (com.nbarraille.jjsonrpc.JJsonPeer:574)
                        2023-06-28 22:46:20.482 WARN Failed to ping coturn1.faforever.com (c.f.iceadapter.util.PingWrapper:52)
                        2023-06-28 22:46:20.517 WARN Failed to ping coturn2.faforever.com (c.f.iceadapter.util.PingWrapper:52)
                        2023-06-28 22:46:20.560 WARN Failed to ping coturn3.faforever.com (c.f.iceadapter.util.PingWrapper:52)
                        2023-06-28 22:46:20.600 WARN Failed to ping coturn5.faforever.com (c.f.iceadapter.util.PingWrapper:52)
                        2023-06-28 22:46:20.654 WARN Failed to ping anz1.coturn.faforever.com (c.f.iceadapter.util.PingWrapper:52)
                        2023-06-28 22:46:20.751 WARN Failed to ping coturn4.faforever.com (c.f.iceadapter.util.PingWrapper:52)
                        2023-06-28 22:46:22.187 WARN Close requested, stopping... (c.f.iceadapter.rpc.RPCHandler:139)
                        2023-06-28 22:46:22.187 INFO close() - stopping the adapter (com.faforever.iceadapter.IceAdapter:158)
                        2023-06-28 22:46:22.189 INFO GPGNetServer stopped (c.f.iceadapter.gpgnet.GPGNetServer:253)

                        1 Reply Last reply Reply Quote 0
                        • JipJ Offline
                          Jip
                          last edited by

                          Is that during a game?

                          A work of art is never finished, merely abandoned

                          1 Reply Last reply Reply Quote 0
                          • Z Offline
                            zorg-kirill @zorg-kirill
                            last edited by

                            @zorg-kirill said in FAF Client sometimes show error and stop connecting to custom/coop game:

                            To make it more clean and easy, I deleted all logs, launched SCFAF and managed to get an error from the first attempt. Here are screenshots/fresh logs:

                            scfaf error with logs cleaned.png

                            client.log

                            ice-adapter.log

                            So, the error code is the same, but now it don't point at "game log" or any log. So there is another bug with wrong error alerts. And in my opinion, the main error might be somewhere in ICE adapter.

                            it's in lobby, like in this screenshot

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              Sheikah
                              last edited by

                              Looks like something is blocking your connection to any coturn server

                              Z 1 Reply Last reply Reply Quote 0
                              • Z Offline
                                zorg-kirill @Sheikah
                                last edited by

                                @sheikah btw, if I ping these servers in CMD, everything works fine, no packets lost

                                1 Reply Last reply Reply Quote 0
                                • Z Offline
                                  zorg-kirill
                                  last edited by

                                  So, I turned on IPV6 in FAF settings, choose COTURN server Finland (no server was chosen before), turned on experimental debugger. And it started connecting 80-90% times (it's ok for me, because it was around 0% for the last week and much earlier). Maybe this information will help somebody.

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post