[0.14.8] [Twinsen/cube] Downloading map hangs at 100%

This subforum contains all the issues which we already resolved.
BenSeidel
Filter Inserter
Filter Inserter
Posts: 591
Joined: Tue Jun 28, 2016 1:44 am
Contact:

Re: [0.14.8] [Twinsen/cube] Downloading map hangs at 100%

Post by BenSeidel »

This is a long-shot, but I have seen these symptoms before.

What was occurring in my instance was an out of memory error in the network adapters internal TCP stack caused by one dropped packet at a high traffic time. Basically when a packet was dropped the network adapter stored all the incoming packets until the resend arrived. In extremely rare circumstances the number of "waiting" packets filled up all allocated memory of the network card, so the card "closed" the TCP connection. I say "closed" because the close operation was not reported to the OS correctly, giving interesting side-effects until the OS decided to close the connection in the kernel. I can see that if you are running a cheap 1Gb network card that the old firmware from a 10/100 card could be in use, one that assumes a certain "range" of transfer speeds and packet drops.

Anyway, some possible solutions are:
1) Update your firmware
2) Disable "TCP offload" for your network card

From Factorio's point of view, I don't think there is any way to solve the issue. Trying to detect a closed connection did not work in our case because the OS thought it was open. We had to watch the packet sniffer on the router to see that our packets were not even reaching the wire when we knew there should be some form of activity.
Twinsen
Factorio Staff
Factorio Staff
Posts: 1358
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [0.14.8] [Twinsen/cube] Downloading map hangs at 100%

Post by Twinsen »

In case people are still having this problem and want to help, I updated the executable that will log lots of data related to the file transfers on the client side.
Copy the 2 files in your bin folder and run the game using factorio-run.exe

Every time you connect to do a test, do it on a fresh run of the game, so you get one separate log file per test.
Then upload the log(s) somewhere.(they could end up quite large).

Thanks for the help.
Attachments
Factorio_0.14.21 TransferTarget Logging.zip
(47.28 MiB) Downloaded 456 times
Dudan
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Jul 16, 2016 10:27 am
Contact:

Re: [0.14.8] [Twinsen/cube] Downloading map hangs at 100%

Post by Dudan »

Twinsen wrote:In case people are still having this problem and want to help, I updated the executable that will log lots of data related to the file transfers on the client side.
Copy the 2 files in your bin folder and run the game using factorio-run.exe

Every time you connect to do a test, do it on a fresh run of the game, so you get one separate log file per test.
Then upload the log(s) somewhere.(they could end up quite large).

Thanks for the help.
Thank you very much for the provided .exe.

We've got the same problem here. We have played for about 20 hours with my friend on the map, and now cannot connect to each other while playing on it. We do not face this problem while creating new game or loading other maps. Also I've asked my another friend to try to connect to me (on this map) and he was successful.

So we both ran the factorio-run.exe and I'm attaching the detailed logs to this post. Please check them.

Thank you!

P.S. sorry for bad English :)
Attachments
factorio.7z
Archived logs from clien and the server.
(449.01 KiB) Downloaded 137 times
Twinsen
Factorio Staff
Factorio Staff
Posts: 1358
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [0.14.8] [Twinsen/cube] Downloading map hangs at 100%

Post by Twinsen »

Seems to be the same as in this topic viewtopic.php?f=49&t=32646
The same packet is being dropped over and over. (Lost block 15649)
Please download the latest test executable from that topic (Factorio_0.14.21 Fix attempt+TransferTargetSource Logging 2.zip) and post the new logs there to help with the investigation. Thanks.
Dudan
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Jul 16, 2016 10:27 am
Contact:

Re: [0.14.8] [Twinsen/cube] Downloading map hangs at 100%

Post by Dudan »

Twinsen wrote:Seems to be the same as in this topic viewtopic.php?f=49&t=32646
The same packet is being dropped over and over. (Lost block 15649)
Please download the latest test executable from that topic (Factorio_0.14.21 Fix attempt+TransferTargetSource Logging 2.zip) and post the new logs there to help with the investigation. Thanks.
Thank you very much!

This build had successfully solved the issue with endless downloading of the map! However client sometime drops from the server. We will test it a little bit more tomorrow and then I'll provide you with the new logs.

Thank you!
Post Reply

Return to “Resolved Problems and Bugs”