The bug
When the launcher notices that there's a new version of the asset index available, it first shows the following warning instead of just downloading the new assets.
This issue usually happens when a snapshot has been released but not downloaded yet. The first try of clicking onto the "Play" button will fail in this case, but after that the game will be able to launch successfully.
Failed to download file, the file contents differ from what was expected.
Name: 1.15.json
URL: https://launchermeta.mojang.com/v1/packages/a3168de4f437fda8464afbaeb28866ee5b279426/1.15.json
Filename on disk: 1.15.json
Path: D:\Users\Daniel\Games\Minecraft\AppData\assets\indexes\1.15.json
Exists: File
Linked issues
is duplicated by 3
relates to 1
Attachments
Comments 9
Nope, this one is not caused by incompatible software. It's caused by the launcher detecting that the asset index has changed, but throwing an error instead of just updating it. Note the different error message.
I assumed dupe because this one got marked as a duplicate: MCL-10593
Added more info to the ticket - but this issue is no longer happening to me. Might be fixed in the beta launcher?
When I was launching 1.15.1 today I still encountered this. I was using 2.1.10581 (which cannot be found in the Affected Version/s list).
Added it, the version is called "2.1.10578-2.1.10581 (Beta)" since different operating systems have different launcher version numbers.
Confirming this happens every now and again for me - I hadn't played for 7 days, my last log was 2019-12-17-1.log.gz . No crash report. A second attempt at Play always works. assets/indexes shows 1.15.json from today and 1.14.json from 04/07/2019. Windows 8. Minecraft 1.15.1 Vanilla, no mods, selecting latest snapshots. Part of launcher_log.txt has:
[Info: 2019-12-24 13:29:54.0869371: GameCallbacks.cpp(142)] Launcher/launcher (main) Error Download from [https://launchermeta.mojang.com/v1/packages/62745391056f1d0e1ffc808a0d4f0145b668ca24/1.15.json] had invalid checksum! Expected: 62745391056f1d0e1ffc808a0d4f0145b668ca24 got: 037b739b6b40bc18f0db68d83ae59b74fa20d98d
[Warning: 2019-12-24 13:29:54.0872507: Downloadable.cpp(196)] Couldn't download C:\Users\bob\AppData\Roaming\.minecraft\assets\indexes\1.15.json: DOWNLOAD_HASH_MISMATCH
URL: [https://launchermeta.mojang.com/v1/packages/62745391056f1d0e1ffc808a0d4f0145b668ca24/1.15.json]
Name: 1.15.json
File: C:\Users\bob\AppData\Roaming\.minecraft\assets\indexes\1.15.json
[Info: 2019-12-24 13:29:54.0873441: GameCallbacks.cpp(142)] Launcher/launcher (main) Error Unable to download [https://launchermeta.mojang.com/v1/packages/62745391056f1d0e1ffc808a0d4f0145b668ca24/1.15.json] to C:\Users\bob\AppData\Roaming\.minecraft\assets\indexes\1.15.json
[Info: 2019-12-24 13:30:21.2785404: GameController.cpp(345)] Creating ClientStarter with id 2
[Info: 2019-12-24 13:30:21.2785946: NetQueue.cpp(204)] NetQueue: Setting up.
[Info: 2019-12-24 13:30:21.2791668: GameCallbacks.cpp(142)] Launcher/launcher (main) Info Preparing to launch minecraft client for 1.15.1
[Info: 2019-12-24 13:30:21.2805619: GameCallbacks.cpp(142)] Launcher/launcher (main) Warn Local file C:\Users\bob\AppData\Roaming\.minecraft\assets\indexes\1.15.json has wrong SHA-1 hash, expected 62745391056f1d0e1ffc808a0d4f0145b668ca24 but was 037b739b6b40bc18f0db68d83ae59b74fa20d98d
[Info: 2019-12-24 13:30:21.2809342: GameCallbacks.cpp(142)] Launcher/launcher (main) Info Deleted Local file C:\Users\bob\AppData\Roaming\.minecraft\assets\indexes\1.15.json
[Info: 2019-12-24 13:30:21.2809767: GameCallbacks.cpp(142)] Launcher/launcher (main) Debug Prepared asset index
[Info: 2019-12-24 13:30:21.2811738: NetQueue.cpp(528)] NetQueue: worker thread started.
[Info: 2019-12-24 13:30:21.2841052: NetQueue.cpp(543)] NetQueue: Starting net action [https://launchermeta.mojang.com/v1/packages/62745391056f1d0e1ffc808a0d4f0145b668ca24/1.15.json]
[Error: 2019-12-24 13:30:21.2865892: ControllerInterface.cpp(95)] updateConfigurationParams.configuration.id: Unknown key
[Info: 2019-12-24 13:30:21.7162947: NetQueue.cpp(408)] NetQueue: Primary ip: 143.204.93.135, Url: launchermeta.mojang.com
[Info: 2019-12-24 13:30:21.7164097: NetQueue.cpp(480)] NetQueue: Action finished: [https://launchermeta.mojang.com/v1/packages/62745391056f1d0e1ffc808a0d4f0145b668ca24/1.15.json]
[Info: 2019-12-24 13:30:21.7283103: GameCallbacks.cpp(142)] Launcher/launcher (main) Debug Download from [https://launchermeta.mojang.com/v1/packages/62745391056f1d0e1ffc808a0d4f0145b668ca24/1.15.json] passed checksum check.
[media]
Looks like a dupe of: MCL-5546