EionRobb / skype4pidgin

Skype Plugin for Pidgin, libpurple and more
https://github.com/EionRobb/skype4pidgin/tree/master/skypeweb#skypeweb-plugin-for-pidgin
624 stars 88 forks source link

"Failed getting Registration Token" #264

Closed eborenst closed 8 years ago

eborenst commented 9 years ago

Once or twice a day, I'll open Pidgin to see that my account using SkypeWeb has been disabled, with the error message "Failed getting Registration Token". Sometimes re-enabling it works, and other times it just disables itself again after a few seconds, showing the same error message.

EionRobb commented 9 years ago

This was happening when one of the servers was inaccessible. Ideally the error message should be updated to reflect the actual error rather than the obscure "failed getting reg token".

Is everything running ok since you reported this?

eborenst commented 9 years ago

Nope, it just happened again.

EionRobb commented 9 years ago

Are you able to get a debug log from Pidgin when it happens next?

eborenst commented 9 years ago

Sorry for the delay in getting the log to you. I believe this is the relevant section. I haven't seen the error since this log was taken (on May 11th), but just in case it is useful:

(19:37:57) dnsquery: Performing DNS lookup for bn1-client-s.gateway.messenger.live.com
(19:37:57) dnsquery: IP resolved for bn1-client-s.gateway.messenger.live.com
(19:37:57) proxy: Attempting connection to 157.56.106.213
(19:37:57) proxy: Connecting to bn1-client-s.gateway.messenger.live.com:443 with no proxy
(19:37:57) proxy: Connection in progress
(19:37:57) proxy: Connecting to bn1-client-s.gateway.messenger.live.com:443.
(19:37:57) proxy: Connected to bn1-client-s.gateway.messenger.live.com:443.
(19:37:57) nss: SSL version 3.3 using 128-bit AES with 256-bit SHA256 MAC
Server Auth: 2048-bit RSA, Key Exchange: 256-bit ECDHE, Compression: NULL
Cipher Suite Name: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
(19:37:57) nss: subject=CN=api.chat.skype.net issuer=CN=MSIT Machine Auth CA 2,DC=redmond,DC=corp,DC=microsoft,DC=com
(19:37:57) nss: subject=CN=MSIT Machine Auth CA 2,DC=redmond,DC=corp,DC=microsoft,DC=com issuer=CN=Microsoft Internet Authority
(19:37:57) nss: subject=CN=Microsoft Internet Authority issuer=CN=Baltimore CyberTrust Root,OU=CyberTrust,O=Baltimore,C=IE
(19:37:57) nss: partial certificate chain
(19:37:57) certificate/x509/tls_cached: Starting verify for bn1-client-s.gateway.messenger.live.com
(19:37:57) certificate/x509/tls_cached: Checking for cached cert...
(19:37:57) certificate/x509/tls_cached: ...Found cached cert
(19:37:57) nss/x509: Loading certificate from C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:37:57) certificate/x509/tls_cached: Peer cert matched cached
(19:37:57) nss/x509: Exporting certificate to C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:37:57) util: Writing file C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:37:57) nss: Trusting CN=api.chat.skype.net
(19:37:57) certificate: Successfully verified certificate for bn1-client-s.gateway.messenger.live.com
(19:37:57) skypeweb: post_or_get_ssl_connect_cb
(19:38:51) skypeweb: No data in response
(19:38:53) skypeweb: getting url /v1/users/ME/endpoints/SELF/subscriptions/0/poll
(19:38:53) skypeweb: sending headers:
POST /v1/users/ME/endpoints/SELF/subscriptions/0/poll HTTP/1.0

Host: bn1-client-s.gateway.messenger.live.com

Connection: close

Content-Type: application/x-www-form-urlencoded

Content-length: 0

RegistrationToken: registrationToken=U2lnbmF0dXJlOjI6Mjg6QVFRQUFBQ2ZUYkhyN1hobG81Vnh4eTU3dDQ3TTtWZXJzaW9uOjY6MToxO0lzc3VlVGltZTo0OjE5OjUyNDczNTU2MDUyMzYxMTE4MTE7RXAuSWRUeXBlOjc6MTo4O0VwLklkOjI6NjpraWlyZWw7RXAuRXBpZDo1OjM2OmZlNmI5Y2YzLTA4ZTAtNDJkOS04M2ZiLTNhMmY3MGQzODY3OTtFcC5Mb2dpblRpbWU6NzoxOjA7RXAuQXV0aFRpbWU6NDoxOTo1MjQ3MzU1NjA1MjM1NjQzODA4O0VwLkF1dGhUeXBlOjc6MjoxNTtVc3IuTmV0TWFzazoxMToxOjI7VXNyLlhmckNudDo2OjE6MDtVc3IuUmRyY3RGbGc6MjowOjtVc3IuRXhwSWQ6OToxOjA7VXNyLkV4cElkTGFzdExvZzo0OjE6MDtVc2VyLkF0aEN0eHQ6MjoyMjQ6Q2xOcmVYQmxWRzlyWlc0R2EybHBjbVZzQVFOVmFXTVVNUzh4THpBd01ERWdNVEk2TURBNk1EQWdRVTBNVG05MFUzQmxZMmxtYVdWa0FBQUFBQUFBQUFBQUFBQUFBQUJBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQm10cGFYSmxiQUFBQUFBQUFBQUFBQWRPYjFOamIzSmxBQUFBQUFRQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQkJtdHBhWEpsYkFBQUFBQT07

Referer: https://web.skype.com/main

Accept: application/json; ver=1.0;

ClientInfo: os=Windows; osVer=8.1; proc=Win32; lcid=en-us; deviceType=1; country=n/a; clientName=swx-skype.com; clientVer=908/1.1.765

Accept-Encoding: gzip

Accept-Language: en, C

(19:38:53) dnsquery: Performing DNS lookup for bn1-client-s.gateway.messenger.live.com
(19:38:53) dnsquery: IP resolved for bn1-client-s.gateway.messenger.live.com
(19:38:53) proxy: Attempting connection to 157.56.106.213
(19:38:53) proxy: Connecting to bn1-client-s.gateway.messenger.live.com:443 with no proxy
(19:38:53) proxy: Connection in progress
(19:38:53) proxy: Connecting to bn1-client-s.gateway.messenger.live.com:443.
(19:38:53) proxy: Connected to bn1-client-s.gateway.messenger.live.com:443.
(19:38:53) nss: SSL version 3.3 using 128-bit AES with 256-bit SHA256 MAC
Server Auth: 2048-bit RSA, Key Exchange: 256-bit ECDHE, Compression: NULL
Cipher Suite Name: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
(19:38:53) nss: subject=CN=api.chat.skype.net issuer=CN=MSIT Machine Auth CA 2,DC=redmond,DC=corp,DC=microsoft,DC=com
(19:38:53) nss: subject=CN=MSIT Machine Auth CA 2,DC=redmond,DC=corp,DC=microsoft,DC=com issuer=CN=Microsoft Internet Authority
(19:38:53) nss: subject=CN=Microsoft Internet Authority issuer=CN=Baltimore CyberTrust Root,OU=CyberTrust,O=Baltimore,C=IE
(19:38:53) nss: partial certificate chain
(19:38:53) certificate/x509/tls_cached: Starting verify for bn1-client-s.gateway.messenger.live.com
(19:38:53) certificate/x509/tls_cached: Checking for cached cert...
(19:38:53) certificate/x509/tls_cached: ...Found cached cert
(19:38:53) nss/x509: Loading certificate from C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:38:53) certificate/x509/tls_cached: Peer cert matched cached
(19:38:53) nss/x509: Exporting certificate to C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:38:53) util: Writing file C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:38:53) nss: Trusting CN=api.chat.skype.net
(19:38:53) certificate: Successfully verified certificate for bn1-client-s.gateway.messenger.live.com
(19:38:53) skypeweb: post_or_get_ssl_connect_cb
(19:39:22) skypeweb: getting url /users/self/contacts/auth-request
(19:39:22) skypeweb: sending headers:
GET /users/self/contacts/auth-request HTTP/1.0

Host: api.skype.com

Connection: close

X-Skypetoken: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjEifQ.eyJpYXQiOjE0MzEzNTkyNzIsImV4cCI6MTQzMTQ0NTY3Miwic2t5cGVpZCI6ImtpaXJlbCIsInNjcCI6MzE4LCJjc2kiOiIwIn0.BIcVILjMvIx6-40CMUcDCImQhAGe8X_Zrpvh3DHp1YA-zQfZlVzjEcBrlby6C87ZFgeWxdKQJ45NLMomDyUc-ce0vIs7SlYZ5rhiWZpSUQghqQu7HTv5REvNGfHOoH4zg2Gw1hVZVGhcEfHgY_-ht7KirVleYYaGC7YJFEJzE99juJFRhQ_9tgy9tKb4JgwKAsMwSNmnk4yiqpXi

X-Stratus-Caller: swx-skype.com

X-Stratus-Request: abcd1234

Origin: https://web.skype.com

Referer: https://web.skype.com/main

Accept: application/json; ver=1.0;

Accept-Encoding: gzip

Accept-Language: en, C

(19:39:22) dnsquery: Performing DNS lookup for api.skype.com
(19:39:22) dnsquery: IP resolved for api.skype.com
(19:39:22) proxy: Attempting connection to 91.190.218.17
(19:39:22) proxy: Connecting to api.skype.com:443 with no proxy
(19:39:22) proxy: Connection in progress
(19:39:22) proxy: Connecting to api.skype.com:443.
(19:39:22) proxy: Connected to api.skype.com:443.
(19:39:22) nss: SSL version 3.3 using 256-bit AES with 160-bit SHA1 MAC
Server Auth: 2048-bit RSA, Key Exchange: 2048-bit RSA, Compression: NULL
Cipher Suite Name: TLS_RSA_WITH_AES_256_CBC_SHA
(19:39:22) nss: subject=CN=api.skype.com issuer=CN=Microsoft IT SSL SHA2,OU=Microsoft IT,O=Microsoft Corporation,L=Redmond,ST=Washington,C=US
(19:39:22) nss: partial certificate chain
(19:39:22) certificate/x509/tls_cached: Starting verify for api.skype.com
(19:39:22) certificate/x509/tls_cached: Checking for cached cert...
(19:39:22) certificate/x509/tls_cached: ...Found cached cert
(19:39:22) nss/x509: Loading certificate from C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\api.skype.com
(19:39:22) certificate/x509/tls_cached: Peer cert matched cached
(19:39:22) nss/x509: Exporting certificate to C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\api.skype.com
(19:39:22) util: Writing file C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\api.skype.com
(19:39:22) nss: Trusting CN=api.skype.com
(19:39:22) certificate: Successfully verified certificate for api.skype.com
(19:39:22) skypeweb: post_or_get_ssl_connect_cb
(19:39:22) skypeweb: Got response: []
(19:39:22) skypeweb: executing callback for /users/self/contacts/auth-request
(19:39:52) dnsquery: Performing DNS lookup for bn1-client-s.gateway.messenger.live.com
(19:39:52) dnsquery: IP resolved for bn1-client-s.gateway.messenger.live.com
(19:39:52) proxy: Attempting connection to 157.56.106.213
(19:39:52) proxy: Connecting to bn1-client-s.gateway.messenger.live.com:443 with no proxy
(19:39:52) proxy: Connection in progress
(19:39:52) proxy: Connecting to bn1-client-s.gateway.messenger.live.com:443.
(19:39:52) proxy: Connected to bn1-client-s.gateway.messenger.live.com:443.
(19:39:56) nss: SSL version 3.3 using 128-bit AES with 256-bit SHA256 MAC
Server Auth: 2048-bit RSA, Key Exchange: 256-bit ECDHE, Compression: NULL
Cipher Suite Name: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
(19:39:56) nss: subject=CN=api.chat.skype.net issuer=CN=MSIT Machine Auth CA 2,DC=redmond,DC=corp,DC=microsoft,DC=com
(19:39:56) nss: subject=CN=MSIT Machine Auth CA 2,DC=redmond,DC=corp,DC=microsoft,DC=com issuer=CN=Microsoft Internet Authority
(19:39:56) nss: subject=CN=Microsoft Internet Authority issuer=CN=Baltimore CyberTrust Root,OU=CyberTrust,O=Baltimore,C=IE
(19:39:56) nss: partial certificate chain
(19:39:56) certificate/x509/tls_cached: Starting verify for bn1-client-s.gateway.messenger.live.com
(19:39:56) certificate/x509/tls_cached: Checking for cached cert...
(19:39:56) certificate/x509/tls_cached: ...Found cached cert
(19:39:56) nss/x509: Loading certificate from C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:39:56) certificate/x509/tls_cached: Peer cert matched cached
(19:39:56) nss/x509: Exporting certificate to C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:39:56) util: Writing file C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:39:57) nss: Trusting CN=api.chat.skype.net
(19:39:57) certificate: Successfully verified certificate for bn1-client-s.gateway.messenger.live.com
(19:39:57) skypeweb: post_or_get_ssl_connect_cb
(19:39:57) dnsquery: Performing DNS lookup for bn1-client-s.gateway.messenger.live.com
(19:39:57) dnsquery: IP resolved for bn1-client-s.gateway.messenger.live.com
(19:39:57) proxy: Attempting connection to 157.56.106.213
(19:39:57) proxy: Connecting to bn1-client-s.gateway.messenger.live.com:443 with no proxy
(19:39:57) proxy: Connection in progress
(19:39:57) proxy: Connecting to bn1-client-s.gateway.messenger.live.com:443.
(19:39:57) proxy: Connected to bn1-client-s.gateway.messenger.live.com:443.
(19:39:57) nss: SSL version 3.3 using 128-bit AES with 256-bit SHA256 MAC
Server Auth: 2048-bit RSA, Key Exchange: 256-bit ECDHE, Compression: NULL
Cipher Suite Name: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
(19:39:57) nss: subject=CN=api.chat.skype.net issuer=CN=MSIT Machine Auth CA 2,DC=redmond,DC=corp,DC=microsoft,DC=com
(19:39:57) nss: subject=CN=MSIT Machine Auth CA 2,DC=redmond,DC=corp,DC=microsoft,DC=com issuer=CN=Microsoft Internet Authority
(19:39:57) nss: subject=CN=Microsoft Internet Authority issuer=CN=Baltimore CyberTrust Root,OU=CyberTrust,O=Baltimore,C=IE
(19:39:57) nss: partial certificate chain
(19:39:57) certificate/x509/tls_cached: Starting verify for bn1-client-s.gateway.messenger.live.com
(19:39:57) certificate/x509/tls_cached: Checking for cached cert...
(19:39:57) certificate/x509/tls_cached: ...Found cached cert
(19:39:57) nss/x509: Loading certificate from C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:39:57) certificate/x509/tls_cached: Peer cert matched cached
(19:39:57) nss/x509: Exporting certificate to C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:39:57) util: Writing file C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:39:57) nss: Trusting CN=api.chat.skype.net
(19:39:57) certificate: Successfully verified certificate for bn1-client-s.gateway.messenger.live.com
(19:39:57) skypeweb: post_or_get_ssl_connect_cb
(19:40:37) skypeweb: Got response: {"errorCode":729,"message":"You must create an endpoint before performing this operation."}
(19:40:37) skypeweb: executing callback for /v1/users/ME/endpoints/SELF/subscriptions/0/poll
(19:40:37) util: requesting to fetch a URL
(19:40:37) dnsquery: Performing DNS lookup for bn1-client-s.gateway.messenger.live.com
(19:40:37) dnsquery: IP resolved for bn1-client-s.gateway.messenger.live.com
(19:40:37) proxy: Attempting connection to 157.56.106.213
(19:40:37) proxy: Connecting to bn1-client-s.gateway.messenger.live.com:443 with no proxy
(19:40:37) proxy: Connection in progress
(19:40:37) proxy: Connecting to bn1-client-s.gateway.messenger.live.com:443.
(19:40:37) proxy: Connected to bn1-client-s.gateway.messenger.live.com:443.
(19:40:46) util: Writing file blist.xml to directory C:\Users\Taniith\AppData\Roaming\.purple
(19:40:46) util: Writing file C:\Users\Taniith\AppData\Roaming\.purple\blist.xml
(19:40:54) nss: SSL version 3.3 using 128-bit AES with 256-bit SHA256 MAC
Server Auth: 2048-bit RSA, Key Exchange: 256-bit ECDHE, Compression: NULL
Cipher Suite Name: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
(19:40:54) nss: subject=CN=api.chat.skype.net issuer=CN=MSIT Machine Auth CA 2,DC=redmond,DC=corp,DC=microsoft,DC=com
(19:40:54) nss: partial certificate chain
(19:40:54) certificate/x509/tls_cached: Starting verify for bn1-client-s.gateway.messenger.live.com
(19:40:54) certificate/x509/tls_cached: Checking for cached cert...
(19:40:54) certificate/x509/tls_cached: ...Found cached cert
(19:40:54) nss/x509: Loading certificate from C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:40:54) certificate/x509/tls_cached: Peer cert matched cached
(19:40:54) nss/x509: Exporting certificate to C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:40:54) util: Writing file C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:40:54) nss: Trusting CN=api.chat.skype.net
(19:40:54) certificate: Successfully verified certificate for bn1-client-s.gateway.messenger.live.com
(19:40:54) util: request constructed
(19:41:22) skypeweb: getting url /users/self/contacts/auth-request
(19:41:22) skypeweb: sending headers:
GET /users/self/contacts/auth-request HTTP/1.0

Host: api.skype.com

Connection: close

X-Skypetoken: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjEifQ.eyJpYXQiOjE0MzEzNTkyNzIsImV4cCI6MTQzMTQ0NTY3Miwic2t5cGVpZCI6ImtpaXJlbCIsInNjcCI6MzE4LCJjc2kiOiIwIn0.BIcVILjMvIx6-40CMUcDCImQhAGe8X_Zrpvh3DHp1YA-zQfZlVzjEcBrlby6C87ZFgeWxdKQJ45NLMomDyUc-ce0vIs7SlYZ5rhiWZpSUQghqQu7HTv5REvNGfHOoH4zg2Gw1hVZVGhcEfHgY_-ht7KirVleYYaGC7YJFEJzE99juJFRhQ_9tgy9tKb4JgwKAsMwSNmnk4yiqpXi

X-Stratus-Caller: swx-skype.com

X-Stratus-Request: abcd1234

Origin: https://web.skype.com

Referer: https://web.skype.com/main

Accept: application/json; ver=1.0;

Accept-Encoding: gzip

Accept-Language: en, C

(19:41:22) dnsquery: Performing DNS lookup for api.skype.com
(19:41:22) dnsquery: IP resolved for api.skype.com
(19:41:22) proxy: Attempting connection to 91.190.218.17
(19:41:22) proxy: Connecting to api.skype.com:443 with no proxy
(19:41:22) proxy: Connection in progress
(19:41:22) proxy: Connecting to api.skype.com:443.
(19:41:22) proxy: Connected to api.skype.com:443.
(19:41:22) nss: SSL version 3.3 using 256-bit AES with 160-bit SHA1 MAC
Server Auth: 2048-bit RSA, Key Exchange: 2048-bit RSA, Compression: NULL
Cipher Suite Name: TLS_RSA_WITH_AES_256_CBC_SHA
(19:41:22) nss: subject=CN=api.skype.com issuer=CN=Microsoft IT SSL SHA2,OU=Microsoft IT,O=Microsoft Corporation,L=Redmond,ST=Washington,C=US
(19:41:22) nss: subject=CN=Microsoft IT SSL SHA2,OU=Microsoft IT,O=Microsoft Corporation,L=Redmond,ST=Washington,C=US issuer=CN=Baltimore CyberTrust Root,OU=CyberTrust,O=Baltimore,C=IE
(19:41:22) nss: partial certificate chain
(19:41:22) certificate/x509/tls_cached: Starting verify for api.skype.com
(19:41:22) certificate/x509/tls_cached: Checking for cached cert...
(19:41:22) certificate/x509/tls_cached: ...Found cached cert
(19:41:22) nss/x509: Loading certificate from C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\api.skype.com
(19:41:22) certificate/x509/tls_cached: Peer cert matched cached
(19:41:22) nss/x509: Exporting certificate to C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\api.skype.com
(19:41:22) util: Writing file C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\api.skype.com
(19:41:22) nss: Trusting CN=api.skype.com
(19:41:22) certificate: Successfully verified certificate for api.skype.com
(19:41:22) skypeweb: post_or_get_ssl_connect_cb
(19:41:22) skypeweb: Got response: []
(19:41:22) skypeweb: executing callback for /users/self/contacts/auth-request
(19:41:53) skypeweb: getting url /v1/users/ME/endpoints/SELF/subscriptions/0/poll
(19:41:53) skypeweb: sending headers:
POST /v1/users/ME/endpoints/SELF/subscriptions/0/poll HTTP/1.0

Host: bn1-client-s.gateway.messenger.live.com

Connection: close

Content-Type: application/x-www-form-urlencoded

Content-length: 0

RegistrationToken: (null)

Referer: https://web.skype.com/main

Accept: application/json; ver=1.0;

ClientInfo: os=Windows; osVer=8.1; proc=Win32; lcid=en-us; deviceType=1; country=n/a; clientName=swx-skype.com; clientVer=908/1.1.765

Accept-Encoding: gzip

Accept-Language: en, C

(19:41:53) dnsquery: Performing DNS lookup for bn1-client-s.gateway.messenger.live.com
(19:41:53) dnsquery: IP resolved for bn1-client-s.gateway.messenger.live.com
(19:41:53) proxy: Attempting connection to 157.56.106.213
(19:41:53) proxy: Connecting to bn1-client-s.gateway.messenger.live.com:443 with no proxy
(19:41:53) proxy: Connection in progress
(19:41:53) proxy: Connecting to bn1-client-s.gateway.messenger.live.com:443.
(19:41:53) proxy: Connected to bn1-client-s.gateway.messenger.live.com:443.
(19:41:54) nss: SSL version 3.3 using 128-bit AES with 256-bit SHA256 MAC
Server Auth: 2048-bit RSA, Key Exchange: 256-bit ECDHE, Compression: NULL
Cipher Suite Name: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
(19:41:54) nss: subject=CN=api.chat.skype.net issuer=CN=MSIT Machine Auth CA 2,DC=redmond,DC=corp,DC=microsoft,DC=com
(19:41:54) nss: subject=CN=MSIT Machine Auth CA 2,DC=redmond,DC=corp,DC=microsoft,DC=com issuer=CN=Microsoft Internet Authority
(19:41:54) nss: subject=CN=Microsoft Internet Authority issuer=CN=Baltimore CyberTrust Root,OU=CyberTrust,O=Baltimore,C=IE
(19:41:54) nss: partial certificate chain
(19:41:54) certificate/x509/tls_cached: Starting verify for bn1-client-s.gateway.messenger.live.com
(19:41:54) certificate/x509/tls_cached: Checking for cached cert...
(19:41:54) certificate/x509/tls_cached: ...Found cached cert
(19:41:54) nss/x509: Loading certificate from C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:41:54) certificate/x509/tls_cached: Peer cert matched cached
(19:41:54) nss/x509: Exporting certificate to C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:41:54) util: Writing file C:\Users\Taniith\AppData\Roaming\.purple\certificates\x509\tls_peers\bn1-client-s.gateway.messenger.live.com
(19:41:54) nss: Trusting CN=api.chat.skype.net
(19:41:54) certificate: Successfully verified certificate for bn1-client-s.gateway.messenger.live.com
(19:41:54) skypeweb: post_or_get_ssl_connect_cb
(19:41:54) skypeweb: No data in response
(19:41:55) g_log: skypeweb_string_get_chunk: assertion `haystack && start && end' failed
(19:41:55) g_log: skypeweb_string_get_chunk: assertion `haystack && start && end' failed
(19:41:55) g_log: skypeweb_string_get_chunk: assertion `haystack && start && end' failed
(19:41:55) connection: Connection error on 05E936E0 (reason: 2 description: Failed getting Registration Token)
(19:41:55) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file C:\Program Files (x86)\Pidgin\pixmaps\pidgin\protocols\16\steam.png: Failed to open file 'C:\Program Files (x86)\Pidgin\pixmaps\pidgin\protocols\16\steam.png': No such file or directory
(19:41:55) jabber: jabber_actions: have pep: NO
(19:41:55) account: Disconnecting account <MY_SKYPE_USERNAME> (00869BB0)
(19:41:55) connection: Disconnecting connection 05E936E0
(19:41:55) idle: Setting <MY_SKYPE_USERNAME> unidle
(19:41:55) skypeweb: getting url /v1/users/ME/presenceDocs/messagingService
(19:41:55) skypeweb: sending headers:
PUT /v1/users/ME/presenceDocs/messagingService HTTP/1.0

Host: bn1-client-s.gateway.messenger.live.com

Connection: close

Content-Type: application/json

Content-length: 19

RegistrationToken: (null)

Referer: https://web.skype.com/main

Accept: application/json; ver=1.0;

ClientInfo: os=Windows; osVer=8.1; proc=Win32; lcid=en-us; deviceType=1; country=n/a; clientName=swx-skype.com; clientVer=908/1.1.765

Accept-Encoding: gzip

Accept-Language: en, C

{"status":"Online"}
(19:41:55) dnsquery: Performing DNS lookup for bn1-client-s.gateway.messenger.live.com
(19:41:55) skypeweb: getting url /logout
(19:41:55) skypeweb: sending headers:
GET /logout HTTP/1.0

Host: login.skype.com

Connection: close

Accept: */*

Cookie: skype_sticky_1e1c69c54f3a0d4a70dfef8f6bb4586b6656a637=1;skplet=1431445672;skype-session-token=2a1cf6c8192d3f682c0152eb65591dff8ade8f69;login-bt=578134;login-ibb=deleted;skype-session=25452d98a76b1cf95378e4c8c541dee79f1a2e17;SC=CC=:CCY=:LC=en:LIM=:TM=1431359272:TS=1431359272:TZ=:VAT=:VER=;refresh-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjEifQ.eyJpYXQiOjE0MzEzNTkyNzIsImV4cCI6MTQzMTQ0NTY3Miwic2t5cGVpZCI6ImtpaXJlbCIsInNjcCI6MSwiY3NpIjoiMCJ9.XhYHNCCQOb-kB-4yywGCpMHUrNqeKr2tHfPABv_07qJ4PhaKKOpXAQ0cp_N6FG96plH5tqf_5hugUMaqj4skTWkH2veqd2ZmFxjg_PDTj9VsVVr-kayoy1pe7s2Ax6snFDieHSps8JsbAMzlIizf_wdorwp0Xc__PsmPq3uMEI-cnmQsxG-UdtLYZGmFQ1yMsAmYR14Ljgxrs3Xm;

Accept-Encoding: gzip

Accept-Language: en, C

(19:41:55) dnsquery: Performing DNS lookup for login.skype.com
(19:41:55) skypeweb: destroying 0 waiting connections
(19:41:55) skypeweb: destroying 2 incomplete connections
(19:41:55) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file C:\Program Files (x86)\Pidgin\pixmaps\pidgin\protocols\16\steam.png: Failed to open file 'C:\Program Files (x86)\Pidgin\pixmaps\pidgin\protocols\16\steam.png': No such file or directory
(19:41:55) jabber: jabber_actions: have pep: NO
(19:41:55) connection: Destroying connection 05E936E0
TonyBostonTB commented 9 years ago

same here with 'Failed getting Skype Token' as the eror message

ghost commented 9 years ago

Same here with 'Failed getting Skype Token' as the error message.

Prolapp commented 9 years ago

Same here with 'Failed getting Skype Token' as the error message.

vitalyster commented 9 years ago

Pidgin < 2.10.11 with nss?

phpony commented 9 years ago

+1 for "Failed getting Skype Token"

phpony commented 9 years ago

Opened separate ticket with more details on my case: #281

jusa213 commented 9 years ago

I got the same problem here. Is there work going on in this case? Cause to me it seems a blocker issue since the core function of this app is affected - skype4pidgin simply does not work. I would be happy to provide more debug information if necessary.

Edit: If I press re-enable skype4pdigin pidgin shows all skype buddies but they are shown as offline. If I log into the web interface that is provided and send a message there to one of the buddies shortly after that skype4pidgin is able to login again.

Edit again: Skype account is not linked with the microsoft account.

szr8 commented 9 years ago

I'm also getting the "Failed getting Skype Token" error with the Skypeweb plugin for Pidgin.

LennyLip commented 9 years ago

change skype password to 8 charcters works sometimes...

EionRobb commented 8 years ago

The original issue here (logs out after 24 hours use) was fixed a while ago. Please feel free to create new issues with any new problems.