-
Bug
-
Resolution: Fixed
-
1.17.1
-
None
-
Confirmed
-
Networking
-
Important
When connecting to a server which has not yet finished its startup phase, you will get an AnnotatedConnectException from Netty. This exception contains the server ip.
This is unwanted, for example if a live streamer wants to connect to his private server and this server is in that specific startup phase, he will leak the server ip to all viewers.
This should be fixed, as a lot of live streamers want to hide the address of the server they are playing on from the public.
Structure of the message:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: server address here
Solution
This exception should probably be handled / catched and get its own custom error message. Additionally, it might be good to not pass any Netty exception and display it to the user.