Page 1 of 1

[0.17.79] Error downloading mods list

Posted: Sun Dec 01, 2019 3:52 am
by Boom_Chicken
I am having an error when trying to find a mod to install. It tells me "failed to download mods list" and when I hover over it, it shows the error "API call failed:(path:'api/mods',status:520)"

I have the steam client of the game. I have verified all files. It is properly linked to my steam account via the website. I have rebooted my pc and router. I have also tried all of the above with every version available to select in the list. I am unable to find what the error code means using google and nobody in the discord was able to help with the issue. Any info you could provide to figuring out this error would be helpful.
Thanks.

Re: Error downloading mods list. [0.17.79] and all other builds.

Posted: Sun Dec 01, 2019 11:31 am
by Loewchen
Post your log after a session with the issue.

Re: Error downloading mods list. [0.17.79] and all other builds.

Posted: Fri Jan 31, 2020 2:33 pm
by michaelwooo
Post your log after a session with the issue.

493.870 Error UpdateModsPane.cpp:91: Failed to fetch mod update information: API call failed: (path: 'api/mods', status: 520)
737.075 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods?page ... lang=zh-CN
767.071 Error HttpSharedState.cpp:136: CURL failed: code:28, 1c; Operation timed out after 30000 milliseconds with 0 out of 0 bytes received
767.071 Info HttpSharedState.cpp:145: Downloading https://mods.factorio.com/api/mods?page ... lang=zh-CN
767.071 Info HttpSharedState.cpp:146: Status code: 0
767.071 Error ModPortal.cpp:244: Mod portal API call failed: status 520, error: Operation timed out after 30000 milliseconds with 0 out of 0 bytes received, content:
Operation timed out after 30000 milliseconds with 0 out of 0 bytes received

767.073 Error UpdateModsPane.cpp:91: Failed to fetch mod update information: API call failed: (path: 'api/mods', status: 520)

Re: [0.17.79] Error downloading mods list

Posted: Fri Jan 31, 2020 3:04 pm
by Loewchen
Does it work when you open the URL from the log in a web browser? Since no one but you reported the issue it is likely a network issue on your side.

Re: [0.17.79] Error downloading mods list

Posted: Tue Feb 04, 2020 8:56 am
by michaelwooo
https://mods.factorio.com/api/mods?page ... lang=zh-CN

{
"pagination": {
"count": 29,
"page": 1,
"page_count": 1,
"page_size": 5515,
"links": {
"first": null,
"next": null,
"prev": null,
"last": null
}
},
"results": [
{
"name": "AutoDeconstruct",
"title": "Auto Deconstruct",
"owner": "mindmix",
"summary": "This mod marks drills that have no more resources to mine for deconstruction.",
"downloads_count": 243483,
"category": "helper-mods",
"score": 717.5666666666668,
"releases": [
{
"download_url": "/download/AutoDeconstruct/5a5f1ae6adcc441024d72425",
"file_name": "AutoDeconstruct_0.1.0.zip",
"info_json": {
"factorio_version": "0.13",
"dependencies": []
},
"released_at": "2016-06-27T21:37:45.024000Z",
"version": "0.1.0",
"sha1": "aec92402944558cb30d06a9b09ce9569aed7a780"
},
{
"download_url": "/download/AutoDeconstruct/5a5f1ae6adcc441024d72574",
"file_name": "AutoDeconstruct_0.1.1.zip",
"info_json": {
"factorio_version": "0.13",
"dependencies": []
},
"released_at": "2016-06-30T01:38:58.954000Z",
"version": "0.1.1",
"sha1": "1d4242b1a517760b9d176c12cf764dbdff5a78ae"
},