suurjaak / Skyperious

Skype chat history tool
Other
350 stars 36 forks source link

Can't login to Microsoft account - error 200 #78

Closed arun-gurung closed 4 years ago

arun-gurung commented 4 years ago

A few days ago, everything worked. Now, Skyperious can't login, even if I use my email address or live-username. But I can still logout and login with Skype on Windows and on Linux. I have latest version 4.0.1.

Capture

arun-gurung commented 4 years ago

Now it worked again. I am sure I wrote the correct password. Please disregard the issue.

suurjaak commented 4 years ago

Looks like the API login can sometimes fail for no discernible reason. A few other users have also reported the same problem.

I should probably put in an informational message to that effect.

arun-gurung commented 4 years ago

It's me, again. Sorry to reopen the issue, but now the problem is back and persistent. I am getting to my tears, because I really want to use your great app.

suurjaak commented 4 years ago

Is the error still "That Microsoft account doesn't exist" or is it something else now?

Is the result any different between logging in on the Online-page, and choosing "Create new database from Skype online" on the initial program screen?

arun-gurung commented 4 years ago

It's the same error 200 this Microsoft account doesn't exist.

It's the same result whether I try to log in anywhere.

arun-gurung commented 4 years ago

FYI: I was able to log in and download my chats now again, but the problem is just coming and going.

suurjaak commented 4 years ago

The thing is, this login functionality is provided by a third-party library (https://github.com/Terrance/SkPy), so there is little I can do about the problems it encounters.

Out of curiosity:

arun-gurung commented 4 years ago

I have linked Skype and Microsoft accounts. I don't have 2FA. I can login to web.skype.com only on Windows, but not on Linux because they require the latest version of Edge. Though I heard that Edge will come to Linux, but haven't tried it.

suurjaak commented 4 years ago

Looks like Microsoft login is undergoing some major changes. I can't login any more either.

I will release a new program version once I've figured out what the new requirements are.

timea-techgirl commented 4 years ago

What about using "App passwords" in account settings. It's used to login to old apps such as Windows Live Mail.

suurjaak commented 4 years ago

@timea-techgirl Have you had better luck with them? I tried app passwords with my own account, but I'm getting the same "Profile accrual is required" error that I was getting with an ordinary password.

timea-techgirl commented 4 years ago

@suurjaak Interesting... I logged in normally and my authenticator got a notification to approve or deny but skyperious doesn't wait for it as it doesn't know how and gives an error.

Same error with app password but no authenticator notification while logging in with app password.

Turning off two step verification, I get "Failed to retrieve t field...." error.

suurjaak commented 4 years ago

I found a solution that worked for my account - making an e-mail the primary alias of the account (simply enabling Outlook did the trick). After this, login works with both skypename and e-mail.

App passwords made no difference one way or the other.

timea-techgirl commented 4 years ago

My email is the primary alias. What do you mean by enabling outlook?

suurjaak commented 4 years ago

What do you mean by enabling outlook?

At account.live.com, going to "Services & subscriptions" and then clicking "Use Outlook.com for free". After logging in to outlook.live.com, login in Skyperious started working for me.

timea-techgirl commented 4 years ago

I see. Not working for me.

suurjaak commented 4 years ago

I found this solution at EionRobb/skype4pidgin#656.

Which error are you getting now? Does disabling two-factor authentication make any difference?

timea-techgirl commented 4 years ago

Same t field error No

timea-techgirl commented 4 years ago

I remember having google play store errors whenever I flashed a ROM and tried to sign in to my google account. None of the solutions on the internet had worked. I finally fixed the issue by going to my google account and clicking "This was me" button in the recent login activity and the play store would work immediately. I thought Microsoft may have something similar and did a search. I found this:

  1. Go to account.live.com/activity and sign in using the email address and password of the affected account.

  2. Under Recent activity find the Session Type event that matches the most recent time you received the connection error and click to expand it.

  3. Select This was me to let the system know you authorize the IMAP connection.

But only thing is, there is no "This was me" button like Google has.

suurjaak commented 4 years ago

What about if you re-verify your account from the "Secure your account" link under a Recent activity item?

timea-techgirl commented 4 years ago

It just says thanks for letting us know.

suurjaak commented 4 years ago

Released a new version, Skyperious v4.2, with an updated Skype API that should clear login errors for some accounts at least.

Closing this issue for now.