downloading mods fails

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
Post Reply
User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

downloading mods fails

Post by ptx0 »

Hello,

I'm unable to download certain mods using the latest 1.1.50.

Code: Select all

1302.352 Error HttpSharedState.cpp:138: CURL failed: code:56, 38; OpenSSL SSL_read: Connection reset by peer, errno 104
1302.353 Error ParallelModsDownloadGui.cpp:105: Download mod failed: Download failed: OpenSSL SSL_read: Connection reset by peer, errno 104
1302.353 Info ModPortal.cpp:593: Downloading /download/reskins-bobs/61d3317ef5ecd84edb2ad287?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/reskins-bobs_2.1.1.zip
1302.353 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/reskins-bobs/61d3317ef5ecd84edb2ad287?username=ptx0&token=<private>
1425.601 Error HttpSharedState.cpp:138: CURL failed: code:18, 12; transfer closed with 90007827 bytes remaining to read
1430.848 Error ParallelModsDownloadGui.cpp:105: Download mod failed: Download failed: transfer closed with 90007827 bytes remaining to read
1430.848 Info ModPortal.cpp:593: Downloading /download/Dectorio/613968d2060d54fdaa9f6ae6?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/Dectorio_0.12.5.zip
1430.849 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/Dectorio/613968d2060d54fdaa9f6ae6?username=ptx0&token=<private>
1529.896 Error HttpSharedState.cpp:138: CURL failed: code:18, 12; transfer closed with 13491667 bytes remaining to read
1529.896 Error ParallelModsDownloadGui.cpp:105: Download mod failed: Download failed: transfer closed with 13491667 bytes remaining to read
1529.896 Info ModPortal.cpp:593: Downloading /download/vtk-deep-core-mining/61d9d91d89c6abb62acbba22?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/vtk-deep-core-mining_2.9.1.zip
1529.896 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/vtk-deep-core-mining/61d9d91d89c6abb62acbba22?username=ptx0&token=<private>
2101.675 Info ModPortal.cpp:593: Downloading /download/flib/6195e4ef4b62356f903c782a?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/flib_0.9.2.zip
2101.675 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/flib/6195e4ef4b62356f903c782a?username=ptx0&token=<private>
2101.677 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/Power%20Armor%20MK3/full?version=1.1.50&lang=en
2102.148 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/99a6225d41f70f81a374479ed43889d286495027.thumb.png
2103.641 Info ModPortal.cpp:593: Downloading /download/Mechanicus/6150f13237a0c3f40fa34352?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/Mechanicus_1.0.7.zip
2103.641 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/Mechanicus/6150f13237a0c3f40fa34352?username=ptx0&token=<private>
2103.642 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/Rampant/full?version=1.1.50&lang=en
2104.232 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/0c4c7f9369b120b8660cc3365073b57edb8c2931.thumb.png
2148.573 Info ModPortal.cpp:593: Downloading /download/angelsaddons-cab/61bf01ffc595ee0fb7956cf8?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/angelsaddons-cab_0.2.8.zip
2148.573 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/angelsaddons-cab/61bf01ffc595ee0fb7956cf8?username=ptx0&token=<private>
2155.608 Info ModPortal.cpp:593: Downloading /download/angelsaddons-cab/61bf01ffc595ee0fb7956cf8?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/angelsaddons-cab_0.2.8.zip
2155.608 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/angelsaddons-cab/61bf01ffc595ee0fb7956cf8?username=ptx0&token=<private>
2160.595 Info ModPortal.cpp:593: Downloading /download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/angelsaddons-mobility_0.0.9.zip
2160.596 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private>
2160.596 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/RateCalculator/full?version=1.1.50&lang=en
2160.972 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/942247cdc3a6aef23dcd310cbcba6d87f9ddfdc1.thumb.png
2186.415 Info ModPortal.cpp:593: Downloading /download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/angelsaddons-mobility_0.0.9.zip
2186.415 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private>
2336.625 Error HttpSharedState.cpp:138: CURL failed: code:18, 12; transfer closed with 12219629 bytes remaining to read
2336.625 Error ParallelModsDownloadGui.cpp:105: Download mod failed: Download failed: transfer closed with 12219629 bytes remaining to read
2336.625 Info ModPortal.cpp:593: Downloading /download/angelsrefining/61bf0232445e81d9abf39956?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/angelsrefining_0.12.1.zip
2336.626 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/angelsrefining/61bf0232445e81d9abf39956?username=ptx0&token=<private>
2359.715 Info ModPortal.cpp:593: Downloading /download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/angelsaddons-mobility_0.0.9.zip
2359.715 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private>
2375.975 Info ModPortal.cpp:593: Downloading /download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/angelsaddons-mobility_0.0.9.zip
2375.975 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private>
2382.892 Info ModPortal.cpp:593: Downloading /download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/angelsaddons-mobility_0.0.9.zip
2382.892 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private>
2444.721 Info ModPortal.cpp:593: Downloading /download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/angelsaddons-mobility_0.0.9.zip
2444.721 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private>
2466.957 Info ModPortal.cpp:593: Downloading /download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/angelsaddons-mobility_0.0.9.zip
2466.957 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private>
2478.019 Info ModPortal.cpp:593: Downloading /download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/angelsaddons-mobility_0.0.9.zip
2478.019 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private>
2524.783 Info ModPortal.cpp:593: Downloading /download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private> to /home/guest/factorio/omni/temp/angelsaddons-mobility_0.0.9.zip
2524.783 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/angelsaddons-mobility/6111e7faa069b89bb98591d3?username=ptx0&token=<private>

User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 174
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: downloading mods fails

Post by vinzenz »

Sorry about that. I don't see any problems on our download server though, maybe an intermittent problem with your ISP?
bringing the oops to devops

User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 174
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: downloading mods fails

Post by vinzenz »

ptx0 wrote:
Sun Jan 09, 2022 7:52 am
I'm unable to download certain mods using the latest 1.1.50.
Mod releases older than 1min are now served by our new CDN. Does this improve your mod downloads?
bringing the oops to devops

User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: downloading mods fails

Post by ptx0 »

vinzenz wrote:
Wed Feb 02, 2022 8:38 am
ptx0 wrote:
Sun Jan 09, 2022 7:52 am
I'm unable to download certain mods using the latest 1.1.50.
Mod releases older than 1min are now served by our new CDN. Does this improve your mod downloads?
seems it's a lot better, but huge mods still suffer from long stalls where no I/O happens. when i run curl or wget they stall out but restart I/O much more quickly. is there a delay i can manipulate somewhere?

User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 174
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: downloading mods fails

Post by vinzenz »

Ah sorry, I just realized I only switched mod portal downloads over to the new CDN. In-game downloads were still served by the old server. Now all downloads are from the new CDN. (Except in-game mod images and thumbnails)

Will take a look if we can expose curl tunables in the game.
bringing the oops to devops

User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: downloading mods fails

Post by ptx0 »

oh man it's so much better now! thanks for looking into curl tunables. that'll be useful in "The Rest" settings area when someone else has an issue like this, to extend the timeout and retry counts as well as potentially reduce the retry delay if possible (i've used curl a lot. i've never seen this, but i've never needed to look for it.)

Post Reply

Return to “Mod portal Discussion”