@OKH, так он же особо не зависит от версий. Если что, дай лог, посмотрим что не так. починим
23:58:32] [ConcurrentSessionController-Worker-0/ERROR]: [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 DiscordVerification.jar/net.dv8tion.jda.internal.requests.WebSocketClient.connect(WebSocketClient.java:414) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/net.dv8tion.jda.internal.requests.WebSocketClient$StartingNode.run(WebSocketClient.java:1459) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/net.dv8tion.jda.api.utils.ConcurrentSessionController$Worker.processQueue(ConcurrentSessionController.java:155) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/net.dv8tion.jda.api.utils.ConcurrentSessionController$Worker.run(ConcurrentSessionController.java:133) ~[DiscordVerification.jar:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: com.neovisionaries.ws.client.HostnameUnverifiedException: The certificate of the peer does not match the expected hostname (gateway.discord.gg)
at DiscordVerification.jar/com.neovisionaries.ws.client.SocketConnector.verifyHostname(SocketConnector.java:304) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/com.neovisionaries.ws.client.SocketConnector.doConnect(SocketConnector.java:251) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/com.neovisionaries.ws.client.SocketConnector.connect(SocketConnector.java:189) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2351) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/net.dv8tion.jda.internal.requests.WebSocketClient.connect(WebSocketClient.java:407) ~[DiscordVerification.jar:?]
... 4 more
[23:58:47] [ConcurrentSessionController-Worker-0/ERROR]: [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 DiscordVerification.jar/net.dv8tion.jda.internal.requests.WebSocketClient.connect(WebSocketClient.java:414) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/net.dv8tion.jda.internal.requests.WebSocketClient$StartingNode.run(WebSocketClient.java:1459) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/net.dv8tion.jda.api.utils.ConcurrentSessionController$Worker.processQueue(ConcurrentSessionController.java:155) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/net.dv8tion.jda.api.utils.ConcurrentSessionController$Worker.run(ConcurrentSessionController.java:133) ~[DiscordVerification.jar:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: com.neovisionaries.ws.client.HostnameUnverifiedException: The certificate of the peer does not match the expected hostname (gateway.discord.gg)
at DiscordVerification.jar/com.neovisionaries.ws.client.SocketConnector.verifyHostname(SocketConnector.java:304) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/com.neovisionaries.ws.client.SocketConnector.doConnect(SocketConnector.java:251) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/com.neovisionaries.ws.client.SocketConnector.connect(SocketConnector.java:189) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2351) ~[DiscordVerification.jar:?]
at DiscordVerification.jar/net.dv8tion.jda.internal.requests.WebSocketClient.connect(WebSocketClient.java:407) ~[DiscordVerification.jar:?]
... 4 more