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

    Unable to connect to players with ice error

    Scheduled Pinned Locked Moved FAF support (client and account issues)
    3 Posts 3 Posters 358 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.
    • K
      Kawaii-chan
      last edited by Kawaii-chan

      The error is
      20:18:12.724 [Thread-4] DEBUG c.f.i.i.Peer - Error while reading from local FA as peer (probably disconnecting from peer) Kampfkartoffel(131487)
      java.net.SocketException: socket closed
      at java.base/java.net.DualStackPlainDatagramSocketImpl.socketReceiveOrPeekData(Native Method)
      at java.base/java.net.DualStackPlainDatagramSocketImpl.receive0(DualStackPlainDatagramSocketImpl.java:130)
      at java.base/java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:181)
      at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:864)
      at com.faforever.iceadapter.ice.Peer.faListener(Peer.java:81)
      at java.base/java.lang.Thread.run(Thread.java:832)
      Which just keeps spamming

      I have my ports open(DMZ) and my firewall disabled.
      I tried reinstalling faf and deleting the faf folder but didn't help.
      It also causes the windows dns process to flare up to 100% + the client on my ryzen 2600.

      ice-adapter.txt advanced-ice-adapter.txt

      Also please allow uploading .log files

      1 Reply Last reply Reply Quote 0
      • tatsuT
        tatsu
        last edited by

        @Geosearchef

        How to setup FAF on linux

        1 Reply Last reply Reply Quote 0
        • GeosearchefG
          Geosearchef
          last edited by

          Forwarding ports is unnecessary.
          The error you posted is normal.

          The main issue is this:

          java.util.concurrent.CancellationException: null
          	at java.base/java.util.concurrent.CompletableFuture.cancel(CompletableFuture.java:2468)
          	at com.faforever.iceadapter.ice.PeerIceModule.lambda$gatherCandidates$4(PeerIceModule.java:118)
          	at com.faforever.iceadapter.util.Executor.lambda$executeDelayed$0(Executor.java:16)
          	at java.base/java.lang.Thread.run(Thread.java:832)
          Nov 30, 2020 8:17:08 PM com.nbarraille.jjsonrpc.JJsonPeer sendNotification
          INFO: Sending Notification:{"method":"onIceConnectionStateChanged","params":[82574,47273,"disconnected"],"jsonrpc":"2.0"}
          Nov 30, 2020 8:17:08 PM org.ice4j.util.Logger log
          INFO: ICE state changed from Waiting to Terminated. Local ufrag 357851eod9cggh
          Nov 30, 2020 8:17:08 PM org.ice4j.util.Logger log
          INFO: Failed to receive: java.net.SocketException: socket closed
          Nov 30, 2020 8:17:08 PM org.ice4j.util.Logger log
          INFO: Closing.
          Nov 30, 2020 8:17:08 PM org.ice4j.util.Logger log
          INFO: Failed to receive: java.net.SocketException: Socket closed
          Nov 30, 2020 8:17:08 PM org.ice4j.util.Logger log
          INFO: Failed to receive: java.net.SocketException: Socket closed
          Nov 30, 2020 8:17:08 PM org.ice4j.util.Logger log
          INFO: Failed to receive: java.net.SocketException: Socket closed
          Nov 30, 2020 8:17:08 PM org.ice4j.util.Logger log
          INFO: Failed to receive: java.net.SocketException: Socket closed
          Nov 30, 2020 8:17:08 PM org.ice4j.util.Logger log
          INFO: Failed to receive: java.net.SocketException: Socket closed
          Nov 30, 2020 8:17:08 PM org.ice4j.util.Logger log
          INFO: Failed to receive: java.net.SocketException: Socket closed
          

          This means your operating system or antivirus is closing the socket and not telling the adapter why.
          This only occurs on less than a few percent of devices. I spent a lot of time debugging that and sadly didn't find a solution, the issue lies somewhere within proprietary code of your operating system manufacturer.

          Try the options suggested in https://wiki.faforever.com/index.php?title=Connection_issues_and_solutions#Unable_to_connect_to_someone
          in the order they're listed in. Each is more likely to fix the issue, e.g. VPN worked on one of my machines when I had that issue.

          Having issues with connectivity / ICE? Talk to me.

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