Skip to content

Signature is not valid #1

@valcrye

Description

@valcrye

Hi, I am attempting to use this to send a vote from python to a Minecraft server.

All the details are correct as far as I am aware though the server seems to always return
votifier2.exceptions.VotifierError: Server error: CorruptedFrameException: Signature is not valid (invalid token?)

The secret works fine on voting sites (such as PlanetMinecraft) but not through Python.
I am basically following the example

import votifier2

secret = "REDACTED"

v = Vote("testvote", "Notch", "MY-IP")
s = Server("NUVOTIFIER-IP", 45454, secret)

s.send_vote(v)

is there anything I am doing wrong here? It all looks fine. Thanks

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