sirjonasxx / G-Earth

Cross-platform Habbo packet manipulator
MIT License
88 stars 47 forks source link

Can't Connect with Nitro in a Retro #159

Open thauanvargas opened 1 year ago

thauanvargas commented 1 year ago

Hey, so I'm trying to connect into a Retro, but i'm not able to with Nitro, with Flash works.

Host: https://ironhotel.org

Flash:

So basically i've tested @UnfamiliarLegacy fix at https://github.com/sirjonasxx/G-Earth/pull/149 in Windows 11 64bit When I runned that version of G-Earth and tried to connect Nitro I faced the problem of Untrusted Certificates on the website (see bottom of this issue), then I runned certutil install_certs.bat from @WiredSpast and it worked, I could sign in in the Hotel. Tested running Chrome in Incognito, it seems it's closer to connect to the hotel rather then the most recent version of G-Earth (1.5.3) as when you start connecting, it shows the Hotel Version. But the behavior is still weird, sometimes it blinks the Hotel Version, sometimes don't...

I tested build in https://github.com/sirjonasxx/G-Earth/actions/runs/4702547020 And also tested running with a cherry-pick with commit hash 16749e9 from https://github.com/sirjonasxx/G-Earth/pull/149

Found the following errors:

16:46:13.960 [qtp1773594063-145] INFO  g.p.c.p.n.w.NitroWebsocketServer - Connected to origin websocket
org.eclipse.jetty.websocket.api.UpgradeException: Failed to upgrade to websocket: Unexpected HTTP Response Status Code: 503 Service Unavailable
    at org.eclipse.jetty.websocket.client.WebSocketUpgradeRequest.onComplete(WebSocketUpgradeRequest.java:537)
    at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:218)
    at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:210)
    at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:481)
    at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:461)
    at org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:424)
    at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:374)
    at org.eclipse.jetty.http.HttpParser.handleContentMessage(HttpParser.java:597)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1603)
    at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.shutdown(HttpReceiverOverHTTP.java:269)
    at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:185)
    at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:80)
    at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:131)
    at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:172)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
    at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555)
    at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410)
    at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
    at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
    at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
    at java.lang.Thread.run(Thread.java:748)

Screenshot if not running install_cert.bat image

Note: this happens when you try accessing all pages , so you are obligated to run install_certs, I don't know if this is a good approach, so either there is some bug for me which is not adding the certificates correctly when I press the following message. As it always asks this too, but maybe this happens because I run a modified OS where I run everything as administrator, I don't know. image