Jump to content

Discord Integration Error


Shirou

Recommended Posts

I've enabled Discord and created the Discord Bot with adding the token and copied the channel ID.

 

But each time when starting the server I get the below errors and server does not seem to start, and as soons as I disable Discord again in the config it works again, do I miss something?

Quote

[16-01-22 12:52:03.687] LOG  : Network     , 1642330323687> 3 440 334 674> *** SERVER STARTED ****.
[16-01-22 12:52:03.688] LOG  : Network     , 1642330323688> 3 440 334 676> *** Steam is enabled.
[16-01-22 12:52:03.689] LOG  : Network     , 1642330323689> 3 440 334 677> server is listening on port 56361.
[16-01-22 12:52:03.690] LOG  : General     , 1642330323690> 3 440 334 678> LuaNet: Initializing....
[16-01-22 12:52:03.691] LOG  : General     , 1642330323691> 3 440 334 679> LuaNet: Registering server listener....
[16-01-22 12:52:03.692] LOG  : General     , 1642330323692> 3 440 334 680> LuaNet: Initialization [DONE], triggering events for 'LuaNet.onInitAdd'..
[16-01-22 12:52:04.029] ERROR: General     , 1642330324029> 3 440 335 016> Exception in thread "main" .
[16-01-22 12:52:04.030] ERROR: General     , 1642330324030> 3 440 335 017> java.lang.ExceptionInInitializerError.
[16-01-22 12:52:04.031] ERROR: General     , 1642330324030> 3 440 335 017>     at com.mashape.unirest.http.Unirest.setDefaultHeader(Unirest.java:123).
[16-01-22 12:52:04.031] ERROR: General     , 1642330324031> 3 440 335 018>     at de.btobastian.javacord.Javacord.<clinit>(Javacord.java:45).
[16-01-22 12:52:04.032] ERROR: General     , 1642330324032> 3 440 335 019>     at zombie.network.DiscordBot.connect(DiscordBot.java:45).
[16-01-22 12:52:04.032] ERROR: General     , 1642330324032> 3 440 335 019>     at zombie.network.GameServer.startServer(GameServer.java:1430).
[16-01-22 12:52:04.033] ERROR: General     , 1642330324033> 3 440 335 020>     at zombie.network.GameServer.main(GameServer.java:719).
[16-01-22 12:52:04.034] ERROR: General     , 1642330324033> 3 440 335 020> Caused by: java.lang.RuntimeException: org.apache.http.nio.reactor.IOReactorException: Failure opening selector.
[16-01-22 12:52:04.034] ERROR: General     , 1642330324034> 3 440 335 021>     at com.mashape.unirest.http.options.Options.refresh(Options.java:90).
[16-01-22 12:52:04.035] ERROR: General     , 1642330324034> 3 440 335 021>     at com.mashape.unirest.http.options.Options.<clinit>(Options.java:46).
[16-01-22 12:52:04.035] ERROR: General     , 1642330324035> 3 440 335 022>     ... 5 more.
[16-01-22 12:52:04.035] ERROR: General     , 1642330324035> 3 440 335 022> Caused by: org.apache.http.nio.reactor.IOReactorException: Failure opening selector.
[16-01-22 12:52:04.036] ERROR: General     , 1642330324036> 3 440 335 023>     at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.<init>(AbstractMultiworkerIOReactor.java:146).
[16-01-22 12:52:04.037] ERROR: General     , 1642330324037> 3 440 335 024>     at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.<init>(DefaultConnectingIOReactor.java:81).
[16-01-22 12:52:04.038] ERROR: General     , 1642330324038> 3 440 335 024>     at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.<init>(DefaultConnectingIOReactor.java:107).
[16-01-22 12:52:04.039] ERROR: General     , 1642330324038> 3 440 335 025>     at com.mashape.unirest.http.options.Options.refresh(Options.java:85).
[16-01-22 12:52:04.039] ERROR: General     , 1642330324039> 3 440 335 026>     ... 6 more.
[16-01-22 12:52:04.040] ERROR: General     , 1642330324040> 3 440 335 027> Caused by: java.io.IOException: Unable to establish loopback connection.
[16-01-22 12:52:04.042] ERROR: General     , 1642330324042> 3 440 335 029>     at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source).
[16-01-22 12:52:04.044] ERROR: General     , 1642330324044> 3 440 335 030>     at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source).
[16-01-22 12:52:04.045] ERROR: General     , 1642330324045> 3 440 335 032>     at java.base/java.security.AccessController.doPrivileged(Unknown Source).
[16-01-22 12:52:04.046] ERROR: General     , 1642330324046> 3 440 335 033>     at java.base/sun.nio.ch.PipeImpl.<init>(Unknown Source).
[16-01-22 12:52:04.047] ERROR: General     , 1642330324047> 3 440 335 034>     at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source).
[16-01-22 12:52:04.048] ERROR: General     , 1642330324048> 3 440 335 035>     at java.base/java.nio.channels.Pipe.open(Unknown Source).
[16-01-22 12:52:04.049] ERROR: General     , 1642330324049> 3 440 335 036>     at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source).
[16-01-22 12:52:04.050] ERROR: General     , 1642330324050> 3 440 335 037>     at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source).
[16-01-22 12:52:04.051] ERROR: General     , 1642330324051> 3 440 335 038>     at java.base/java.nio.channels.Selector.open(Unknown Source).
[16-01-22 12:52:04.053] ERROR: General     , 1642330324052> 3 440 335 039>     at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.<init>(AbstractMultiworkerIOReactor.java:144).
[16-01-22 12:52:04.054] ERROR: General     , 1642330324053> 3 440 335 040>     ... 9 more.
[16-01-22 12:52:04.055] ERROR: General     , 1642330324054> 3 440 335 041> Caused by: java.net.BindException: Cannot assign requested address: connect.
[16-01-22 12:52:04.055] ERROR: General     , 1642330324055> 3 440 335 042>     at java.base/sun.nio.ch.Net.connect0(Native Method).
[16-01-22 12:52:04.056] ERROR: General     , 1642330324056> 3 440 335 043>     at java.base/sun.nio.ch.Net.connect(Unknown Source).
[16-01-22 12:52:04.057] ERROR: General     , 1642330324057> 3 440 335 044>     at java.base/sun.nio.ch.SocketChannelImpl.connect(Unknown Source).
[16-01-22 12:52:04.058] ERROR: General     , 1642330324058> 3 440 335 045>     at java.base/java.nio.channels.SocketChannel.open(Unknown Source).
[16-01-22 12:52:04.058] ERROR: General     , 1642330324058> 3 440 335 045>     at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(Unknown Source).
[16-01-22 12:52:04.059] ERROR: General     , 1642330324059> 3 440 335 046>     ... 19 more.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...