"Server not responding" constantly for only local user

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.
psiphre
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Oct 07, 2017 6:55 pm
Contact:

"Server not responding" constantly for only local user

Post by psiphre »

I am having a weird issue with a server that i'm running for myself and a friend.

it's running on a separate computer from mine. i've got my router forwarding port 34197 to the computer that is running the factorio server.

my friend who is playing from a different city will connect, play, no lag, no interruptions, no problem.

when I connect from my computer on the same network segment, it always takes two tries to connect to the server. this is true whether i use the server's local ip address or my DNS address. the first attempt fails with the error "Couldn't establish network communication with server", the second attempt is successful.
i also experience the game pausing frequently to display a bar informing me "server is not responding". it goes away in a few seconds.
additionally, periodically while i'm playing my input will pause (if i am running, i will stop in place but my character will have a leg raised like he is about to take a step) for 2-3 seconds and then resume with no "server is not responding" message.

i've tested this with a second, notebook pc which is far less powerful than my desktop. when i connect to the server using this notebook from outside my network, i have no issues with "server not responding" even on a very small pipe (less than 1mbps).
when i connect to the server using this notebook from inside my network, i get the same "server not responding" and input halting issues.

i believe this rules out my desktop pc as the issue. and it shouldn't be the router that is an issue because my friend doesn't experience these problems.

so what could cause these issues between a computer and another computer on the same network segment?

i've attached a log of pings from my pc to the server as well as the factorio-current.log from my desktop pc. i started the ping, then connected to the server (requiring two attempts), then played until i got a "server not responding" window.
factorioping.txt
factorio log from
(10.16 KiB) Downloaded 111 times
i also have the factorio-current.log from my desktop PC.
factorio-current.log
a ping from my pc to the pc running the server on my local network
(26.84 KiB) Downloaded 100 times
Loewchen
Global Moderator
Global Moderator
Posts: 9165
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: "Server not responding" constantly for only local user

Post by Loewchen »

Post complementary logs of server and client after experiencing the issue please. If you start a pure LAN game on your server, do you experience the issue on the client as well? You could completely rule out the router if you had a different router or even just a switch to test it on.
psiphre
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Oct 07, 2017 6:55 pm
Contact:

Re: "Server not responding" constantly for only local user

Post by psiphre »

i've been playing this morning with my friend - here are two logs, one from the server, one from my pc.

i'm not completely sure what you mean by "start a pure LAN game on the server" and i don't know how i would go about running another instance with the current game running.

server log:
factorio-current-server.log
server log
(67.35 KiB) Downloaded 114 times
client log:
factorio-current.log
client log
(292.33 KiB) Downloaded 116 times
psiphre
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Oct 07, 2017 6:55 pm
Contact:

Re: "Server not responding" constantly for only local user

Post by psiphre »

I solved the issue. factorio traffic to other hosts on the local network was trying to go out a second interface that's used for SAN traffic. i spun up a different vm to host the factorio server and now all is well.
Post Reply

Return to “Technical Help”