[0.17.49] Ingame Mod Download impossible

This subforum contains all the issues which we already resolved.
mbr26
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jun 27, 2018 8:39 am
Contact:

[0.17.49] Ingame Mod Download impossible

Post by mbr26 »

Hello,
Since 2 days I can't update my mods with the ingame tool. The game checks for game updates and i am logged in with my Factorio accout, but when i try to download/update Mods the game asks for my account data. If i enter it and confirm the PopUp-Window i get straight into the main menu. This procedure repeats over and over. I can However download mods from the ModPortal. I am sure that i am entering the right password, already copy-pasted it from the browser, but the .log-file calls for a "token-mismatch":

22.896 Error ParallelModsDownloadGui.cpp:103: Download mod failed: Token mismatch.
27.584 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/api-login?api_version=2
30.066 Info AuthServerConnector.cpp:171: Got token from auth server for username(mbr26).

What can i do now?
Loewchen
Global Moderator
Global Moderator
Posts: 9195
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [17.49] Ingame Mod Download impossible

Post by Loewchen »

The missing error message sounds like a bug.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14280
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.49] Ingame Mod Download impossible

Post by Rseding91 »

Are you still unable to check for updates using the in-game browser? I asked our server guy to check into your account and he didn't spot anything strange. He did mention you recently reset your password though.
If you want to get ahold of me I'm almost always on Discord.
User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 326
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: [0.17.49] Ingame Mod Download impossible

Post by Sanqui »

Hi, could you please try going to https://factorio.com/profile and clicking "invalidate" next to the token. Next, try logging in from Settings > Other > Log in.
ovo
mbr26
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jun 27, 2018 8:39 am
Contact:

Re: [0.17.49] Ingame Mod Download impossible

Post by mbr26 »

Hi All of you, I reset the password to be 100% sure that there is no Typo in it, so there should be nothing wrong with that. I invalidated my token, but no change. I went to Settings/Other, it showed that i was logged in. so i logged out and logged in again, still the same problem. I am absolutely baffled what is wrong over there :/
mbr26
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jun 27, 2018 8:39 am
Contact:

Re: [0.17.49] Ingame Mod Download impossible

Post by mbr26 »

Thanks for the help at first, and now another Update: I reset my whole PC and reinstalled Factorio, still the same Problem. I installed Factorio on another PC, still the same problem. I took a closer look at the log file:

Code: Select all

 39.438 Factorio initialised
  39.440 Info HttpSharedState.cpp:54: Downloading https://updater.factorio.com/updater/get-available-versions?username=mbr26&token=<private>&apiVersion=2
  40.096 0 packages available to download (experimental updates disabled).
  42.860 Info HttpSharedState.cpp:54: Downloading https://updater.factorio.com/updater/get-available-versions?username=mbr26&token=<private>&apiVersion=2
  43.846 0 packages available to download (experimental updates disabled).
 126.276 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/api-login?api_version=2
 127.146 Info AuthServerConnector.cpp:171: Got token from auth server for username(mbr26).
 127.155 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/categories?version=0.17.50&lang=en
 127.155 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods?page_size=max&version=0.17&lang=en
 130.846 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/bobores/full?version=0.17.50&lang=en
 131.349 Info HttpSharedState.cpp:54: Downloading https://mods-data.factorio.com/assets/21576b47adc11ecf10cf0fa7dae5767985321536.thumb.png
 131.547 Info HttpSharedState.cpp:145: Downloading https://mods-data.factorio.com/assets/21576b47adc11ecf10cf0fa7dae5767985321536.thumb.png
 131.547 Info HttpSharedState.cpp:146: Status code: 403
 131.547 Error ModPortal.cpp:506: Mod portal API call failed: status 403, error: 
 132.928 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/api/mods/boblibrary/full?version=0.17.50&lang=en
 133.512 Info ModPortal.cpp:537: Downloading /download/bobores/5d081b30b8edba000d91ee81?username=mbr26&token=<private> to *privacy*
 133.513 Info HttpSharedState.cpp:54: Downloading https://mods.factorio.com/download/bobores/5d081b30b8edba000d91ee81?username=mbr26&token=<private>
 133.640 Info HttpSharedState.cpp:145: Downloading https://mods.factorio.com/download/bobores/5d081b30b8edba000d91ee81?username=mbr26&token=<private>
 133.640 Info HttpSharedState.cpp:146: Status code: 403
 133.660 Error ParallelModsDownloadGui.cpp:103: Download mod failed: Token mismatch.
 138.779 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/api-login?api_version=2
 139.263 Info AuthServerConnector.cpp:171: Got token from auth server for username(mbr26).
 140.813 Quitting: user-quit.
The Error Code is 403, which means that there is a file to download, but i am not granted acces to this file. If i now copy the URL https://mods.factorio.com/download/bobo ... n=<private> and insert my token from the profile instead of "<private>" I can download the mod file in my browser without any problems.

I am now sure that the problem is not PC-based, because it is occuring on multiple PCs. Can Anyone please check my account again because there should be something wrong with it.

Kind regards
Bilka
Factorio Staff
Factorio Staff
Posts: 3309
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.17.49] Ingame Mod Download impossible

Post by Bilka »

Can you post the full log file?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
mbr26
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jun 27, 2018 8:39 am
Contact:

Re: [0.17.49] Ingame Mod Download impossible

Post by mbr26 »

Hi Bilka, there you go:
factorio-current.log
(7.27 KiB) Downloaded 186 times
User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 326
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: [0.17.49] Ingame Mod Download impossible

Post by Sanqui »

The most important thing in the log is that you're already getting 403 for the thumbnail. The thumbnail should always be accessible. This means that this is not a token issue. This is why you should always post the full log first!

So, mbr26, could you please PM me your public IP address? You can get it by entering "my IP" in Google.

Also, I've temporarily disabled Cloudflare for mods-data, so please try viewing and downloading a mod once again and tell me if it works.
ovo
mbr26
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jun 27, 2018 8:39 am
Contact:

Re: [0.17.49] Ingame Mod Download impossible

Post by mbr26 »

Hi, Sorry for not posting the complete file. I got some kind of wrong advice in Discord.

I unfortunately have no access to a PC until Sunday evening, i will try it as soon as possible.
User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 326
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: [0.17.49] Ingame Mod Download impossible

Post by Sanqui »

There's no hurry, let us know. Thanks!
ovo
mbr26
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Jun 27, 2018 8:39 am
Contact:

Re: [0.17.49] Ingame Mod Download impossible

Post by mbr26 »

PM @Sanqui ;)
User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 326
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: [0.17.49] Ingame Mod Download impossible

Post by Sanqui »

We've solved this for now, it's a case of Cloudflare being overzealous (although I don't know why others aren't encountering this issue.)
I'm putting some rules in place to prevent this.
ovo
Post Reply

Return to “Resolved Problems and Bugs”