ProjectInfinity / PocketVote-Nukkit

7 stars 6 forks source link

Issue with tasks #9

Closed jrodr10 closed 5 years ago

jrodr10 commented 5 years ago

14:45:12 [ERROR] [PocketVote] Result of io.pocketvote.task.VoteCheckTask was not an instance of TaskResult.

java.net.UnknownHostException: dev.mcpe.guru at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:220) at java.base/java.net.Socket.connect(Socket.java:591) at java.base/java.net.Socket.connect(Socket.java:540) at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569) at java.base/sun.net.www.http.HttpClient.(HttpClient.java:242) at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:341) at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:362) at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1248) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081) at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1015) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1515) at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527) at io.pocketvote.task.ApiRequest.onRun(ApiRequest.java:68) at cn.nukkit.scheduler.AsyncTask.run(AsyncTask.java:23) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) 14:45:12 [ERROR] [PocketVote] Result of io.pocketvote.task.VoteLinkTask was not an instance of TaskResult. java.net.ConnectException: Connection refused (Connection refused) at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) at java.base/java.net.Socket.connect(Socket.java:591) at java.base/java.net.Socket.connect(Socket.java:540) at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569) at java.base/sun.net.www.http.HttpClient.(HttpClient.java:242) at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:341) at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:362) at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1248) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081) at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1015) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1362) at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1337) at io.pocketvote.task.HeartbeatTask.onRun(HeartbeatTask.java:73) at cn.nukkit.scheduler.AsyncTask.run(AsyncTask.java:23) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)

ProjectInfinity commented 5 years ago

Set dev to false in the config.

jrodr10 commented 5 years ago

Dev is set to true because items are not being sent to the player.

jrodr10 commented 5 years ago

Figure dev would show debug error, evidentially not just unrelated error

jrodr10 commented 5 years ago

Offline votes are not saving

ProjectInfinity commented 5 years ago

Dev HAS to be set to false.

On Sat, 26 Oct 2019, 18:15 LinuxLogo, notifications@github.com wrote:

Offline votes are not saving

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ProjectInfinity/PocketVote-Nukkit/issues/9?email_source=notifications&email_token=AAEQ7TQR4NXTPLDTQWD433LQQRUI7A5CNFSM4JFNREAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECKLKHA#issuecomment-546616604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEQ7TVCVSQFDMNWLTA5EUTQQRUI7ANCNFSM4JFNREAA .

jrodr10 commented 5 years ago

Okay dev is set to false problem still occurs throws no error this time now what?

ProjectInfinity commented 5 years ago

Create tickets for other issues.