[12.29] [Pending] Headless Server Hangs

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
Zaflis
Filter Inserter
Filter Inserter
Posts: 414
Joined: Sun Apr 24, 2016 12:51 am
Contact:

[12.29] [Pending] Headless Server Hangs

Post by Zaflis »

I had dedicated server (on Windows 10) hang too today. Appeared so that i left the server for some time, and when i was trying to connect to it i couldn't. I hit Ctrl+C in the console window and to my surprise it didn't kill the server, propably just interrupted some task it was doing? I tried joining again and this time it worked.

It's difficult to read the log server makes, but i think it's within that part:

Code: Select all

...
  45.779 Info MultiplayerManager.cpp:1763: performing map align task (RemovePlayerAlignTask)
  45.783 Info MultiplayerManager.cpp:1787: networkTick(2521) mapTick(13208768) finishing removing peer(1) hasPeer(true)
  45.788 Info NetworkInputHandler.cpp:527: expectedMapTick(13208768) removing peer(1) success(true).
  45.797 Info Synchronizer.cpp:516: networkTick(2521) removing peer(1) success(true).
  45.800 Info MultiplayerManager.cpp:912: networkTick(2521) mapTick(13208768) changing state from(InGameWaitingForOthers) to(InGame)
  45.805 Info MultiplayerManager.cpp:1585: networkTick(2521) mapTick(13208768) peerID(0) fullStateLog: local state(InGame) local peers(((peerID(0) state(InGameWaitingForOthers) mapAlignTick(-1))
)
  45.867 Info MultiplayerManager.cpp:1059: networkTick(2527) mapTick(13208774) received stateChanged peerID(0) oldState(InGameWaitingForOthers) newState(InGame)
3109.360 Connection request from 127.0.0.1:34198
3158.885 Info Router.cpp:599: NetworkTick(186344) replying to connectionRequest for address(127.0.0.1:34198).
3158.891 Connection request from 127.0.0.1:34198
3158.892 Refusing connection for address(127.0.0.1:34198). Another connection from this peer is in progress.
3158.896 Connection request from 127.0.0.1:34198
3158.899 Refusing connection for address(127.0.0.1:34198). Another connection from this peer is in progress.
3158.906 Connection request from 127.0.0.1:34198
3158.908 Refusing connection for address(127.0.0.1:34198). Another connection from this peer is in progress.
3158.916 Connection request from 127.0.0.1:34198
3158.918 Refusing connection for address(127.0.0.1:34198). Another connection from this peer is in progress.
3158.922 Connection request from 127.0.0.1:34198
3158.924 Refusing connection for address(127.0.0.1:34198). Another connection from this peer is in progress.
3158.932 Info Router.cpp:751: networkTick(186350) adding peer(2) address(127.0.0.1:34198) sending connectionAccept(true)
3158.936 Info Router.cpp:622: networkTick(186350) sending connectionAccept to address(127.0.0.1:34198) connectionRequestID(59872) newPeerID(2)
3158.942 Info Synchronizer.cpp:500: networkTick(186350) adding peer(2) success(true).
3158.952 Info Synchronizer.cpp:444: NetworkTick(186351) peer(2) drop detection state(100/600).
3158.959 Info Synchronizer.cpp:444: NetworkTick(186351) peer(2) drop detection state(200/600).
3158.965 Info Synchronizer.cpp:444: NetworkTick(186351) peer(2) drop detection state(300/600).
3158.970 Info Synchronizer.cpp:444: NetworkTick(186351) peer(2) drop detection state(400/600).
3158.975 Info Synchronizer.cpp:444: NetworkTick(186351) peer(2) drop detection state(500/600).
3158.986 Info Synchronizer.cpp:444: NetworkTick(186351) peer(2) drop detection state(600/600).
3158.990 Info Synchronizer.cpp:590: NetworkTick(186351) peer(2) peerHeartbeatsEmpty(true) is not responding, dropping.
3158.996 Info MultiplayerManager.cpp:1411: Received peer info for peer(0) username(<server>).
3159.000 Info MultiplayerManager.cpp:1059: networkTick(186356) mapTick(13390908) received stateChanged peerID(0) oldState(InGame) newState(InGame)
3159.007 Info MultiplayerManager.cpp:1473: Peer dropout for peer (2) by peer (0) -- removing now
3159.014 Info MultiplayerManager.cpp:1009: networkTick(186357) mapTick(13390908) removing peer(2) dropout(true)
3159.019 Info Synchronizer.cpp:516: networkTick(186357) removing peer(2) success(false).
3159.023 Info MultiplayerManager.cpp:912: networkTick(186357) mapTick(13390908) changing state from(InGame) to(InGameAligning)
3159.028 Info MultiplayerManager.cpp:1697: networkTick(186357) mapTick(13390908) starting mapAlign
3159.033 Info MultiplayerManager.cpp:1611: networkTick(186357) mapTick(13390908) adding mapAlignTask(RemovePlayerAlignTask)
3159.040 Info MultiplayerManager.cpp:1059: networkTick(186363) mapTick(13390908) received stateChanged peerID(0) oldState(InGame) newState(InGameAligning)
3159.046 Info MultiplayerManager.cpp:1631: networkTick(186363) mapTick(13390908) sending mapAlignAction
3159.051 Info MultiplayerManager.cpp:1305: networkTick(186369) mapTick(13390908) received MapAlignAction from peer(0), mapAlignTick(13390909) appliedTickClosuresCount(0)
3159.060 Info MultiplayerManager.cpp:1713: networkTick(186370) mapTick(13390908) mapAlign finished targetTick(13390909) updating map and running the tasks ...
Using command: Factorio.exe --start-server Modded1.zip -c D:\pelit\Factorio\config-server.ini --no-auto-pause
Last edited by Zaflis on Thu Apr 28, 2016 12:20 am, edited 1 time in total.

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [12.??] Headless Server Hangs

Post by daniel34 »

I split your bug report from the already resolved bug report where you made your post to a new bug report thread, as the problem is a different one.

Could you provide the complete log file? Even better, the log files for both server and client?
quick links: log file | graphical issues | wiki

Zaflis
Filter Inserter
Filter Inserter
Posts: 414
Joined: Sun Apr 24, 2016 12:51 am
Contact:

Re: [12.??] Headless Server Hangs

Post by Zaflis »

Kind of guessed afterwards this might belong to new thread.

Anyway it is a new thing and it only happened once so far, i can't reproduce it at least on short notice. Server does auto-save while no players are online, correct? I don't know if i have the correct log file for the client because i propably started game once afterwards. I don't see the multiple connection attempts in it same way. So i'll give the current and previous (which might be correct one) logs.

edit: Actually lines 53 and 66 in the current logfile are it? Yeah there's "Joining game" 3 times near eachother.
Attachments
factorio-current.log
(17 KiB) Downloaded 68 times
factorio-previous.log
(79.94 KiB) Downloaded 71 times
server_log.txt
(29.99 KiB) Downloaded 57 times

Zaflis
Filter Inserter
Filter Inserter
Posts: 414
Joined: Sun Apr 24, 2016 12:51 am
Contact:

Re: [12.29] Headless Server Hangs

Post by Zaflis »

Now it happened again. Maybe it's because of the argument that makes server not pause itself? I've already confirmed that time has moved and progress has been made on server while i'm gone so something does work.

New log from server that was restarted, i made few connections at start but it didn't bug me out so i let it be for long time. I tried port 34197 on http://www.canyouseeme.org/ because of other thread and it was telling me server was not detected, so i tried to go ingame and got connection refused. I hit Ctrl+C in console but didn't join that game yet (assuming it would work now), so now it looks like in attachment:
Attachments
server_log2.txt
(49.82 KiB) Downloaded 52 times

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5148
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [12.29] Headless Server Hangs

Post by Klonan »

Thanks for the report,

Could you try updating to 0.12.31 to see if the problem persists?

Zaflis
Filter Inserter
Filter Inserter
Posts: 414
Joined: Sun Apr 24, 2016 12:51 am
Contact:

Re: [12.29] [Pending] Headless Server Hangs

Post by Zaflis »

So far server been on for some hours on 0.12.31 and i haven't seen the problem appear. But i'll let you know if it does.

Post Reply

Return to “Pending”