Skip to content

MalformedJsonException when receiving votes from Minecraft-MP vote occasionally not counted #156

@eoxyn

Description

@eoxyn

[12:54:02 WARN] [votifierplus]: Exception caught while receiving a vote notification from: /54.37.31.166:56798 - com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 12 path $.ɒ��7��O_�
See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json

Description
VotifierPlus occasionally fails to process incoming votes from Minecraft-MP, throwing a MalformedJsonException. When this happens, the vote is not counted and no reward is given to the player. The issue is rare but reproducible — the majority of votes from the same site are processed correctly.
Log Output
[12:54:02 WARN] [votifierplus]: Exception caught while receiving a vote notification from: /54.37.31.166:56798 - com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 12 path $.ɒ��7��O_�
See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json
The unreadable characters in the JSON path ($.ɒ��7��O_�) suggest the decrypted payload contains binary garbage rather than valid JSON, which points to a decryption or protocol-handling issue rather than a malformed payload from the sender.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions