MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.66k stars 401 forks source link

[BUG] Microsoft account: connection forcibly closed by remote host #1774

Closed UniqueNIHAL closed 3 years ago

UniqueNIHAL commented 3 years ago

Prerequisites

Minecraft Version

1.17.2

Console Client Version

The latest one I just re-downloaded it to check

Expected Behavior

I expected it to log me into the server

Actual Behavior

It didn't , it gave some error

Steps to Reproduce the bug

  1. Used my ID
  2. Selected Microsoft login
  3. Typed IP, it failed.

Attach screenshot here (If applicable)

error

https://imgur.com/QpZLZKd

Anythings that could help diagnosing the bug

No response

Device

Laptop

Operating System

Windows

Server Address (If applicable)

play.craftadia.com

UniqueNIHAL commented 3 years ago

Note: I didn't enter IP the mcc closes right before logging in

ReinforceZwei commented 3 years ago

Please attach a screenshot with debug messages enabled.

UniqueNIHAL commented 3 years ago

The Error area with debug goes 3 pages long (3screenshot long) But the client closes before I can get those ss got one of them the start above. Any other way to share them?

ReinforceZwei commented 3 years ago

You forgot to cover your password in the screenshot. I've deleted it. Please redacted session tokens and passwords before attaching screenshots.

UniqueNIHAL commented 3 years ago

image

ReinforceZwei commented 3 years ago

The Error area with debug goes 3 pages long (3screenshot long) But the client closes before I can get those ss got one of them the start above. Any other way to share them?

You may open a cmd and run MCC in it and the messages will stays there.

UniqueNIHAL commented 3 years ago

The Error area with debug goes 3 pages long (3screenshot long) But the client closes before I can get those ss got one of them the start above. Any other way to share them?

You may open a cmd and run MCC in it and the messages will stays there.

Doesn't allow it just closes ): (If you mean't typing / to open the command)

ReinforceZwei commented 3 years ago
  1. Press win + R
  2. Type cmd and press enter
  3. Drag MinecraftClient.exe into the cmd window and press enter

In that way the messages will stays there when MCC closed.

UniqueNIHAL commented 3 years ago

image Gives this error but the password is right ): It works on Minecraft.net and microsoft.com , This above ss is from cmd

ghost commented 3 years ago

I have the same issue

ReinforceZwei commented 3 years ago

It is not possible for us to diagnose the problem with only partial of log output.

Desxman commented 3 years ago

Screenshot (10)_LI

This is all I get when putting it into cmd. I have the same problem as others Everything worked fine yesterday.

UniqueNIHAL commented 3 years ago

Thankfully not just me ;o yes it worked fine for me yesterday too

UniqueNIHAL commented 3 years ago

It is not possible for us to diagnose the problem with only partial of log output.

Its difficult to get complete log with it closing immediately and cmd version not working

UniqueNIHAL commented 3 years ago

2 1 3

None of these are in order and were random attempts to get an ss before it auto closed.

TNTUP commented 3 years ago

Can confirm this problem, outputting debug isn't possible for me as it spills too much information and need to censor them all

UniqueNIHAL commented 3 years ago

Yep ^^^

ibes1508 commented 3 years ago

most I could take out of the debugmessage is that theres some error witth the session cage. Mojang logins work so guess migrating ur acc - if u r able to - might not be good after all

UniqueNIHAL commented 3 years ago

Well Microsoft accounts did work yesterday

ibes1508 commented 3 years ago

Oh one idea for screenshots: record while opening and scroll down. then take ss out of vid. would do it myself but sadly have no clue what I gotta censor

ThatThingz commented 3 years ago

image image image image image @ReinforceZwei I hope these will be helpful I attempted my best to get screen shots of the issue that I'm having as well. I am using the current Version of the Client the current Device I'm using is a Laptop and current operating system is Windows 10

ThatThingz commented 3 years ago

I tired running it in CMD but it refused to run. I also Kept trying to get more SS past this last one but it kept Closing to fast to allow me to get more SS

ThatThingz commented 3 years ago

If you require more SS I can Attempt again but I don't know if I will be able to get anymore

XeTrain commented 3 years ago

I'm having this exact same issue too! Hopefully its an easy fix

UniqueNIHAL commented 3 years ago

Did Microsoft do something to prevent MCC D:?

SintheSergal commented 3 years ago

Also happening to me as well. :c

YellySmelly commented 3 years ago

Also happening to me as well. I wish the owner would give us an update on what is happening. Is there a discord for this console client?

DemonAKALilKid commented 3 years ago

Oh one idea for screenshots: record while opening and scroll down. then take ss out of vid. would do it myself but sadly have no clue what I gotta censor

welp, never expected to see u here but still, why is it not fixed yet?

ReinforceZwei commented 3 years ago

I've investigated the issue a bit. The program crashes when making request to api.minecraftservices.com for getting Minecraft access token.

My guess is api.minecraftservices.com disabled TLS 1.0/1.1 support (as shown here https://www.cdn77.com/tls-test/result?domain=api.minecraftservices.com) while other API endpoint still have the support (for example xbox https://www.cdn77.com/tls-test/result?domain=xsts.auth.xboxlive.com). MCC's webclient cannot handle TLS 1.2 and crashed.

Everyone here, if possible, please report your OS version. (e.g. Windows 7, Windows 10)

Nixeld commented 3 years ago

Edition Windows 10 Home Version 21H1 Installed on ‎30/‎8/‎2020 OS build 19043.1237 Experience Windows Feature Experience Pack 120.2212.3530.0

UniqueNIHAL commented 3 years ago

image

ReinforceZwei commented 3 years ago

A hotfix was added. Please download the latest version and test if it works.

If it doesn't work on your machine, please report if you have .NET Framework 4.5+ installed on your system or not.

DemonAKALilKid commented 3 years ago

A hotfix was added. Please download the latest version and test if it works.

If it doesn't work on your machine, please report if you have .NET Framework 4.5+ installed on your system or not.

Just downloaded and tried it, not having any problems on windows 11 here

UniqueNIHAL commented 3 years ago

Latest Build works. Thank you

UniqueNIHAL commented 3 years ago

image

UniqueNIHAL commented 3 years ago

Windows Secruity giving this info since the uhm Update

TNTUP commented 3 years ago

I confirm that the hotfix works and I don't get that Windows Defender warning on my computers

ObscenityIB commented 3 years ago

MCC's webclient cannot handle TLS 1.2 and crashed.

Would not have expected that, would assume 1.3 support in most active things now, since 1.2 is ancient, and 1.3 is getting on in years.

ORelio commented 3 years ago

image

@UniqueNIHAL just relaunched the build for last hotfix, please try downloading it again?

UniqueNIHAL commented 3 years ago

image

@UniqueNIHAL just relaunched the build for last hotfix, please try downloading it again?

Okay

UniqueNIHAL commented 3 years ago

Seems to be working thanks! , Ill Close this Ticket in 24hrs if windows doesn't report any issue again!