[2.0.72] Server-join mod downloader caches(?) too aggressively

Post your bugs and problems so we can fix them.
thesixthroc
Fast Inserter
Fast Inserter
Posts: 135
Joined: Wed Apr 29, 2020 9:53 pm
Contact:

[2.0.72] Server-join mod downloader caches(?) too aggressively

Post by thesixthroc »

I've noticed this issue a small fraction of the time when applying server modpack updates, and finally got around to making a report.

It's possible for the Factorio client when joining a multiplayer server to not understand that the newest version of a recently updated mod on the mod portal is able to be downloaded, and this to persist for much longer than the relatively short caching experience by the in-game mod browser.

As you can see in the screenshots below, 'No release' is obtained when joining the server (pictured), despite the v1.0.2 zip that is on the server (pictured) being available on both the mod portal website (pictured) and the ingame mod browser on the same client (not pictured). Unfortunately I lost the session log for this situation and was unable to reproduce it to obtain one.

It seems to happen after repeatedly updating the same mod on the server. When it occurs, it occurs for all users simultaneously — they all see 'No Release' and have to download that mod by other means. It seems to resolve by waiting, If I have to guess I'd say it resolves in 15 minutes, which is long enough to cause pain for large servers doing repeated hotfixes in a row.

(Note in passing: to obtain the 'No Release' error screenshot I had to scroll a long way down. It would be better to put the erroring mods at the top of the list.)
Attachments
CleanShot 2025-12-23 at 00.33.56@2x.png
CleanShot 2025-12-23 at 00.33.56@2x.png (607.89 KiB) Viewed 306 times
CleanShot 2025-12-23 at 00.33.43@2x.png
CleanShot 2025-12-23 at 00.33.43@2x.png (67.27 KiB) Viewed 306 times
CleanShot 2025-12-23 at 00.33.08@2x.png
CleanShot 2025-12-23 at 00.33.08@2x.png (145.26 KiB) Viewed 306 times
Techjar
Inserter
Inserter
Posts: 36
Joined: Tue Jan 13, 2015 11:33 pm
Contact:

Re: [2.0.72] Server-join mod downloader caches(?) too aggressively

Post by Techjar »

The mod portal uses a CDN so I would hazard a guess that this is probably just caused by a stale edge cache. Don't update your mod multiple times in the span of minutes I guess.
thesixthroc
Fast Inserter
Fast Inserter
Posts: 135
Joined: Wed Apr 29, 2020 9:53 pm
Contact:

Re: [2.0.72] Server-join mod downloader caches(?) too aggressively

Post by thesixthroc »

I wouldn’t expect an edge cache to be stale for all connecting users at once, unless users are getting poisoned.

The problem with “don’t do that” is when there’s a large server being hotfixed, repeated updates of the same mod are exactly the ones that are most valuable for the mod portal service to provide in a timely manner that day.
Post Reply

Return to “Bug Reports”