DaftBrit/NoitaArchipelago

[Bug]: "Can't parse JSON, trailing garbage"

Closed this issue · 4 comments

Which of these are true?

  • The archipelago logo did not appear in the bottom right after starting a new game.
  • I could not connect to the Archipelago server.
  • I had other mods loaded with Archipelago (list all of them below).

What happened?

After connecting to the multiworld, an error message would occasionally pop up saying "can't parse JSON, trailing garbage" or, rarely, "JSON package groks only UTF-8, sorry". This didn't prevent sending/receiving items, and didn't seem to cause any non-graphical/UI issues.

Upload your logger.txt file here.

logger.txt

Death Link

No

Traps

Yes

Victory Condition

Pure Ending

Path Option

Main World

Hidden Chests per Biome

1

Pedestal Checks per Biome

1

Orbs as Location Checks

Main World

Bosses as Location Checks

Main Path

The bug appears to be some kind of keep alive thing (thanks silvris) probably, since it consistently happens every 20 seconds while connected. Trying to investigate it, but pretty lost on what's actually doing this keep alive here.

Do we have some example packet data?

Network lib was changed, so this issue has been successfully sidestepped