minecraft-reverse-proxy icon indicating copy to clipboard operation
minecraft-reverse-proxy copied to clipboard

Fix servers not pinging

Open notsapinho opened this issue 1 year ago • 4 comments

notsapinho avatar Dec 26 '22 14:12 notsapinho

I had a look at your PR. The proxy sending a status request shouldn't really be necessary, because the connection streams are simply piped after the handshake and the clients send this packet anyway. Aside from that, there is no server variable which you used in your code. What is the issue/error you are having?

janispritzkau avatar Dec 27 '22 15:12 janispritzkau

Oh sorry, I messed up the variable, it was conn I was looking for. Back into the issue, when I ping the server it just get stuck on "Pinging...", adding that line of code seemed to fix the issue.

notsapinho avatar Dec 27 '22 16:12 notsapinho

I can confirm that with the server changed to conn this resolve the issue https://github.com/janispritzkau/minecraft-reverse-proxy/issues/6

Would be nice to have a fix for that, whatever it's with this code or a more "correct" way to do it

brodokk avatar Apr 10 '23 09:04 brodokk

any patch?

UTrosh avatar Jul 20 '23 14:07 UTrosh