Elytrium / Elytrium/LimboAuth-SocialAddon

[BUG]

Open
#64 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
34
Forks
27
PR merge metrics
No merged PRs in 30d

Description

[13:00:36 ERROR] [net.elytrium.limboauth.socialaddon.thirdparty.net.dv8tion.jda.api.utils.SessionControllerAdapter]: Failed to establish connection for a node, appending to queue
java.lang.IllegalStateException: com.neovisionaries.ws.client.HostnameUnverifiedException: The certificate of the peer does not match the expected hostname (gateway.discord.gg)
at net.elytrium.limboauth.socialaddon.thirdparty.net.dv8tion.jda.internal.requests.WebSocketClient.connect(WebSocketClient.java:384) ~[?:?]
at net.elytrium.limboauth.socialaddon.thirdparty.net.dv8tion.jda.internal.requests.WebSocketClient$StartingNode.run(WebSocketClient.java:1404) ~[?:?]
at net.elytrium.limboauth.socialaddon.thirdparty.net.dv8tion.jda.api.utils.ConcurrentSessionController$Worker.processQueue(ConcurrentSessionController.java:155) ~[?:?]
at net.elytrium.limboauth.socialaddon.thirdparty.net.dv8tion.jda.api.utils.ConcurrentSessionController$Worker.run(ConcurrentSessionController.java:133) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: com.neovisionaries.ws.client.HostnameUnverifiedException: The certificate of the peer does not match the expected hostname (gateway.discord.gg)
at com.neovisionaries.ws.client.SocketConnector.verifyHostname(SocketConnector.java:304) ~[?:?]
at com.neovisionaries.ws.client.SocketConnector.doConnect(SocketConnector.java:251) ~[?:?]
at com.neovisionaries.ws.client.SocketConnector.connect(SocketConnector.java:189) ~[?:?]
at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2351) ~[?:?]
at net.elytrium.limboauth.socialaddon.thirdparty.net.dv8tion.jda.internal.requests.WebSocketClient.connect(WebSocketClient.java:378) ~[?:?]
... 4 more
не запускает из за бота в дискорде, что мне делать?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the connection failure in net.dv8tion.jda.internal.requests.WebSocketClient.java and the hostname verification path in com.neovisionaries.ws.client.SocketConnector.java shown in the stack trace. Reproduce the Discord gateway connection failure and determine whether the addon or its bundled dependency causes the certificate mismatch. Done means the Discord bot connects without the HostnameUnverifiedException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.