Page 1 of 1

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

Posted: Tue Jun 11, 2019 10:22 pm
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!

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

Posted: Wed Jun 12, 2019 1:15 am
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.

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

Posted: Wed Jun 12, 2019 1:26 am
by Loewchen
Post a complete client log after a session with the issue.

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

Posted: Wed Jun 12, 2019 2:13 am
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

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

Posted: Wed Jun 12, 2019 2:38 am
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.