pyCraft
pyCraft copied to clipboard
Can't authenticate against Mojang Authentication Server
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.
are you using a microsoft account?
As stated in the issue, no.
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.
But i don't use a Microsoft account! I am using a normal mojang account that has not been migrated.
@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:
- 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.
- 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.
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.