BenCodez / VotifierPlus

Fork of votifier
8 stars 6 forks source link

Unable to establish a connection #43

Closed ErrorHunter1 closed 10 months ago

ErrorHunter1 commented 10 months ago

I tried to adjust everything, but the error comes that it doesn't work

Log: [23:46:12 WARN]: java.lang.NullPointerException: Cannot invoke "com.vexsoftware.votifier.net.VoteReceiver.encrypt(byte[], java.security.PublicKey)" because the return value of "com.vexsoftware.votifier.VotifierPlus.getVoteReceiver()" is null [23:46:12 WARN]: at VotifierPlus.jar//com.vexsoftware.votifier.commands.CommandLoader$3.execute(CommandLoader.java:91) [23:46:12 WARN]: at VotifierPlus.jar//com.bencodez.VotifierPlus.advancedcore.api.command.CommandHandler$1.run(CommandHandler.java:446) [23:46:12 WARN]: at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) [23:46:12 WARN]: at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) [23:46:12 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [23:46:12 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [23:46:12 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [23:46:12 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)

BenCodez commented 10 months ago

check startup log?

ErrorHunter1 commented 10 months ago

check startup log?

From the bungee cord or from the other server?

BenCodez commented 10 months ago

Whatever server that is

ErrorHunter1 commented 10 months ago

My server 😅

I have set everything on the west side, set up the port for bungee and forwarding with the public key

BenCodez commented 10 months ago

Send your console log and config

ErrorHunter1 commented 10 months ago

latest.log

config (1).log

BenCodez commented 10 months ago
[23:43:33] [Server thread/ERROR]: [VotifierPlus] Error initializing vote receiver. Please verify that the configured
[23:43:33] [Server thread/ERROR]: [VotifierPlus] IP address and port are not already in use. This is a common problem
[23:43:33] [Server thread/ERROR]: [VotifierPlus] with hosting services and, if so, you should check with your hosting provider.
[23:43:33] [Server thread/WARN]: java.net.BindException: Cannot assign requested address
ErrorHunter1 commented 10 months ago

It worked I already had port but what forgot to activate thank you 🙏