MultiMC / Launcher

A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once
https://multimc.org/
Other
4.25k stars 872 forks source link

Double check that required/forced migration shows up correctly in the UI #4317

Open ThEChaOTiC001 opened 2 years ago

ThEChaOTiC001 commented 2 years ago

Operating System

Windows

Description of bug

Minecraft Java profile acquisition failed. image

Steps to reproduce

Nothing

Suspected cause

IDK I do have a Mojang account but nothing happened

This issue is unique

phit commented 2 years ago

please reproduce the issue and then provide your MultiMC-0.log from the main launcher folder

davey-tan commented 2 years ago

Hi, I got this error too.

https://pastebin.com/cuFZNYSm

jakedecourcey commented 2 years ago

Same error

   53.034 C Task "LaunchController(0x2291cc0)" failed:  "No account selected for launch."
   53.034 W QCoreApplication::postEvent: Unexpected null receiver
   55.159 D Opening URL "https://github.com/MultiMC/MultiMC5/issues"
  140.572 W QCoreApplication::postEvent: Unexpected null receiver
  147.740 D Task "MojangLogin(0x7f7e580299a0)" starting for the first time
  147.741 D AuthFlow: "Logging in with Mojang account."
  147.741 D Task "Yggdrasil(0x21cc0e0)" starting for the first time
  147.897 D Processing authentication response.
  147.898 D Getting access token.
  147.898 D Finished reading authentication response.
  147.898 D Task "Yggdrasil(0x21cc0e0)" succeeded
  147.898 D AuthFlow: "Fetching the Minecraft profile."
  148.029 W AuthRequest::onRequestError: Error 201
  148.029 W AuthRequest::onRequestError: Error string:  "Error transferring https://api.minecraftservices.com/minecraft/profile - server replied: Forbidden"
  148.029 W AuthRequest::onRequestError: HTTP status 403 "Forbidden"
  148.029 C Task "MojangLogin(0x7f7e580299a0)" failed:  "Minecraft Java profile acquisition failed."
davey-tan commented 2 years ago

I've decided to migrate to Microsoft account instead.

ZephaniahNoah commented 2 years ago

I am having the same issue. At first I thought this was Mojang forcing me to migrate my account. But my other non-migrated account still works. I even downloaded ATLauncher and logged in without issues. scrot Here's what the log spits out when I try to login.

   52.154 D Task "MojangLogin(0x383ac40)" starting for the first time
   52.154 D AuthFlow: "Logging in with Mojang account."
   52.154 D Task "Yggdrasil(0x37f3780)" starting for the first time
   52.440 D Processing authentication response.
   52.440 D Getting access token.
   52.440 D Finished reading authentication response.
   52.440 D Task "Yggdrasil(0x37f3780)" succeeded
   52.440 D AuthFlow: "Fetching the Minecraft profile."
   52.558 W AuthRequest::onRequestError: Error 201
   52.558 W AuthRequest::onRequestError: Error string:  "Error transferring https://api.minecraftservices.com/minecraft/profile - server replied: Forbidden"
   52.558 W AuthRequest::onRequestError: HTTP status 403 "Forbidden"
   52.558 C Task "MojangLogin(0x383ac40)" failed:  "Minecraft Java profile acquisition failed."

MultiMC version: 0.6.14-2998

Xetaxheb commented 2 years ago
35.444 D Task "MojangLogin(0x791c540)" starting for the first time
35.444 D AuthFlow: "Logging in with Mojang account."
35.444 D Task "Yggdrasil(0x7915010)" starting for the first time
35.810 D Processing authentication response.
35.810 D Getting access token.
35.810 D Finished reading authentication response.
35.810 D Task "Yggdrasil(0x7915010)" succeeded
35.810 D AuthFlow: "Fetching the Minecraft profile."
36.010 W AuthRequest::onRequestError: Error 202
36.010 W AuthRequest::onRequestError: Error string:  "Error transferring https://api.minecraftservices.com/minecraft/profile - server replied: Forbidden"
36.010 W AuthRequest::onRequestError: HTTP status 403 "Forbidden"
36.010 W Error getting profile:
36.010 W  HTTP Status:         403
36.010 W  Internal error no.:  QNetworkReply::NetworkError(ContentOperationNotPermittedError)
36.010 W  Error string:        "Error transferring https://api.minecraftservices.com/minecraft/profile - server replied: Forbidden"
36.010 W  Response:
36.010 W ""
36.010 C Task "MojangLogin(0x791c540)" failed:  "Minecraft Java profile acquisition failed."
mathiasjrg commented 2 years ago

Same error, stable and developmental has the same issue


   14.323 D AuthFlow: "Logging in with Mojang account."
   14.323 D Task "Yggdrasil(0x55e18b8)" starting for the first time
   14.703 D Processing authentication response.
   14.703 D Getting access token.
   14.703 D Finished reading authentication response.
   14.703 D Task "Yggdrasil(0x55e18b8)" succeeded
   14.703 D AuthFlow: "Fetching the Minecraft profile."
   14.989 W AuthRequest::onRequestError: Error 202
   14.990 W AuthRequest::onRequestError: Error string:  "Error transferring https://api.minecraftservices.com/minecraft/profile - server replied: Forbidden"
   14.990 W AuthRequest::onRequestError: HTTP status 403 "Forbidden"
   14.990 C Task "MojangLogin(0x56084a8)" failed:  "Minecraft Java profile acquisition failed."```
phit commented 2 years ago

you all probably need to migrate to a microsoft account https://multimc.org/posts/microsoft-migration.html they are slowly forcing everyone at this point

ZephaniahNoah commented 2 years ago

I can still use my account with ATLauncher. This is a MultiMC issue.

patandrick commented 2 years ago

I have the same problem with MultiMC but can login/authenticate with other launchers/libs.

Xetaxheb commented 2 years ago

I have the same problem with MultiMC but can login/authenticate with other launchers/libs.

  • [x] No, I will never ever migrate my account

lmao you can put in your silly checkbox and stand your ground however long you want but mojang requires it now (or very soon) to authenticate you. you will not have much longer or really any time at all left to migrate before you must do so to play authenticated. this is not optional.

of course you can always go play on online-mode=false servers or use other launchers while they last

not a multimc issue anymore.

now, with that said, some quirkiness technicality for interested parties: i'll get randomly blocked from mojangs https://www.minecraft.net/en-us website with a 403 (i think) every now and then seemingly at random. might be an issue outside of multimc's scope (cloudflare or whatever inhome setup they use screwing around?) i have this problem like 40% of the time i go on there just for any reason, especially when trying to load the login pages... nothing to do but wait a bit till it unblocks me. i live in the us with a common isp so there's no outlier reason for it. I don't think this has ever directly affected my ability to auth with multimc.

patandrick commented 2 years ago

I have the same problem with MultiMC but can login/authenticate with other launchers/libs.

  • [x] No, I will never ever migrate my account

lmao you can put in your silly checkbox and stand your ground however long you want but mojang requires it now (or very soon) to authenticate you. you will not have much longer or really any time at all left to migrate before you must do so to play authenticated. this is not optional.

Sorry didn't wanted to be offensive and hurt your feeling with this checkbox. Sad to read that you have to be so insulting right away. I'll just don't play the game anymore, but that's not your problem.

Midnight145 commented 2 years ago

Same issue here, haven't migrated yet. No auth issues when using Technic launcher.

0-x-2-2 commented 2 years ago

This seems does happen for only force migration accounts and is probably an obscure attempt to prevent people who are forced to migrate from using MultiMC instead of preventing authentication via Yggdrasil for accounts with forced migration enabled.

MultiMC seems to be the only launcher other than the official Mojang launcher that checks this endpoint for Mojang accounts but it does not check the force migration endpoint to notify about migration.

Forced migrate marked accounts seem to work for almost every other API.

0-x-2-2 commented 2 years ago

On account marked for forced migration:

curl 'https://api.minecraftservices.com/minecraft/profile' -H 'authorization: Bearer ...' --fail

curl: (22) The requested URL returned error: 403
curl 'https://api.minecraftservices.com/rollout/v1/msamigrationforced' -H 'authorization: Bearer ...' --fail

{
  "feature" : "msamigrationforced",
  "rollout" : true
}

On another account not marked for forced migration:

curl 'https://api.minecraftservices.com/rollout/v1/msamigrationforced' -H 'authorization: Bearer ...' --fail

{
  "feature" : "msamigrationforced",
  "rollout" : false
}
curl 'https://api.minecraftservices.com/minecraft/profile' -H 'authorization: Bearer ...' --fail
{
  "id" : "...",
  "name" : "...",
  "skins" : [ {
    "id" : "...",
    "state" : "ACTIVE",
    "url" : "http://textures.minecraft.net/texture/...",
    "variant" : "SLIM"
  } ],
  "capes" : [ ]
}
mkcoldwolf commented 2 years ago

On account marked for forced migration:

curl 'https://api.minecraftservices.com/minecraft/profile' -H 'authorization: Bearer ...' --fail

curl: (22) The requested URL returned error: 403

...

Yeah, tested this for truth at this point we can sure that microsoft just putting random accounts (maybe active accounts) into "forcedmigration" state I think multimc5 could add a notification when this happens instead of just "[Minecraft Java profile acquisition failed"

"Here it comes to the end of a minecraft generation, goodbye mojang." Remember, We are the people who stay with mojang till the last second.

5HT2 commented 2 years ago

That commit appears to fix the issue in my testing.

ghost commented 2 years ago

Same problem with 0.6.15-3244

hedgehog1029 commented 2 years ago

Worth noting that even for forced-migration accounts, the tokens that Yggdrasil issues are still otherwise mostly valid (you can even log into online-mode servers with them). I'm sure this will be disabled at some point, and I won't blame you if you don't want to support this in MultiMC given the unclear amount of time until Yggdrasil is shut off entirely.

xjax123 commented 2 years ago

 1363.174 D Task "Yggdrasil(0x95a99e8)" starting for the first time
 1363.711 D Processing authentication response.
 1363.711 D Getting access token.
 1363.711 D Finished reading authentication response.
 1363.711 D Task "Yggdrasil(0x95a99e8)" succeeded
 1363.711 D AuthFlow: "Fetching the Minecraft profile."
 1363.841 W AuthRequest::onRequestError: Error 202
 1363.841 W AuthRequest::onRequestError: Error string:  "Error transferring https://api.minecraftservices.com/minecraft/profile - server replied: Forbidden"
 1363.841 W AuthRequest::onRequestError: HTTP status 403 "Forbidden"
 1363.841 W Error getting profile:
 1363.842 W  HTTP Status:         403
 1363.842 W  Internal error no.:  QNetworkReply::NetworkError(ContentOperationNotPermittedError)
 1363.842 W  Error string:        "Error transferring https://api.minecraftservices.com/minecraft/profile - server replied: Forbidden"
 1363.842 W  Response:
 1363.842 W ""
 1363.842 C Task "MojangLogin(0x6b3d178)" failed:  "Minecraft Java profile acquisition failed."```

Also encountering the issue, pretty sure i did link my account, though it always used to work still using my Mojang credentials (Since I don't actually have access to my Microsoft account, because their verification is bullshit).
mkcoldwolf commented 2 years ago

Worth noting that even for forced-migration accounts, the tokens that Yggdrasil issues are still otherwise mostly valid (you can even log into online-mode servers with them). I'm sure this will be disabled at some point, and I won't blame you if you don't want to support this in MultiMC given the unclear amount of time until Yggdrasil is shut off entirely.

Do you mean those token distributed in the past? I've just tried on my forced migrate account it always return forbidden

hedgehog1029 commented 2 years ago

@mkcoldwolf api.minecraftservices.net always returns 403 Forbidden for yggdrasil tokens, but the same isn't true of the session server, which appears to have not noticed the forced migration at all. If you've got a launcher that ignores minecraftservices, then you can still launch the game and connect to online-mode servers.

mkcoldwolf commented 2 years ago

@mkcoldwolf api.minecraftservices.net always returns 403 Forbidden for yggdrasil tokens, but the same isn't true of the session server, which appears to have not noticed the forced migration at all. If you've got a launcher that ignores minecraftservices, then you can still launch the game and connect to online-mode servers.

I guess than mean those token distributed in the past, which are still valid for session server But its not forever, tokens would expire, or whatever reason users has lost their token

hedgehog1029 commented 2 years ago

@mkcoldwolf Yggdrasil login still works, so you can still issue new tokens.

I'm fully in agreement that this will go away at some point. The only reason I haven't migrated personally is so I can test when it does!

VespaWoman21 commented 2 years ago

I HATE MICROSOFT I HATE MICROSOFT I HATE MICROSOFT cover10

ZephaniahNoah commented 2 years ago

I hate when Microsoft puts people in prison for repairing products and preventing pollution. I hate when Microsoft tries to monopolize on things. I hate when Microsoft sells my personal data. I hate when Microsoft forces an update that deletes my files. I hate how secure boot prevents me from using other operating systems. I hate how Windows is slow, and bloated. I can go on and on. It's a corrupt corporation with problems on every level. No, I will not migrate my account.

Xetaxheb commented 2 years ago

I HATE MICROSOFT I HATE MICROSOFT I HATE MICROSOFT {stupid meme image} @VespaWoman21

I hate when Microsoft puts people in prison for repairing products and preventing pollution. I hate when Microsoft tries to monopolize on things. I hate when Microsoft sells my personal data. I hate when Microsoft forces an update that deletes my files. I hate how secure boot prevents me from using other operating systems. I hate how Windows is slow, and bloated. I can go on and on. It's a corrupt corporation with problems on every level. No, I will not migrate my account. @ZephaniahNoah

Please no more spam like this. I don't need emails every other day from some yahoos who won't accept the fact that they're powerless to do anything about this.

If you don't migrate, you don't get to play minecraft on servers and utilities that use microsoft's authorization. It's as simple as that.

You don't want to use microsoft's authorization? Code your own and set online-mode=false. MultiMC is open-source, go make your own build that doesn't require login. MultiMC is Apache2.0 licensed so you're allowed to even redistribute or sell and even re-license your changes.

Quit complaining about something that nobody here can do anything about. MultiMC has no authority over mojang, microsoft, or the systems they choose to implement. If you want to voice your opinions into the wind, go take it up with mojang who sold out, or microsoft who chose to make things this way.

You will migrate your account or you will not play minecraft using microsoft's services. Full stop. This is not the place to argue against it. There is nobody here who controls it to argue with.

ZephaniahNoah commented 2 years ago

Here's the thing. You're wrong. I actually CAN use my account without migrating. But only on other launchers like ATLauncer. For some reason it's doesn't work with MultiMC. That's what this issue is open for. You're the one complaining. If you don't want notifications then unsubscribe.

5HT2 commented 2 years ago

I can use one of my unmigrated accounts on MMC just fine, while other launchers don't work. It has to do with the fact that it still has a valid Yggdrasil token and isn't marked for forced migration.

ricecakes0 commented 2 years ago

for anyone else with this issue, multimc 0.6.12 is the last version before the account/login changes were made (link: https://github.com/MultiMC/Launcher/releases/tag/0.6.12). thankfully it still works fine, but you can only launch instances up to minecraft version 1.16.5.

i don't know the email i used to create my mojang account many years ago which means i'm unable to migrate to a microsoft account. using multimc has been my haven to continue being able to play minecraft and if i were to be forced to migrate my account, i would basically be robbed of my access to the game. there are a lot of people like me (i've seen it on forums) who created their mojang account a long time ago when they were younger and don't have access to the email they used. this whole migration really screws us over and mojang/microsoft doesn't provide any way to check what your email is even if you know your username and password.

yeeterlol commented 2 years ago

for anyone else with this issue, multimc 0.6.12 is the last version before the account/login changes were made (link: https://github.com/MultiMC/Launcher/releases/tag/0.6.12). thankfully it still works fine, but you can only launch instances up to minecraft version 1.16.5.

i don't know the email i used to create my mojang account many years ago which means i'm unable to migrate to a microsoft account. using multimc has been my haven to continue being able to play minecraft and if i were to be forced to migrate my account, i would basically be robbed of my access to the game. there are a lot of people like me (i've seen it on forums) who created their mojang account a long time ago when they were younger and don't have access to the email they used. this whole migration really screws us over and mojang/microsoft doesn't provide any way to check what your email is even if you know your username and password.

You can still load versions on 1.17+ but it takes a bit of work. First you have to directly link your javaw.exe. Secondly, you have export your newer version of Minecraft. And boom, it should probably work.

ricecakes0 commented 2 years ago

You can still load versions on 1.17+ but it takes a bit of work. First you have to directly link your javaw.exe. Secondly, you have export your newer version of Minecraft. And boom, it should probably work.

i have my direct javaw.exe path but i don't know what you mean by directly linking javaw.exe or exporting the newer version of minecraft, can you explain how to do this?

MinecrasfsftMan commented 2 years ago

Just use an older version of MultiMC. It's that simple.

peterix commented 2 years ago

DO NOT advertise other launchers here. You will be blocked forever if you do.

peterix commented 2 years ago

Anyway, the short of it: you have to migrate. We might want to improve the messaging. But the functionality is not changing.

No further discussion is necessary, the goal here is now to double check that we provide the correct messaging and you don't get confused about what state your account is in because of the profile fetch failing.

peterix commented 2 years ago

I will not support weird loopholes and the (ab)use of exploits.