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 authenticate against Mojang Authentication Server #239

Open
Hasenzahn1 opened this issue Dec 8, 2021 · 6 comments
Open

Can't authenticate against Mojang Authentication Server #239

Hasenzahn1 opened this issue Dec 8, 2021 · 6 comments
Labels

Comments

@Hasenzahn1
Copy link

Ok so after installing this "package" i tried the start.py entered my Account Name and Password multiple time correctly but everytime when trying to authenticate i get a [403] ForbiddenOperationException: 'Invalid credentials. Invalid username or password. Exception.
I have no clue how to resolve this. The account i try to authenticate is not migrated so this shouldn't be a problem. It would be nice if someone could help me.

Also a suggestion:
Create a Discord server if you haven't done already (i couldn't find it?) and link to it in the wiki.

@MiniDigger
Copy link

are you using a microsoft account?

@Hasenzahn1
Copy link
Author

As stated in the issue, no.

@MisterSoandSo
Copy link
Contributor

Mojang Authentication is being depreciated. As this version of pyCraft only supports the old Mojang Auth, you would need to implement or find someone who implemented the Microsoft Auth.

@Hasenzahn1
Copy link
Author

Hasenzahn1 commented Dec 11, 2021

But i don't use a Microsoft account!
I am using a normal mojang account that has not been migrated.

@joodicator
Copy link
Collaborator

@Hasenzahn1

Ok so after installing this "package" i tried the start.py entered my Account Name and Password multiple time correctly but everytime when trying to authenticate i get a [403] ForbiddenOperationException: 'Invalid credentials. Invalid username or password. Exception.
I have no clue how to resolve this. The account i try to authenticate is not migrated so this shouldn't be a problem. It would be nice if someone could help me.

There are two possible causes I can think of:

  1. Mojang's authentication server sometimes returns this error when a host has been rate-limited for sending too many authentication attempts; if you wait for an hour and authenticate with the correct credentials, it may work.
  2. The "username" you authenticate is usually an email address, rather than the profile name associated with your account - make sure you are using the former.

@joodicator
Copy link
Collaborator

Also a suggestion:
Create a Discord server if you haven't done already (i couldn't find it?) and link to it in the wiki.

The IRC channel #mcdevs on irc.libera.chat seems to be the current real-time chat location for this kind of development. I wouldn't rule out a move to Discord in the future, but IRC still seems to be established as the medium for open-source software development. Anyway, if you want to advocate a change in the status quo, it might be better to discuss it there.

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

No branches or pull requests

4 participants