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

This subforum contains all the issues which we already resolved.
flonussi
Burner Inserter
Burner Inserter
Posts: 6
Joined: Tue Jun 28, 2016 8:06 am
Contact:

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

Post by flonussi »

I'm really annoyed by this bug, so I spent the whole day narrowing the issue down.

As I was already saying, I'm able to connect to our server from my Macbook and my Notebook with Linux on it, but I was not able to connect to it from my Gaming PC with Windows on it.
To work around this issue I now tried installing Linux (dualboot) on my PC to be able to connect to the server... As I finished setting everything up I tried to connect to the server and AGAIN it was hanging at 100%, now with Linux.

My next thought was, that it has to do something with the hardware configuration/network chipset. I installed my old usb->RJ45(Asix AX88772B chipset) network adapter (instead of the onboard one) and tried to connect to the server and NOW everything works just fine... with Windows and also with Linux on my Gaming Rig.
After that, I was curious and also tried a usb->wireless lan adapter and it also worked.

By now I'm pretty sure it has something to do with the network chipset/adapter.
My mainboard is a GA-Z77-D3H which is using an Atheros GbE LAN chip (AR8151).

Maybe someone in this thread with this issue has a similar mainboard/network chip?!

Cathillach
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Sep 18, 2016 8:43 am
Contact:

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

Post by Cathillach »

I have tried 0.14.10 and 0.14.11.

14.10 let me join the game and I didn't encounter the hanging at 100% bug but that may be because I only tried to join a game twice as Factorio was unplayable. Rubber banding and constant server not responding popups meant that I could not play at all.

14.11 did not let me join a game a single time. It constantly hung at 100%.

After both updates I had to go back to version 0.14.9 to be able to play at all.

A strange interaction that may or may not be related was that I tried joining the game on 0.14.9 and got the hang error 5 times in a row which was unusual. Everytime while downloading the map I clicked off the windowed factorio to browse the internet. The 6th time when I tried joining I stayed focused on Factorio and it let me join the game.

This is not the overall problem as I still get the hanging bug even if I stay focussed on Factorio. But it seems to increase the frequency.

Rippie
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sun Sep 25, 2016 3:10 pm
Contact:

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

Post by Rippie »

flonussi wrote:By now I'm pretty sure it has something to do with the network chipset/adapter.
My mainboard is a GA-Z77-D3H which is using an Atheros GbE LAN chip (AR8151).

Maybe someone in this thread with this issue has a similar mainboard/network chip?!
I own a Z87-G45 which has Killer ethernet.
The Killer ethernet is known to cause issues... I had to update the drivers recently because Steam's In-Home-Streaming did not detect anything.

flonussi
Burner Inserter
Burner Inserter
Posts: 6
Joined: Tue Jun 28, 2016 8:06 am
Contact:

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

Post by flonussi »

I own a Z87-G45 which has Killer ethernet.
The Killer ethernet is known to cause issues... I had to update the drivers recently because Steam's In-Home-Streaming did not detect anything.
I just looked up this "Killer Ethernet" and it seems that it is also a Qualcom Atheros chipset under the hood :-/ So I think we are on to something!

Cathillach
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Sep 18, 2016 8:43 am
Contact:

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

Post by Cathillach »

I have an Asus Maximus VIII Hero Motherboard that uses an Intel(R) Gigabit Ethernet Driver V20.2.4001.0 driver

Rippie
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sun Sep 25, 2016 3:10 pm
Contact:

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

Post by Rippie »

Cathillach wrote:I have an Asus Maximus VIII Hero Motherboard that uses an Intel(R) Gigabit Ethernet Driver V20.2.4001.0 driver
Hmm, there goes our theory. You have stated that this happened when your friend hosted, and you try to join. Could you discover which ethernet adapter your friend uses? Maybe for you the issue is on the server's end.
Twinsen wrote:After the 0.14.10 release I can make a special exe that does verbose logging for map download/map upload logic.
Any chance this is still happening?

Arcania85
Inserter
Inserter
Posts: 20
Joined: Thu Sep 22, 2016 7:43 am
Contact:

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

Post by Arcania85 »

I've had the same exact same problem when playing with a friend who lives in scotland, he was hosting.
the game was freshly started without mods.
The game would download very fast and when the bar hit 100% the speed would just decrease till it hit 0kb/sec and it got stuck.

my ISP is ziggo.
speedtest.net: http://www.speedtest.net/my-result/5684156863
TP-LINK TL-WDR4300-N750 draadloze dual-band gigabit router

hope its usefull

Edit: just happend again.
http://imgur.com/htO8cJc

Edit 2:
This happens when He is hosting the game, and he's on killer networks.
I'm currently hosting, and he could join immediatly.

this is his speedtest:
http://www.speedtest.net/my-result/5684292845

Log is down here
log

Riverchimp
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Sep 25, 2016 1:49 am
Contact:

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

Post by Riverchimp »

Rippie wrote:
Cathillach wrote:I have an Asus Maximus VIII Hero Motherboard that uses an Intel(R) Gigabit Ethernet Driver V20.2.4001.0 driver
Hmm, there goes our theory. You have stated that this happened when your friend hosted, and you try to join. Could you discover which ethernet adapter your friend uses? Maybe for you the issue is on the server's end.
Twinsen wrote:After the 0.14.10 release I can make a special exe that does verbose logging for map download/map upload logic.
Any chance this is still happening?
Cathillach is connecting to me. I have a Gigabyte G1.Sniper Z87 which has a Killer E2200.

Rippie
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sun Sep 25, 2016 3:10 pm
Contact:

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

Post by Rippie »

So the current "common thing" we all share is the ethernet adapter, e.g. Killer Ethernet E2200 (which is a Qualcomm Atheros AR8161 under the hood) and Atheros GbE LAN chip (AR8151).

To summarize from all the people that have reported the problem in this thread:
- Cathillach (Intel(R) Gigabit Ethernet) connects to a server hosted by Riverchimp (Killer Ethernet E2200 -> Qualcomm Atheros AR8161)
- Rippie has Killer Ethernet E2200 -> Qualcomm Atheros AR8161
- flonussi has Qualcomm Atheros AR8151 and is unable to connect to servers from both Windows and Linux. Installed USB network adapter (Asix AX88772B chipset), connected fine on both Windows and Linux.
- Arcania85 connects to a friend who has "killer networks" (Killer Ethernet? -> Qualcomm Atheros AR8161)
- nexyon connects to flonussi (Qualcomm Atheros AR8151)

For anyone else having this issue, please also post which ethernet adapter you have, and if you are playing with a friend please also mention his/her ethernet adapter.

All credits for pinpointing the ethernet adapter so far go to flonussi.
Last edited by Rippie on Thu Oct 06, 2016 9:30 am, edited 1 time in total.

Twinsen
Factorio Staff
Factorio Staff
Posts: 1348
Joined: Tue Sep 23, 2014 7:10 am
Contact:

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

Post by Twinsen »

Rippie wrote:
Twinsen wrote:After the 0.14.10 release I can make a special exe that does verbose logging for map download/map upload logic.
Any chance this is still happening?
I'm exploring different solutions(including completely replacing the downloader code), so be patient. Also I'll be away for 2 weeks so this will be on hold unless someone takes over.

Meanwhile there was a minor fix in 0.14.13. From changelog "Fixed map downloader getting stuck and flooding the network after a big timeout.". Big timeout means 20 seconds. This will probably not fix this issue but let me know if it does.

nexyon
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Sep 28, 2016 10:30 pm
Contact:

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

Post by nexyon »

Rippie wrote:- flonussi has Qualcomm Atheros AR8151
- nexyon has ???
I was connecting to flonussi, he was connecting to me and both of us to a dedicated server. The issue definitely happens on the client no matter if the server or client has the faulty network chip.

Rippie
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sun Sep 25, 2016 3:10 pm
Contact:

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

Post by Rippie »

nexyon wrote:
Rippie wrote:- flonussi has Qualcomm Atheros AR8151
- nexyon has ???
I was connecting to flonussi, he was connecting to me and both of us to a dedicated server. The issue definitely happens on the client no matter if the server or client has the faulty network chip.
Thanks, I updated the post.

Also, can anyone confirm if the issue still exists on 0.14.13? I have not had the time to test it.

Cathillach
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Sep 18, 2016 8:43 am
Contact:

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

Post by Cathillach »

The same hanging bug occurred to me last night in 0.14.13. Didn't have time to get the logs but if it happens again today then I will put up the log of it.

Twinsen
Factorio Staff
Factorio Staff
Posts: 1348
Joined: Tue Sep 23, 2014 7:10 am
Contact:

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

Post by Twinsen »

The map download algorithm was tweaked in Version 0.14.17.
Please test download speeds before/after and let me know if the 100% hang still persists.

Rippie
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sun Sep 25, 2016 3:10 pm
Contact:

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

Post by Rippie »

So I decided to have another go at Factorio multiplayer.
First server I tried to join, it happened again.
Map download speed reached up to 2MB/s.
Download again hanging at 100%.
Using version 0.14.19.
Log file attached.
Attachments
factorio-current.log
(5.14 KiB) Downloaded 119 times

Twinsen
Factorio Staff
Factorio Staff
Posts: 1348
Joined: Tue Sep 23, 2014 7:10 am
Contact:

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

Post by Twinsen »

So it was not fixed ...

I made an 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.19 TransferTarget Logging.zip
(47.29 MiB) Downloaded 149 times

Rippie
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sun Sep 25, 2016 3:10 pm
Contact:

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

Post by Rippie »

Twinsen wrote:I made an 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
Thanks for supplying these!
Got the issue again, but Steam has updated Factorio to 0.14.20.
The executable now complains about the version mismatch 0.14.19 vs 0.14.20.

Loewchen
Global Moderator
Global Moderator
Posts: 8964
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

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

Post by Loewchen »

Rippie wrote:
Twinsen wrote:I made an 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
Thanks for supplying these!
Got the issue again, but Steam has updated Factorio to 0.14.20.
The executable now complains about the version mismatch 0.14.19 vs 0.14.20.
You could roll back using the beta settings, see the update issue link in my signature.

User avatar
Smarty
Global Moderator
Global Moderator
Posts: 816
Joined: Sat Oct 04, 2014 5:00 pm
Contact:

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

Post by Smarty »

Loewchen wrote:
Rippie wrote:
Twinsen wrote:I made an 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
Thanks for supplying these!
Got the issue again, but Steam has updated Factorio to 0.14.20.
The executable now complains about the version mismatch 0.14.19 vs 0.14.20.
You could roll back using the beta settings, see the update issue link in my signature.
the transfer logger twinsen made is for 0.14.19

Twinsen
Factorio Staff
Factorio Staff
Posts: 1348
Joined: Tue Sep 23, 2014 7:10 am
Contact:

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

Post by Twinsen »

Updated executable for 0.14.20, see above for instructions.
Attachments
Factorio_0.14.20 TransferTarget Logging.zip
(47.29 MiB) Downloaded 142 times

Post Reply

Return to “Resolved Problems and Bugs”