Skype4J icon indicating copy to clipboard operation
Skype4J copied to clipboard

Accounts suspended

Open paguan opened this issue 8 years ago • 0 comments

Hey, At random times I'm getting below error after been denied from the POLL endpoint: https://%sclient-s.gateway.messenger.live.com/v1/users/ME/endpoints/SELF/subscriptions/%s/poll

ErrorCode: 401 Message: The provided 'skypetoken' ticket failed authentication. SkypeTokenRevoked

Looking at the PollThread class I see that if the POLL endpoint is responded with a 403 error_code it tries to refresh the token by calling the URL: "https://client-s.gateway.messenger.live.com/v1/users/ME/endpoints/" and this request is the one that is returning the SkypeTokenRevoked error. After having this error the account at Skype is suspended and I need to go through some two-step authentication process to re-enable it.

Has anyone experienced this? Why the token renewal is happening inside the Pollthread? Shouldn't it attempt to get the new token by login with username and password?

paguan avatar Jan 10 '17 11:01 paguan