Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signature is not valid #1

Open
valcrye opened this issue Nov 6, 2020 · 2 comments
Open

Signature is not valid #1

valcrye opened this issue Nov 6, 2020 · 2 comments

Comments

@valcrye
Copy link

valcrye commented Nov 6, 2020

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

@gardenerik
Copy link
Owner

Hi,
I am unfortunately unable to reproduce this issue.

Can you please share your:

  • python version
  • NuVotifier version (/ver votifier)

@Iapetus-11
Copy link

You need to use the token in the config.yml file, not the RSA key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants