i recently installed a headless factorio server on a dedicated machine. The problem I'm experiencing is a constant lag. The message "Server is not responding" keeps popping up.
The logs say a lot of "Invalid packet (type RequestForHeartbeatWhenDisconnecting) received", which, from what I've read online, basically means bad connection => lagging.
This is why I'm surprised that it is happening:
The server's hardware is more than enough to keep it running smoothly. Same for network resources. I get something like 300mbps up and down. Network latency between my pc (acts like a client for the game) and the serves is always around 40ms. The client network is not as fast as the server's but is around 10mbps of download which i think is enough to not stutter like that.
I will upload the current.log file and a bunch of screenshots to help for the debugging.
Thank you for your help!
EDIT: forgot to mention that i'm playing on a MAC, and to attach the savegame on which we are playing (which i won't upload until asked, due to the size)
Also, my friends don't get any issue and play just fine. I'm working on getting their debug-screenshot of the game.