MrKinau / FishingBot

1.8 - 1.20.6 Fishing bot for Minecraft
GNU General Public License v3.0
321 stars 67 forks source link

Can't connect to Realms after Accepting Realms TOS #157

Closed 9Hammer9 closed 2 years ago

9Hammer9 commented 2 years ago

[2021-12-01 00:15:19] [INFO ] Configuration was loaded: C:\Users\Sandh\Desktop\FishBot\config.json [2021-12-01 00:15:19] [INFO ] Trying to authenticate using access token... [2021-12-01 00:15:20] [WARNING] The access token is irrecoverably. Using password authentication. [2021-12-01 00:15:20] [INFO ] Trying to authenticate with ***@outlook.com:**** (MICROSOFT)... [2021-12-01 00:15:22] [INFO ] Authentication successful! [2021-12-01 00:15:22] [INFO ] Username: UltimaHammer [2021-12-01 00:15:29] [SEVERE ] Could not retrieve server address from https://pc.realms.minecraft.net: HTTP/1.1 403 Forbidden [2021-12-01 00:15:29] [INFO ] Trying to resolve the server address... (Try 1) [2021-12-01 00:15:32] [SEVERE ] Could not retrieve server address from https://pc.realms.minecraft.net: HTTP/1.1 403 Forbidden [2021-12-01 00:15:32] [INFO ] Trying to resolve the server address... (Try 2)

Wont try again after second attempt. If I stop it when it reaches this point I can't start it again unless I close and reopen FishBot. Attached an image of the logs too incase you need it.

image_2021-12-01_002427

MrKinau commented 2 years ago

Thanks for your issue, I haven't tested it on 1.18, but it should still work fine. The problem is that the bot can't retrieve the IP of the realm server. This is a common issue (or maybe it's a feature from Mojang), be a bit more patient the bot already tries to connect multiple times. If it still doesn't work I'll need a realm to test it.

9Hammer9 commented 2 years ago

Alrighty. Lemme know if you need more details.

9Hammer9 commented 2 years ago

So unfortunately it seems to have been an error on my part. I was connecting to the wrong realm this whole time. Sorry for wasting your time.