[0.13.0] [Hanziq] Mod-Updates seem to succeed, but actually fail

This subforum contains all the issues which we already resolved.
Creat
Inserter
Inserter
Posts: 41
Joined: Sun Jun 22, 2014 4:35 pm
Contact:

[0.13.0] [Hanziq] Mod-Updates seem to succeed, but actually fail

Post by Creat »

Hello,

the two other issues that seem somewhat similar seems different enough to open my own topic, hope I'm right on this ;)

TL;DR: Mods seem to be able to update, but downloaded zip-files are just broken XML-Responses. Bug is reproducible for me.

I've just updated by downloading the Win-x64-zip version, extracted it to it's own folder inside my Games-Folder (C:\Games\Factorio_0.13.0) and replaced the "config-path.cfg" to use my appdata-directory:

Code: Select all

config-path=__PATH__system-write-data__/config
use-system-read-write-data-directories=true
I then started the game, which seemed fine, and immediately clicked "Mods". My mod-folder contains quite a few mods (See screenshot), some enabled, some not. Most a bit outdated as I haven't played in about two/three months or so (waiting for 0.13), which means most of it was red and I pressed the "Check for Updates" button.
This worked fine and turned at least a few items yellow (Auto Trash, Rail Tanker, Fat Controller, FARL and RSO to be specific). If I now press update Factorio acts as if it's updating the mods, and apparently also thinks it does, and when it relaunches it reports "Error: Opening zip <path-to-my-appdata>/Factorio/mods/AutoTrash_0.0.56.zip failed". Noticeably, all "updated" zip files are now 1kb and have content like the following (opened in Notepad++):

Code: Select all

<html>
<head>
<title>Factorio login</title>
</head>
<body>

  

<form action="/login/process" method="POST">
Username: <input type="text" name="username">
Password: <input type="password" name="password">
<input type="submit" value="Log In" />

<input type="hidden" name="redirect" value="https://mods.factorio.com/receive-login">
<input type="hidden" name="service" value="test_service">
<input type="hidden" name="csrf-token" value="vjn9KD3UVArjNw8M.M-t">

</form>
</body>
</html>
If I delete these newly "downloaded" mod-zip-files and replace them with those that were there before, I can reproduce this error (as I've just done to make sure I get a log file).
If you need anything else (config file?), let me know!

Edit just do clarify in case this is unclear: At no point was I asked to login anywhere, which I assume should happen at some point?

Creat
Attachments
factorio-previous.log
Log including downloads
(8.99 KiB) Downloaded 104 times
factorio-current.log
Log from failed start
(1.32 KiB) Downloaded 110 times
Screenshot of Mod-Folder
Screenshot of Mod-Folder
ScrModlist.png (28.53 KiB) Viewed 1514 times
User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [0.13.0] Mod-Updates seem to succeed, but actually fail

Post by HanziQ »

Thank you for the report, now I know how to reproduce this. The fix probably won't make its way into 0.13.1, and I'm not yet sure if I can do something server-side only.
Post Reply

Return to “Resolved Problems and Bugs”