Wrong port is used for proxy connection.
Radiquum opened this issue ยท 0 comments
Expected behavior
Plugin will connect to the proxy with the port defined in the config file
Actual behavior
Plugin is connecting to the proxy host with port 80 when using websockets connection.
[DiscordSRV] [JDA] Failed to establish connection for a node, appending to queue
java.lang.IllegalStateException: github.scarsz.discordsrv.dependencies.ws.client.WebSocketException: SSL handshake with the WebSocket endpoint (<ip>:80) failed: Unsupported or unrecognized SSL message
Steps to reproduce
- download a plugin, version: 1.29.0-SNAPSHOT-057d332
- define a proxy settings in config
ProxyHost: "<ip>"
ProxyPort: 1088
ProxyUser: "<redacted>"
ProxyPassword: "<redacted>"
- run the server and wait until plugin will attempt to connect to the discord bot via websockets connection
Server software and version
Paper 1.21.1-122-master@4430e96 for Minecraft 1.21.1
Checks
- I am not using an outdated version of DiscordSRV.
- I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.
Ticket number or message link to where you asked in DiscordSRV's Discord server about this
19494
Anything else
Server latest.log: https://pastebin.com/N3gnf6GP from line 81
OS: Ubuntu 22.04
Server is running via Crafty Controller installed as docker container