Skip to content

SMAPI fails (Internal CLR Error 0x80131506) if it is unable to call home. #1011

@Nox13last

Description

@Nox13last

Discussion and eventual conclusion: https://discord.com/channels/137344473976799233/1478869777609916497/1478869777609916497

Describe the bug
If SMAPI attempts to make queries for updates regarding itself or its blacklist, but doesn't receive a valid reply, the application bombs.
I experienced this issue with Pi-Hole. Closing it - or disconnecting my internet gateway - fixes the issue.

Upon nullifying the following parameters in \smapi-internal\config.json:

  • GitHubProjectName
  • WebApiBaseUrl
  • BlacklistUrl
    ...THEN it works

To Reproduce
Exact steps which reproduce the bug, if possible. For example:
Pre-requisite: Pi-Hole or any other sort of custom DNS infrastructure that governs the user's internet connection strictly.

  1. Open StardewModdingAPI.exe Program bombs before the game opens.
  2. Nullify the above parameters
  3. Open StardewModdingAPI.exe again. Game reaches main menu successfully.

Log file does not contain any errors. Last two lines:

[21:33:53 TRACE SMAPI] Checking for updates...
[21:33:53 WARN  SMAPI] Couldn't check for a new version of SMAPI. This won't affect your game, but you won't be notified of new versions if this keeps happening.

Metadata

Metadata

Assignees

Labels

not a dev taskThis is a non-development task (e.g. user support, questions, or incorrect bug report).

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions