ProjectInfinity / PocketVote

Documentation and support for PocketVote.io
9 stars 5 forks source link

Nukkit plugin getting error 500 response codes #8

Closed DaMatrix closed 7 years ago

DaMatrix commented 7 years ago

Votes aren't registered, instead there's an error in console and the vote checker thread dies.

ProjectInfinity commented 7 years ago

Please post logs, which site the vote is coming from and whatever else information that can help me identify the issue.

DaMatrix commented 7 years ago

The error is from pocketvote.io. It's printed on System.out and therefore not saved in the log, but here's a screenshot: http://imgur.com/G3QBg46

ProjectInfinity commented 7 years ago

Hmm, thanks. Does this happen often?

There was a slight downtime due to some upstream maintenance, it could be related to that. Let me know if it happens more.

DaMatrix commented 7 years ago

It's been being printed in the log ever minute-ish for the last 16 hours-ish. (sorry, don't know the exact time)

ProjectInfinity commented 7 years ago

Have you tried restarting the server?

DaMatrix commented 7 years ago

The server autorestarts once an hour.

ProjectInfinity commented 7 years ago

Thanks. I see there is an issue with the API contacting the database server. It's likely related to the maintenance upstream, but let me confirm this.

DaMatrix commented 7 years ago

OK, thanks :D

ProjectInfinity commented 7 years ago

Everything seems to be alright now. If your server is still not able to contact the API, which Java version are you on and what is your IP? I can attempt to contact your IP from the API servers to see if there's a routing issue on the way.

DaMatrix commented 7 years ago

It seems to work now, thanks :D