[0.16.51] [0.17.48] Users Cannot Connect to Headless Server

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
BartyRealms
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Jun 11, 2019 10:13 pm
Contact:

[0.16.51] [0.17.48] Users Cannot Connect to Headless Server

Post by BartyRealms »

The error is: "Could not establish a network connection with the server" I believe.

For some reason I am unable to get a Factorio server going. I have a dedicated server running debian and users are not able to connect. I am able to connect. The server has attempted to be ran on both the latest version (0.16.51) and the latest experimental version (0.17.48). I have the correct ports forwarded using UFW I did 'ufw allow 34197/udp' and 'ufw allow 34197'. This did not help. I tried turning off ufw. This did not help. I am still able to connect to the server but no one else is. I have gone through 3 fresh installs of the server, nothing. The only configuration I have done is creating a save and editing the server-settings.json file to have my username, a server name, a server description, tags, and my login token.

Server is in the public listing:
Image

Server startup log:
Image

I have exhausted all possibilities, I can only think that there is some issue with the server software or something is wrong with my configuration (I don't see how).

Here is my server-settings.json:
https://pastebin.com/raw/EX0eRHF5

Please help me!
BartyRealms
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Jun 11, 2019 10:13 pm
Contact:

Re: [0.16.51] [0.17.48] Users Cannot Connect to Headless Server

Post by BartyRealms »

Update:
My host is OVH, so I do not see what issue they would be causing, but this is either a Factorio issue or an OVH issue. I tried a fresh install of ubuntu and still only I am able to connect, no one else is able to.
Loewchen
Global Moderator
Global Moderator
Posts: 9269
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.16.51] [0.17.48] Users Cannot Connect to Headless Server

Post by Loewchen »

Post a complete client log after a session with the issue.
mmppolton
Long Handed Inserter
Long Handed Inserter
Posts: 58
Joined: Sun Apr 16, 2017 11:38 pm
Contact:

Re: [0.16.51] [0.17.48] Users Cannot Connect to Headless Server

Post by mmppolton »

hi i conect to his sever and got the same issue
8.903 Game is running on selected version branch on Steam.
13.522 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:0}))
24.112 Info UDPSocket.cpp:210: Closing socket
24.112 Info UDPSocket.cpp:240: Socket closed
24.112 Info UDPSocket.cpp:210: Closing socket
24.113 Joining game IP ADDR:({158.69.122.168:34197})
24.113 Info UDPSocket.cpp:33: Opening socket
24.114 Info ClientMultiplayerManager.cpp:579: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
34.128 Error ClientMultiplayerManager.cpp:101: MultiplayerManager failed: multiplayer.not-received-connection-accept-reply
34.128 Info ClientMultiplayerManager.cpp:579: UpdateTick(4294967295) changing state from(Connecting) to(InitializationFailed)
factorio-current.log
(4.91 KiB) Downloaded 102 times
and the full log
BartyRealms
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Jun 11, 2019 10:13 pm
Contact:

Re: [0.16.51] [0.17.48] Users Cannot Connect to Headless Server

Post by BartyRealms »

You can close this. We got it working. For future reference to any OVH users, OVH game dedicated servers have a firewall that blocks UDP traffic and you need to add an exception for port 34197 (or whatever UDP port you are using).

Hopefully this helps fix any issues future people run into, because this was a huge headache.
Post Reply

Return to “Technical Help”