Closed Fnhenriquez closed 1 year ago
Also, I realize this is the same problem as the last issue, which has not been solved. I apologize for opening a new issue with the same problem.
Tracking this issue in #192 but I actually have no idea why this is happening tbh
I have been trying to connect the bot to a server (PloudOS.com free server), and I can log in just fine with my official Minecraft account and launcher, but the bot keeps getting disconnected immediately due to invalid public key signature. I have tried to sync time of windows, and turn "enforce-secure-profile" o false on server properties, but the error still persists. Attached below is the log of when I try to connect to the bot.
[2023-05-30 11:33:03] [INFO ] Configuration was loaded: C:\Users###############################\FishingBot\config.json [2023-05-30 11:33:03] [INFO ] Trying to authenciate at Microsoft... [2023-05-30 11:33:03] [INFO ] Found refreshToken at C:\Users###############################\FishingBot\refreshToken [2023-05-30 11:33:03] [INFO ] Trying to refresh access token... [2023-05-30 11:33:05] [INFO ] Access token successfully refreshed [2023-05-30 11:33:07] [INFO ] Username: ############ [2023-05-30 11:33:07] [INFO ] Pinging #########.ploudos.me:25565 with protocol of MC-AUTOMATIC [2023-05-30 11:33:09] [INFO ] The server host has been changed: tsang.ploudos.com. [2023-05-30 11:33:09] [INFO ] The server port has been changed: 19037 [2023-05-30 11:33:10] [INFO ] Received pong: PloudOS Server, version: 1.19.4 (762), players online: 0 [2023-05-30 11:33:10] [INFO ] Obtained the required keys for chat signing! [2023-05-30 11:33:10] [INFO ] Module "HandshakeModule" enabled! [2023-05-30 11:33:10] [INFO ] Module "LoginModule" enabled! [2023-05-30 11:33:10] [INFO ] Module "ClientDefaultsModule" enabled! [2023-05-30 11:33:10] [INFO ] Module "FishingModule" enabled! [2023-05-30 11:33:10] [INFO ] Module "ChatProxyModule" enabled! [2023-05-30 11:33:10] [INFO ] Module "ChatCommandModule" enabled! [2023-05-30 11:33:10] [INFO ] Module "EjectionModule" enabled! [2023-05-30 11:33:11] [INFO ] Login successful! [2023-05-30 11:33:11] [INFO ] Name: ########### [2023-05-30 11:33:11] [INFO ] UUID: ############################# [2023-05-30 11:33:12] [INFO ] I start to fish! [2023-05-30 11:33:14] [INFO ] Achieved level: 28 [2023-05-30 11:33:14] [INFO ] Disconnected: {"translate":"multiplayer.disconnect.invalid_public_key_signature"} [2023-05-30 11:33:14] [INFO ] Module "LoginModule" disabled! [2023-05-30 11:33:14] [INFO ] Module "ClientDefaultsModule" disabled! [2023-05-30 11:33:14] [INFO ] Module "FishingModule" disabled! [2023-05-30 11:33:14] [INFO ] Module "ChatProxyModule" disabled! [2023-05-30 11:33:14] [INFO ] Module "ChatCommandModule" disabled! [2023-05-30 11:33:14] [INFO ] Module "EjectionModule" disabled! [2023-05-30 11:33:14] [INFO ] FishingBot will reconnect in 5 seconds...