mojira.dev
MCL-19488

Microsoft Login doesn't work in MC, but works everywhere else.

Text version: After completing migration, I can't get access to the game. Every time I click "Microsoft login", something loads for a bit and I get the error that recommends me checking my internet connection.

At the same time, I can login to any other software which uses Microsoft login. I have some blacklisted domains including Microsoft's ones, that were recommended to blacklist due to privacy issues. But, again, every other software works perfectly fine. Some of the strings in the hosts file blocks it, but there is 600+ strings with Microsoft domain names and I don't really know which one it is. Clearing an entire hosts file helps, but that's not a solution, about that in the end of description.

You can see packet negotiations in the attachments. If someone will contact me in a more private environment, I may send the entire capture results etc, since I have public IP.

 

Video link: https://www.youtube.com/watch?v=wqryV601QV8

 

After talking to Mojang Support for almost 3 days, they sent me HERE with my problem:

"Unfortunately, specific technical issues are difficult to diagnose remotely due to differences with individual computers/settings, and other variables. As such, we are unable to provide individualized technical support, limiting our technical support to troubleshooting at this time."

 

"We encourage you to visit our help center and FAQs; there are many troubleshooting guides that may be able to solve the issue you have reported. If those guides could not fix your issue, feel free to check out the bug tracker, where you can report the issue directly to the developers. We suggest searching for your issue prior to submitting a bug report, as it may have already been reported, and to avoid duplicates. Additional guidelines can be found here."

 

Why it is important:

There are many people paranoid about their privacy even more than I am, especially when talking about Microsoft. A lot of their domains are in public registers that are recommended to block. OOSU10, DWS just as examples of 1-click software, not to mention literally millions of guides. Noone going to risk their privacy just to play an indie game.

 

Here are suggestions:

1) Use a bridge: Somehow send an entire login operation through servers, which won't be blocked. Like your MOJANG AUTH servers. Somehow encapsulate the packet so it won't be blocked by it.

2)Use the same login mechanics, that are used in every other software. Visual studio authentification works perfectly fine somehow.

3) Change domain name into hardcoded IP or just change domain name to the one, that isn't contained by popular hosts files

4) Authentification, which opens a window in a browser to login, sending back to Minecraft launcher after?

Attachments

Comments 4

It also sounds like a wheel in a stick by me, but the thing is that I'm not the only person who's having such problem. But is losing a playerbase of privacy-aware people worth it? Not to mention that there are probably kids, who can't control their parents firewall and won't be able to do anything with that.

I don't see changing auth process as a huge problem, especially when you can probably get Microsoft help to do it in a way it's done in MSVS, for example.

I can see in Launcher Log errors connecting to these:

[Info: 2021-09-05 20:27:07.8934782: NetQueue.cpp(466)] NetQueue: Action failed with result "Failed to connect to device.auth.xboxlive.com port 443: Connection refused" (7) : device.auth.xboxlive.com
[Info: 2021-09-05 20:27:07.8934958: NetQueue.cpp(504)] NetQueue: Action finished: device.auth.xboxlive.com
[Info: 2021-09-05 20:27:07.8935226: NetQueue.cpp(532)] NetQueue: Action finalized: device.auth.xboxlive.com

 

[Error: 2021-09-05 20:27:35.7198982: XalApi.cpp(600)] Failed to sign-in with UI while switching account. XAL Status: 8
[Error: 2021-09-05 20:27:35.7199872: UserIdentity.cpp(170)] Failed to switch account. XAL status: 8
[Info: 2021-09-05 20:27:35.7200276: UnifiedAccounts.cpp(290)] MSA sign-in failed
[Error: 2021-09-05 20:27:37.9226002: NetQueue.cpp(425)] NetQueue: No ip address available. Error code 7, Host: vortex.data.microsoft.com
[Info: 2021-09-05 20:27:37.9226483: NetQueue.cpp(466)] NetQueue: Action failed with result "Failed to connect to vortex.data.microsoft.com port 443: Address not available" (7) : vortex.data.microsoft.com
[Info: 2021-09-05 20:27:37.9226659: NetQueue.cpp(504)] NetQueue: Action finished: vortex.data.microsoft.com
[Info: 2021-09-05 20:27:37.9226926: NetQueue.cpp(532)] NetQueue: Action finalized: vortex.data.microsoft.com
[Info: 2021-09-05 20:27:40.6729549: NetQueue.cpp(585)] NetQueue: Starting net action vortex.data.microsoft.com
[Error: 2021-09-05 20:27:42.8740433: NetQueue.cpp(425)] NetQueue: No ip address available. Error code 7, Host: vortex.data.microsoft.com
[Info: 2021-09-05 20:27:42.8740902: NetQueue.cpp(466)] NetQueue: Action failed with result "Failed to connect to vortex.data.microsoft.com port 443: Address not available" (7) : vortex.data.microsoft.com

 

Both of them being traced to loopback interface cause of hosts file.

You can legit put "*.msads.net" in the search bar and see how many people recommend blocking it.

 

Manually putting ip address from public dns for device.auth.xboxlive.com in hosts fixes the problem entirely tho.

 

Like, I see strings like "[Info: 2021-09-05 20:57:49.5789923: NetQueue.cpp(428)] NetQueue: Primary ip: 152.199.21.175, Host: piston-meta.mojang.com" and it Looks like it's getting ip address from somewhere. Why it can't do the same for domains like device.auth.xboxlive.com?

Thank you for your report!

However, this issue is invalid.

You can write a suggestion for feature request for Launcher team here: Minecraft Feedback
The report you have submitted is working as intended: MCL-19488
Please note, that mechanics of the game may change between updates. 
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version History – Feature Requests and Suggestions

Quick Links:

📓 Bug Tracker Guidelines – 📧 Mojang Support

📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Mikhail S.

(Unassigned)

Unconfirmed

Retrieved