Page 1 of 1

[1.1.109] Mod portal API call failed: status 520

Posted: Mon Jul 15, 2024 8:11 am
by Spoofing
Hi!
https://forums.factorio.com/ does not open
https://mods.factorio.com/ opens, but images are not loaded
Error when trying to update mods - Error 520
2 weeks ago everything was ok, update Windows did not help (Microsoft Windows [Version 10.0.19044.4651] )
disabling the firewall didn't help

Code: Select all

 33.564 Factorio initialised
  33.572 Steam Storage Quota: 23525/23841
  58.146 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/api/mods?page_size=max&full=True&version=1.1.109&lang=ru
  58.960 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/api/mods?page_size=max&full=True&version=1.1.109&lang=ru
  60.602 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/api/mods?page_size=max&full=True&version=1.1.109&lang=ru
  62.683 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/api/mods/mining-patch-planner/full?version=1.1.109&lang=ru
  62.855 Info HttpSharedState.cpp:58: Downloading https://mods-data.factorio.com/assets/22699d1036ffaae432d95e1f2d61c2857a75b60c.thumb.png
  63.911 Info ModPortal.cpp:666: Downloading /download/mining-patch-planner/6691652fd3c01bd2141ea223?username=Spoofing&token=<private> to C:\Users\***\AppData\Roaming\Factorio\temp\mining-patch-planner_1.6.9.zip
  63.911 Info HttpSharedState.cpp:58: Downloading https://mods.factorio.com/download/mining-patch-planner/6691652fd3c01bd2141ea223?username=Spoofing&token=<private>
  82.112 Error HttpSharedState.cpp:158: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  82.112 Info HttpSharedState.cpp:167: Downloading https://mods-data.factorio.com/assets/22699d1036ffaae432d95e1f2d61c2857a75b60c.thumb.png
  82.112 Info HttpSharedState.cpp:168: Status code: 0
  82.112 Error ModPortal.cpp:635: Mod portal API call failed: status 520, error: schannel: failed to receive handshake, SSL/TLS connection failed
  83.341 Error HttpSharedState.cpp:158: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  83.344 Error ParallelModsDownloadGui.cpp:114: Download mod failed: Download failed: schannel: failed to receive handshake, SSL/TLS connection failed

Code: Select all

curl -vvv https://forums.factorio.com/
* Host forums.factorio.com:443 was resolved.
* IPv6: (none)
* IPv4: 172.104.141.117
*   Trying 172.104.141.117:443...
* Connected to forums.factorio.com (172.104.141.117) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* Recv failure: Connection was reset
* schannel: failed to receive handshake, SSL/TLS connection failed
* Closing connection
* schannel: shutting down SSL/TLS connection with forums.factorio.com port 443
* Send failure: Connection was reset
* schannel: failed to send close msg: Failed sending data to the peer (bytes written: -1)
curl: (35) Recv failure: Connection was reset
checked the connection from mobile (use same wifi - the forum opens). I noticed that mobile received an ipv6 address, but ipv4 was used on the PC
After switching to DHCP and enabling IPv6 in the ethernet settings - worked in console or browser but not in game.

Code: Select all

curl -vvv https://forums.factorio.com
* Host forums.factorio.com:443 was resolved.
* IPv6: 2a01:7e01::f03c:91ff:fefe:b55b
* IPv4: 172.104.141.117
*   Trying [2a01:7e01::f03c:91ff:fefe:b55b]:443...
* Connected to forums.factorio.com (2a01:7e01::f03c:91ff:fefe:b55b) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* ALPN: server accepted http/1.1
* using HTTP/1.x
> GET / HTTP/1.1
> Host: forums.factorio.com
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
* schannel: failed to decrypt data, need more data
* schannel: failed to decrypt data, need more data
< HTTP/1.1 200 OK
< Server: nginx
< Date: Mon, 15 Jul 2024 07:18:11 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/7.2.34-43+0~20230902.90+debian11~1.gbpc2a431
< Cache-Control: private, no-cache="set-cookie"
< Expires: Mon, 15 Jul 2024 07:18:11 GMT
< Referrer-Policy: strict-origin-when-cross-origin

Code: Select all

  58.630 Error HttpSharedState.cpp:158: CURL failed: code:35, 23; schannel: failed to receive handshake, SSL/TLS connection failed
  58.630 Info HttpSharedState.cpp:167: Downloading https://mods-data.factorio.com/assets/22699d1036ffaae432d95e1f2d61c2857a75b60c.thumb.png
  58.630 Info HttpSharedState.cpp:168: Status code: 0
  58.630 Error ModPortal.cpp:635: Mod portal API call failed: status 520, error: schannel: failed to receive handshake, SSL/TLS connection failed
if disable ipv4 in settings ethernet apdapter

Code: Select all

37.910 Error HttpSharedState.cpp:158: CURL failed: code:6, 6; Could not resolve host: mods.factorio.com
  37.910 Info HttpSharedState.cpp:167: Downloading https://mods.factorio.com/api/bookmarks?version=1.1.109&lang=ru&username=Spoofing&token=<private>
  37.910 Info HttpSharedState.cpp:168: Status code: 0
  37.910 Error ModPortal.cpp:263: Mod portal API call failed: status 520, error: Could not resolve host: mods.factorio.com, content:
Could not resolve host: mods.factorio.com
Any ideas on how to fix this?
Аt least the modportal is available in browser and i can download it manually.