Error when downloading mods

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
selaquik
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Jan 29, 2022 1:08 am
Contact:

Error when downloading mods

Post by selaquik »

I can't download mods, when I try to update mod status it gives me an error"API call failed (path: 'api/mods; status: 520)".

How to fix it? Any help.

I have avast and tinywall installed, but I tried adding to exceptions, turning them off and even deleting them - it did not help. So it's not about them. I rebooted the router, deleted all data from the host. I have access to all sites, and no other programs and games are blocked.
selaquik
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Jan 29, 2022 1:08 am
Contact:

Re: Error when downloading mods

Post by selaquik »

viewtopic.php?t=78531


I saw this thread but there is no answer
User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 354
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: Error when downloading mods

Post by vinzenz »

These 520 errors happen when something is wrong in the basic network setup of your PC. It could be Avast messing with https connection from the game client, it could be malfunctioning DNS. There should be a bit more info in the Factorio log file.
bringing the oops to devops
selaquik
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Jan 29, 2022 1:08 am
Contact:

Re: Error when downloading mods

Post by selaquik »

vinzenz wrote: Wed Feb 02, 2022 8:35 am These 520 errors happen when something is wrong in the basic network setup of your PC. It could be Avast messing with https connection from the game client, it could be malfunctioning DNS. There should be a bit more info in the Factorio log file.

Here is the data from the log

Code: Select all

  17.467 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods?page_size=max&full=True&version=1.1.53&lang=ru
  17.762 Error HttpSharedState.cpp:138: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  17.762 Info HttpSharedState.cpp:147: Downloading https://mods.factorio.com/api/mods?page_size=max&full=True&version=1.1.53&lang=ru
  17.762 Info HttpSharedState.cpp:148: Status code: 0
  17.762 Error ModPortal.cpp:255: Mod portal API call failed: status 520, error: schannel: failed to receive handshake, SSL/TLS connection failed, content:
schannel: failed to receive handshake, SSL/TLS connection failed

  17.763 Error UpdateModsPane.cpp:93: Failed to fetch mod update information: API call failed: (path: 'api/mods', status: 520)
  18.490 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/categories?version=1.1.53&lang=ru
  18.490 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods?page_size=max&version=1.1&lang=ru
  18.726 Error HttpSharedState.cpp:138: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  18.726 Info HttpSharedState.cpp:147: Downloading https://mods.factorio.com/api/mods?page_size=max&version=1.1&lang=ru
  18.726 Info HttpSharedState.cpp:148: Status code: 0
  18.726 Error ModPortal.cpp:255: Mod portal API call failed: status 520, error: schannel: failed to receive handshake, SSL/TLS connection failed, content:
schannel: failed to receive handshake, SSL/TLS connection failed

  18.772 Error HttpSharedState.cpp:138: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  18.772 Info HttpSharedState.cpp:147: Downloading https://mods.factorio.com/api/categories?version=1.1.53&lang=ru
  18.772 Info HttpSharedState.cpp:148: Status code: 0
  18.772 Error ModPortal.cpp:255: Mod portal API call failed: status 520, error: schannel: failed to receive handshake, SSL/TLS connection failed, content:
schannel: failed to receive handshake, SSL/TLS connection failed
User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 354
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: Error when downloading mods

Post by vinzenz »

Looks like something on your PC is messing with your https connections. You can try disabling/uninstalling avast. If you provider is doing this you can try using a VPN.

https://support.avast.com/en-in/article ... TTPS-scan/
bringing the oops to devops
selaquik
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Jan 29, 2022 1:08 am
Contact:

Re: Error when downloading mods

Post by selaquik »

vinzenz wrote: Thu Feb 03, 2022 4:33 pm Looks like something on your PC is messing with your https connections. You can try disabling/uninstalling avast. If you provider is doing this you can try using a VPN.

https://support.avast.com/en-in/article ... TTPS-scan/

I uninstalled avast, it didn't help. I do not have blocking from the provider, I easily get access to sites with mods. It's a game problem.
User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 354
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: Error when downloading mods

Post by vinzenz »

Ok if you're sure that nothing is intercepting/scanning https on your PC you can try checking your proxy settings. https://helpdeskgeek.com/networking/int ... -settings/
bringing the oops to devops
Post Reply

Return to “Technical Help”