Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't log into online-mode server while using offline profile #159

Open
seahorse1seahorse opened this issue May 21, 2022 · 2 comments
Open

Comments

@seahorse1seahorse
Copy link

Trying to connect to a minecraft server and getting this error:

Can't log into online-mode server while using offline profile
Traceback (most recent call last):
File "/home/user/.local/lib/python3.10/site-packages/quarry/net/protocol.py", line 245, in data_received
self.packet_received(buff, name)
File "/home/user/.local/lib/python3.10/site-packages/quarry/net/protocol.py", line 267, in packet_received
dispatched = self.dispatch((name,), buff)
File "/home/user/.local/lib/python3.10/site-packages/quarry/net/protocol.py", line 26, in dispatch
handler(buff)
File "/home/user/.local/lib/python3.10/site-packages/quarry/net/client.py", line 153, in packet_login_encryption_request
raise ProtocolError("Can't log into online-mode server while using"
quarry.net.protocol.ProtocolError: Can't log into online-mode server while using offline profile

@davidawesome02
Copy link

Is your server in online mode?
If you are making a client which it seams you are, you have to use online mode profile to join

If you are using a proxy, try this factory.online_mode = False from https://github.com/barneygale/quarry/issues/152

look here https://github.com/barneygale/quarry/issues/135 and look here https://github.com/barneygale/quarry/pull/140 for moded ver with support for Microsoft login

@andriemc
Copy link

OF COURSE YOU CAN'T. A ONLINE SERVER DOESN'T ACCEPT A OFFLINE PROFILE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants