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

Error Requester #1370

Open
3 tasks done
FreakyBeast opened this issue May 7, 2023 · 0 comments
Open
3 tasks done

Error Requester #1370

FreakyBeast opened this issue May 7, 2023 · 0 comments

Comments

@FreakyBeast
Copy link

Bug Description

[22:11:54] [ERROR] [Requester]: There was an I/O error while executing a REST request: Cannot assign requested address: no further information
Exception in thread "main" net.dv8tion.jda.api.exceptions.ErrorResponseException: -1: java.net.BindException
at net.dv8tion.jda.internal.requests.RestActionImpl.complete(RestActionImpl.java:227)
at net.dv8tion.jda.api.requests.RestAction.complete(RestAction.java:633)
at net.dv8tion.jda.api.utils.SessionControllerAdapter.getGateway(SessionControllerAdapter.java:86)
at net.dv8tion.jda.internal.JDAImpl.getGateway(JDAImpl.java:318)
at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:276)
at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:268)
at net.dv8tion.jda.api.JDABuilder.build(JDABuilder.java:1874)
at com.jagrosh.jmusicbot.JMusicBot.startBot(JMusicBot.java:187)
at com.jagrosh.jmusicbot.JMusicBot.main(JMusicBot.java:65)
Caused by: java.net.BindException: Cannot assign requested address: no further information
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:673)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:535)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:585)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:666)
at okhttp3.internal.platform.Platform.connectSocket(Platform.java:128)
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:247)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:167)
at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257)
at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)
at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:264)
at okhttp3.RealCall.execute(RealCall.java:93)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:201)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:252)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:141)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:124)
at net.dv8tion.jda.internal.requests.ratelimit.BotRateLimiter$Bucket.run(BotRateLimiter.java:478)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1623)
Caused by: net.dv8tion.jda.api.exceptions.ContextException
at net.dv8tion.jda.api.exceptions.ContextException.here(ContextException.java:54)
at net.dv8tion.jda.api.requests.Request.(Request.java:71)
at net.dv8tion.jda.api.requests.RestFuture.(RestFuture.java:36)
at net.dv8tion.jda.internal.requests.RestActionImpl.submit(RestActionImpl.java:209)
at net.dv8tion.jda.internal.requests.RestActionImpl.complete(RestActionImpl.java:219)
at net.dv8tion.jda.api.requests.RestAction.complete(RestAction.java:633)
at net.dv8tion.jda.api.utils.SessionControllerAdapter.getGateway(SessionControllerAdapter.java:86)
at net.dv8tion.jda.internal.JDAImpl.getGateway(JDAImpl.java:318)
at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:276)
at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:268)
at net.dv8tion.jda.api.JDABuilder.build(JDABuilder.java:1874)
at com.jagrosh.jmusicbot.JMusicBot.startBot(JMusicBot.java:187)
at com.jagrosh.jmusicbot.JMusicBot.main(JMusicBot.java:65)

Steps to Reproduce

unknown. I simply installed java and ran bot and encountered above,

Expected Result

I am wanting to be able to use the bot

Debug Output

[22:11:54] [ERROR] [Requester]: There was an I/O error while executing a REST request: Cannot assign requested address: no further information
Exception in thread "main" net.dv8tion.jda.api.exceptions.ErrorResponseException: -1: java.net.BindException
at net.dv8tion.jda.internal.requests.RestActionImpl.complete(RestActionImpl.java:227)
at net.dv8tion.jda.api.requests.RestAction.complete(RestAction.java:633)
at net.dv8tion.jda.api.utils.SessionControllerAdapter.getGateway(SessionControllerAdapter.java:86)
at net.dv8tion.jda.internal.JDAImpl.getGateway(JDAImpl.java:318)
at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:276)
at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:268)
at net.dv8tion.jda.api.JDABuilder.build(JDABuilder.java:1874)
at com.jagrosh.jmusicbot.JMusicBot.startBot(JMusicBot.java:187)
at com.jagrosh.jmusicbot.JMusicBot.main(JMusicBot.java:65)
Caused by: java.net.BindException: Cannot assign requested address: no further information
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:673)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:535)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:585)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:666)
at okhttp3.internal.platform.Platform.connectSocket(Platform.java:128)
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:247)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:167)
at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257)
at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)
at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:264)
at okhttp3.RealCall.execute(RealCall.java:93)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:201)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:252)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:141)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:124)
at net.dv8tion.jda.internal.requests.ratelimit.BotRateLimiter$Bucket.run(BotRateLimiter.java:478)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1623)
Caused by: net.dv8tion.jda.api.exceptions.ContextException
at net.dv8tion.jda.api.exceptions.ContextException.here(ContextException.java:54)
at net.dv8tion.jda.api.requests.Request.(Request.java:71)
at net.dv8tion.jda.api.requests.RestFuture.(RestFuture.java:36)
at net.dv8tion.jda.internal.requests.RestActionImpl.submit(RestActionImpl.java:209)
at net.dv8tion.jda.internal.requests.RestActionImpl.complete(RestActionImpl.java:219)
at net.dv8tion.jda.api.requests.RestAction.complete(RestAction.java:633)
at net.dv8tion.jda.api.utils.SessionControllerAdapter.getGateway(SessionControllerAdapter.java:86)
at net.dv8tion.jda.internal.JDAImpl.getGateway(JDAImpl.java:318)
at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:276)
at net.dv8tion.jda.internal.JDAImpl.login(JDAImpl.java:268)
at net.dv8tion.jda.api.JDABuilder.build(JDABuilder.java:1874)
at com.jagrosh.jmusicbot.JMusicBot.startBot(JMusicBot.java:187)
at com.jagrosh.jmusicbot.JMusicBot.main(JMusicBot.java:65)

Additional Info

No response

Checklist

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

1 participant