Sorunome / mx-puppet-skype

16 stars 4 forks source link

Log in with Microsoft account #17

Open razorness opened 3 years ago

razorness commented 3 years ago

Hi,

installed mx-puppet-skype within an installation of https://github.com/spantaleev/matrix-docker-ansible-deploy.

I tried to log in with my Microsoft account credentials which are valid while using https://web.skype.com/. Bot replies with ERROR: Username or password wrong and I receive notice emails from Microsoft about suspicious login activity. Microsoft login service detects no platform or browser.

I told Microsoft that this login attempt was me and the bot still returns ERROR: Username or password wrong but Microsoft lists these login attempts as successfull from now.

Username looks like: foo.bar@live.de

Sorunome commented 3 years ago

what about logs?

razorness commented 3 years ago

Already looked into given logging without any entry. I will try to get verbose logging with this playbook and paste them when I have them.

Sorunome commented 3 years ago

most helpful log level would be silly

foxcris commented 3 years ago

I have the same problem. Login with https://web.skype.com or using the skype app on windows 10 works. Logging in using the puppet results in

ERROR: Username or password wrong

I just rerun the login with loglevel silly:

Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.016 [bot-sdk-Appservice] info: Processing transaction 50
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.017 [bot-sdk-Appservice] info: Processing event of type m.room.message
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.017 [Postgres] silly: Get: SELECT * FROM room_store WHERE mxid = $mxid
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: 172.116.1.9 - - [14/Mar/2021:07:17:51 +0000] "PUT /transactions/50?access_token=d3197bb3-42c2-5947-9129-a6916a643402 HTTP/1.1" 200 2 "-" "Synapse/1.28.0"
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.032 [Postgres] silly: Get: SELECT * FROM puppet_mxid_store WHERE puppet_mxid=$id
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.035 [BotProvisioner] info: Got message to process with arg=link
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.492 [SkypePuppet:index] verbose: Failed to log in as new user, perhaps the password is wrong?
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.493 [SkypePuppet:index] silly: MicrosoftAccountLogin: Unable to login with MicrosoftAccount.
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:   caused by GetLiveKeys: Unable to get the MSPRequ, MSPOK and PPFT keys from login.live.com
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:   caused by Request: The following HTTP request failed: "{"url":"https://login.skype.com/login/oauth/microsoft","queryString":{"client_id":"578134","redirect_uri":"https://web.skype.com/"},"cookies":{"synchronous":true,"idx":{"login.live.com":{"/":{"uaid":{"key":"uaid","value":"e758701ba505494e874b39cfce10c6a9","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.472Z","lastAccessed":"2021-03-14T07:17:51.472Z"},"cltm":{"key":"cltm","value":"cf:ReservedFlight33$2cReservedFligh","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.474Z","lastAccessed":"2021-03-14T07:17:51.474Z"},"MSPRequ":{"key":"MSPRequ","value":"id=293290&lt=1615706271&co=1","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.477Z","lastAccessed":"2021-03-14T07:17:51.477Z"},"MSCC":{"key":"MSCC","value":"167.86.90.173-DE","expires":"2022-04-08T07:17:51.000Z","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.478Z","lastAccessed":"2021-03-14T07:17:51.478Z"},"OParams":{"key":"OParams","value":"11DaYvegJdFnl!FhQTVHQSPXxaroq3Ibvk7FeZz0JkeRxgSQpj1TQkwMywTg3okNR9AmKkum6U*kCxqGbso01xMVmVYxZAODKokn9oGLIwzm7oYfSo5SPPICUZXVcR0nyxGj780UolOGJfc6JLgWfhz5O4ak7!2fVFhbImpBueHpxoJ23FqdTwdKnE0mLwcxpE!041Sf9L1KUp0kJI6QWcEEi*AdBR3TGBUR!ObsK5mDHXPWyBcFR!gMG!7Xm3nrmwVoQ6cWx!Qfp9Fuzx07rquGD4H!P8aB79PaGBymP61BNbEUkDs1WkCwQdLTlNFGeeGvTW!FBAD0SZYtlUvkcC3l4SWNaA2WZrs3roSDTT1sIvNsGOttdvp0Zce05hsVleUermeJZTDlA5hw1B6yuG15ccFk9YKSLqdv7B25sgghVgG8rxgaejfzJ2BB*GFsBDtnU2C61bURQy!hpFkDmrNa7pdpFkEZJBmghLj!U8cs2gmYV6KsXdBlLRzS3RuE!WClCkYFTjI7F6*f4IcXw93r6uKuiH1hqxdqCU2620pzYFgGVCtBKWPuGU4beT4lOfj9jgp*AtnAuWD1m!ekStf0iOOdeJfrf0RglegZnJd98b","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.480Z","lastAccessed":"2021-03-14T07:17:51.480Z"},"MSPOK":{"key":"MSPOK","value":"$uuid-412c6aec-5adb-43af-a918-e9424dc4c285","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.483Z","lastAccessed":"2021-03-14T07:17:51.483Z"}}}}}}"
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     at Object.create (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/errors/http.js:60:16)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     at getLiveKeys (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/providers/microsoft-account.js:82:43)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     at processTicksAndRejections (node:internal/process/task_queues:94:5)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     at async Object.login (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/providers/microsoft-account.js:38:26)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     at async Object.login (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/login.js:36:24)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     at async Object.connect (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/connect.js:28:22)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:   caused by GotError: incorrect header check
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     at EventEmitter.<anonymous> (/opt/mx-puppet-skype/node_modules/got/dist/source/as-promise.js:58:27)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     at processTicksAndRejections (node:internal/process/task_queues:94:5)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     at Zlib.zlibOnError [as onerror] (node:zlib:190:17) {
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:   data: {},
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:   cause: GetLiveKeys: Unable to get the MSPRequ, MSPOK and PPFT keys from login.live.com
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     caused by Request: The following HTTP request failed: "{"url":"https://login.skype.com/login/oauth/microsoft","queryString":{"client_id":"578134","redirect_uri":"https://web.skype.com/"},"cookies":{"synchronous":true,"idx":{"login.live.com":{"/":{"uaid":{"key":"uaid","value":"e758701ba505494e874b39cfce10c6a9","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.472Z","lastAccessed":"2021-03-14T07:17:51.472Z"},"cltm":{"key":"cltm","value":"cf:ReservedFlight33$2cReservedFligh","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.474Z","lastAccessed":"2021-03-14T07:17:51.474Z"},"MSPRequ":{"key":"MSPRequ","value":"id=293290&lt=1615706271&co=1","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.477Z","lastAccessed":"2021-03-14T07:17:51.477Z"},"MSCC":{"key":"MSCC","value":"167.86.90.173-DE","expires":"2022-04-08T07:17:51.000Z","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.478Z","lastAccessed":"2021-03-14T07:17:51.478Z"},"OParams":{"key":"OParams","value":"11DaYvegJdFnl!FhQTVHQSPXxaroq3Ibvk7FeZz0JkeRxgSQpj1TQkwMywTg3okNR9AmKkum6U*kCxqGbso01xMVmVYxZAODKokn9oGLIwzm7oYfSo5SPPICUZXVcR0nyxGj780UolOGJfc6JLgWfhz5O4ak7!2fVFhbImpBueHpxoJ23FqdTwdKnE0mLwcxpE!041Sf9L1KUp0kJI6QWcEEi*AdBR3TGBUR!ObsK5mDHXPWyBcFR!gMG!7Xm3nrmwVoQ6cWx!Qfp9Fuzx07rquGD4H!P8aB79PaGBymP61BNbEUkDs1WkCwQdLTlNFGeeGvTW!FBAD0SZYtlUvkcC3l4SWNaA2WZrs3roSDTT1sIvNsGOttdvp0Zce05hsVleUermeJZTDlA5hw1B6yuG15ccFk9YKSLqdv7B25sgghVgG8rxgaejfzJ2BB*GFsBDtnU2C61bURQy!hpFkDmrNa7pdpFkEZJBmghLj!U8cs2gmYV6KsXdBlLRzS3RuE!WClCkYFTjI7F6*f4IcXw93r6uKuiH1hqxdqCU2620pzYFgGVCtBKWPuGU4beT4lOfj9jgp*AtnAuWD1m!ekStf0iOOdeJfrf0RglegZnJd98b","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.480Z","lastAccessed":"2021-03-14T07:17:51.480Z"},"MSPOK":{"key":"MSPOK","value":"$uuid-412c6aec-5adb-43af-a918-e9424dc4c285","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.483Z","lastAccessed":"2021-03-14T07:17:51.483Z"}}}}}}"
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:       at Object.create (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/errors/http.js:60:16)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:       at getLiveKeys (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/providers/microsoft-account.js:82:43)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:       at processTicksAndRejections (node:internal/process/task_queues:94:5)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:       at async Object.login (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/providers/microsoft-account.js:38:26)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:       at async Object.login (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/login.js:36:24)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:       at async Object.connect (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/connect.js:28:22)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     caused by GotError: incorrect header check
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:       at EventEmitter.<anonymous> (/opt/mx-puppet-skype/node_modules/got/dist/source/as-promise.js:58:27)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:       at processTicksAndRejections (node:internal/process/task_queues:94:5)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:       at Zlib.zlibOnError [as onerror] (node:zlib:190:17) {
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     data: {},
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     cause: Request: The following HTTP request failed: "{"url":"https://login.skype.com/login/oauth/microsoft","queryString":{"client_id":"578134","redirect_uri":"https://web.skype.com/"},"cookies":{"synchronous":true,"idx":{"login.live.com":{"/":{"uaid":{"key":"uaid","value":"e758701ba505494e874b39cfce10c6a9","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.472Z","lastAccessed":"2021-03-14T07:17:51.472Z"},"cltm":{"key":"cltm","value":"cf:ReservedFlight33$2cReservedFligh","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.474Z","lastAccessed":"2021-03-14T07:17:51.474Z"},"MSPRequ":{"key":"MSPRequ","value":"id=293290&lt=1615706271&co=1","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.477Z","lastAccessed":"2021-03-14T07:17:51.477Z"},"MSCC":{"key":"MSCC","value":"167.86.90.173-DE","expires":"2022-04-08T07:17:51.000Z","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.478Z","lastAccessed":"2021-03-14T07:17:51.478Z"},"OParams":{"key":"OParams","value":"11DaYvegJdFnl!FhQTVHQSPXxaroq3Ibvk7FeZz0JkeRxgSQpj1TQkwMywTg3okNR9AmKkum6U*kCxqGbso01xMVmVYxZAODKokn9oGLIwzm7oYfSo5SPPICUZXVcR0nyxGj780UolOGJfc6JLgWfhz5O4ak7!2fVFhbImpBueHpxoJ23FqdTwdKnE0mLwcxpE!041Sf9L1KUp0kJI6QWcEEi*AdBR3TGBUR!ObsK5mDHXPWyBcFR!gMG!7Xm3nrmwVoQ6cWx!Qfp9Fuzx07rquGD4H!P8aB79PaGBymP61BNbEUkDs1WkCwQdLTlNFGeeGvTW!FBAD0SZYtlUvkcC3l4SWNaA2WZrs3roSDTT1sIvNsGOttdvp0Zce05hsVleUermeJZTDlA5hw1B6yuG15ccFk9YKSLqdv7B25sgghVgG8rxgaejfzJ2BB*GFsBDtnU2C61bURQy!hpFkDmrNa7pdpFkEZJBmghLj!U8cs2gmYV6KsXdBlLRzS3RuE!WClCkYFTjI7F6*f4IcXw93r6uKuiH1hqxdqCU2620pzYFgGVCtBKWPuGU4beT4lOfj9jgp*AtnAuWD1m!ekStf0iOOdeJfrf0RglegZnJd98b","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.480Z","lastAccessed":"2021-03-14T07:17:51.480Z"},"MSPOK":{"key":"MSPOK","value":"$uuid-412c6aec-5adb-43af-a918-e9424dc4c285","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-03-14T07:17:51.483Z","lastAccessed":"2021-03-14T07:17:51.483Z"}}}}}}"
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:         at Object.create (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/errors/http.js:60:16)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:         at getLiveKeys (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/providers/microsoft-account.js:82:43)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:         at processTicksAndRejections (node:internal/process/task_queues:94:5)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:         at async Object.login (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/providers/microsoft-account.js:38:26)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:         at async Object.login (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/login.js:36:24)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:         at async Object.connect (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/connect.js:28:22)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:       caused by GotError: incorrect header check
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:         at EventEmitter.<anonymous> (/opt/mx-puppet-skype/node_modules/got/dist/source/as-promise.js:58:27)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:         at processTicksAndRejections (node:internal/process/task_queues:94:5)
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:         at Zlib.zlibOnError [as onerror] (node:zlib:190:17) {
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:       data: [Object],
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:       cause: [ReadError]
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:     }
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]:   }
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: }
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.494 [bot-sdk-MatrixLiteClient] info: (REQ-4) PUT http://matrix-nginx-proxy:12080/_matrix/client/r0/rooms/!niaTtZOxvpfJAnmIMK%3Aboehme.cologne/send/m.room.message/1615706271494__REQ3
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.494 [bot-sdk-MatrixLiteClient] debug: (REQ-4) body = {"msgtype":"m.notice","body":"ERROR: Username or password wrong","formatted_body":"<p>ERROR: Username or password wrong</p>\n","format":"org.matrix.custom.html"}
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.642 [bot-sdk-MatrixLiteClient] debug: (REQ-4 RESP-H200) { event_id: '$yDzHG5cboMZ99RSrPIjNWQeGJsdFX4ywgedXN7ruld0' }
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.642 [bot-sdk-Metrics] debug: matrix_client_function_call
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.643 [bot-sdk-Metrics] debug: matrix_client_function_call
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.643 [bot-sdk-Metrics] debug: matrix_client_function_call
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.680 [bot-sdk-Appservice] info: Processing transaction 51
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: Mar-14 07:17:51.680 [bot-sdk-Appservice] info: Processing event of type m.room.message
Mar 14 08:17:51 vmd38354.contaboserver.net matrix-mx-puppet-skype[22139]: 172.116.1.9 - - [14/Mar/2021:07:17:51 +0000] "PUT /transactions/51?access_token=d3197bb3-42c2-5947-9129-a6916a643402 HTTP/1.1" 200 2 "-" "Synapse/1.28.0"
germain-gg commented 3 years ago

I have installed mx-puppet-skype through matrix-docker-ansible-deploy and experience the exact same issue as described by @foxcris

foxcris commented 3 years ago

I also used

matrix-docker-ansible-deploy

for deploying/setting up the bridge.

redshodan commented 3 years ago

Same errors for me with mx-puppet-skype being managed by matrix-docker-ansible-deploy

nbartels commented 3 years ago

I installed mx-puppet-skype manually and get the same error and I don't have an username with @live.de or something. Just a plain skype username ;)

MurzNN commented 3 years ago

I have the same problem, here is silly log output on login process:

172.17.0.1 - - [21/Jul/2021:17:33:02 +0000] "PUT /transactions/59?access_token=b4cbd0c4-86b6-49a7-9f7c-6bcb9a06xxxx HTTP/1.1" 200 2 "-" "Synapse/1.30.1"
Jul-21 17:33:02.340 [Postgres] silly: Get: SELECT * FROM puppet_mxid_store WHERE puppet_mxid=$id
Jul-21 17:33:02.343 [BotProvisioner] info: Got message to process with arg=link
Jul-21 17:33:02.735 [SkypePuppet:index] verbose: Failed to log in as new user, perhaps the password is wrong?
Jul-21 17:33:02.738 [SkypePuppet:index] silly: MicrosoftAccountLogin: Unable to login with MicrosoftAccount.
  caused by GetLiveKeys: Unable to get the MSPRequ, MSPOK and PPFT keys from login.live.com
  caused by Request: The following HTTP request failed: "{"url":"https://login.skype.com/login/oauth/microsoft","queryString":{"client_id":"578134","redirect_uri":"https://web.skype.com/"},"cookies":{"synchronous":true,"idx":{"login.live.com":{"/":{"uaid":{"key":"uaid","value":"c303ef07652f4262af0ef88c9a04ceff","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.702Z","lastAccessed":"2021-07-21T17:33:02.702Z"},"cltm":{"key":"cltm","value":"cf:ReservedFlight33$2cReservedFligh","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.708Z","lastAccessed":"2021-07-21T17:33:02.708Z"},"MSPRequ":{"key":"MSPRequ","value":"id=293290&lt=1626888782&co=1","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.712Z","lastAccessed":"2021-07-21T17:33:02.712Z"},"MSCC":{"key":"MSCC","value":"157.90.252.174-DE","expires":"2022-08-15T17:33:02.000Z","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.717Z","lastAccessed":"2021-07-21T17:33:02.717Z"},"OParams":{"key":"OParams","value":"11O.DUQsX0R6hjH1AAYUO5MrvC97DjJtuESxxx0Eg6LOyaTIbhQi5ShMy4BMahO5aT0zlrkXqH5KNbBPl99rOI4k3GZPYwFnya!wqfhD1a8jph18Zzf8!YkCNZZU*4WHDI4EYBfYwtQURrDolyE7056nrpNA7MDVO5y2eFTaCH5KQ62hJ6YAm4!*i8kA3LPHE9S72M6Jzno69RqGfBNpdxGuqludQpSyvaIYnVc3ml*w9tsnKtky4PcmGaeVphwoUhXgzxHPLajPMV8PsPPMffJgvE4gkUCJXXV5DR218CPpJugkJISTACqDvfHWPsnG9ypenfr*uDX20nWgziaBVH7*r3!yKi9cBfHJQy5Or5MyjIguoIKCuTwCb*6BHw77CJWl6PhyJcJqhwcvNgfqE5kNBpr0Adp79YfRlYdfHPtfmakFFLcjA8mSfVZHB0jI5479aEY90EZH!o0x*yJPiJLnL!Gaa328o1k37r7itCtmz*XdJVCDZWFNuW1d1UE!dHIMWg$$","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.720Z","lastAccessed":"2021-07-21T17:33:02.720Z"},"MSPOK":{"key":"MSPOK","value":"$uuid-30149eda-d8c9-4efb-a0bd-356edcb3cxxx","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.723Z","lastAccessed":"2021-07-21T17:33:02.723Z"}}}}}}"
    at Object.create (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/errors/http.js:60:16)
    at getLiveKeys (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/providers/microsoft-account.js:82:43)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
    at async Object.login (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/providers/microsoft-account.js:38:26)
    at async Object.login (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/login.js:36:24)
    at async Object.connect (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/connect.js:28:22)
  caused by GotError: unknown compression method
    at EventEmitter.<anonymous> (/opt/mx-puppet-skype/node_modules/got/dist/source/as-promise.js:58:27)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
    at Zlib.zlibOnError [as onerror] (node:zlib:190:17) {
  data: {},
  cause: GetLiveKeys: Unable to get the MSPRequ, MSPOK and PPFT keys from login.live.com
    caused by Request: The following HTTP request failed: "{"url":"https://login.skype.com/login/oauth/microsoft","queryString":{"client_id":"578134","redirect_uri":"https://web.skype.com/"},"cookies":{"synchronous":true,"idx":{"login.live.com":{"/":{"uaid":{"key":"uaid","value":"c303ef07652f4262af0ef88c9a04ceff","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.702Z","lastAccessed":"2021-07-21T17:33:02.702Z"},"cltm":{"key":"cltm","value":"cf:ReservedFlight33$2cReservedFligh","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.708Z","lastAccessed":"2021-07-21T17:33:02.708Z"},"MSPRequ":{"key":"MSPRequ","value":"id=293290&lt=1626888782&co=1","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.712Z","lastAccessed":"2021-07-21T17:33:02.712Z"},"MSCC":{"key":"MSCC","value":"157.90.252.174-DE","expires":"2022-08-15T17:33:02.000Z","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.717Z","lastAccessed":"2021-07-21T17:33:02.717Z"},"OParams":{"key":"OParams","value":"11O.DUQsX0R6hjH1AAYUO5MrvC97DjJtuESxxx0Eg6LOyaTIbhQi5ShMy4BMahO5aT0zlrkXqH5KNbBPl99rOI4k3GZPYwFnya!wqfhD1a8jph18Zzf8!YkCNZZU*4WHDI4EYBfYwtQURrDolyE7056nrpNA7MDVO5y2eFTaCH5KQ62hJ6YAm4!*i8kA3LPHE9S72M6Jzno69RqGfBNpdxGuqludQpSyvaIYnVc3ml*w9tsnKtky4PcmGaeVphwoUhXgzxHPLajPMV8PsPPMffJgvE4gkUCJXXV5DR218CPpJugkJISTACqDvfHWPsnG9ypenfr*uDX20nWgziaBVH7*r3!yKi9cBfHJQy5Or5MyjIguoIKCuTwCb*6BHw77CJWl6PhyJcJqhwcvNgfqE5kNBpr0Adp79YfRlYdfHPtfmakFFLcjA8mSfVZHB0jI5479aEY90EZH!o0x*yJPiJLnL!Gaa328o1k37r7itCtmz*XdJVCDZWFNuW1d1UE!dHIMWg$$","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.720Z","lastAccessed":"2021-07-21T17:33:02.720Z"},"MSPOK":{"key":"MSPOK","value":"$uuid-30149eda-d8c9-4efb-a0bd-356edcb3cxxx","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.723Z","lastAccessed":"2021-07-21T17:33:02.723Z"}}}}}}"
      at Object.create (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/errors/http.js:60:16)
      at getLiveKeys (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/providers/microsoft-account.js:82:43)
      at processTicksAndRejections (node:internal/process/task_queues:94:5)
      at async Object.login (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/providers/microsoft-account.js:38:26)
      at async Object.login (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/login.js:36:24)
      at async Object.connect (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/connect.js:28:22)
    caused by GotError: unknown compression method
      at EventEmitter.<anonymous> (/opt/mx-puppet-skype/node_modules/got/dist/source/as-promise.js:58:27)
      at processTicksAndRejections (node:internal/process/task_queues:94:5)
      at Zlib.zlibOnError [as onerror] (node:zlib:190:17) {
    data: {},
    cause: Request: The following HTTP request failed: "{"url":"https://login.skype.com/login/oauth/microsoft","queryString":{"client_id":"578134","redirect_uri":"https://web.skype.com/"},"cookies":{"synchronous":true,"idx":{"login.live.com":{"/":{"uaid":{"key":"uaid","value":"c303ef07652f4262af0ef88c9a04ceff","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.702Z","lastAccessed":"2021-07-21T17:33:02.702Z"},"cltm":{"key":"cltm","value":"cf:ReservedFlight33$2cReservedFligh","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.708Z","lastAccessed":"2021-07-21T17:33:02.708Z"},"MSPRequ":{"key":"MSPRequ","value":"id=293290&lt=1626888782&co=1","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.712Z","lastAccessed":"2021-07-21T17:33:02.712Z"},"MSCC":{"key":"MSCC","value":"157.90.252.174-DE","expires":"2022-08-15T17:33:02.000Z","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.717Z","lastAccessed":"2021-07-21T17:33:02.717Z"},"OParams":{"key":"OParams","value":"11O.DUQsX0R6hjH1AAYUO5MrvC97DjJtuESxxx0Eg6LOyaTIbhQi5ShMy4BMahO5aT0zlrkXqH5KNbBPl99rOI4k3GZPYwFnya!wqfhD1a8jph18Zzf8!YkCNZZU*4WHDI4EYBfYwtQURrDolyE7056nrpNA7MDVO5y2eFTaCH5KQ62hJ6YAm4!*i8kA3LPHE9S72M6Jzno69RqGfBNpdxGuqludQpSyvaIYnVc3ml*w9tsnKtky4PcmGaeVphwoUhXgzxHPLajPMV8PsPPMffJgvE4gkUCJXXV5DR218CPpJugkJISTACqDvfHWPsnG9ypenfr*uDX20nWgziaBVH7*r3!yKi9cBfHJQy5Or5MyjIguoIKCuTwCb*6BHw77CJWl6PhyJcJqhwcvNgfqE5kNBpr0Adp79YfRlYdfHPtfmakFFLcjA8mSfVZHB0jI5479aEY90EZH!o0x*yJPiJLnL!Gaa328o1k37r7itCtmz*XdJVCDZWFNuW1d1UE!dHIMWg$$","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.720Z","lastAccessed":"2021-07-21T17:33:02.720Z"},"MSPOK":{"key":"MSPOK","value":"$uuid-30149eda-d8c9-4efb-a0bd-356edcb3cxxx","domain":"login.live.com","path":"/","secure":true,"httpOnly":true,"hostOnly":false,"creation":"2021-07-21T17:33:02.723Z","lastAccessed":"2021-07-21T17:33:02.723Z"}}}}}}"
        at Object.create (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/errors/http.js:60:16)
        at getLiveKeys (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/providers/microsoft-account.js:82:43)
        at processTicksAndRejections (node:internal/process/task_queues:94:5)
        at async Object.login (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/providers/microsoft-account.js:38:26)
        at async Object.login (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/login.js:36:24)
        at async Object.connect (/opt/mx-puppet-skype/node_modules/@sorunome/skype-http/dist/lib/connect.js:28:22)
      caused by GotError: unknown compression method
        at EventEmitter.<anonymous> (/opt/mx-puppet-skype/node_modules/got/dist/source/as-promise.js:58:27)
        at processTicksAndRejections (node:internal/process/task_queues:94:5)
        at Zlib.zlibOnError [as onerror] (node:zlib:190:17) {
      data: [Object],
      cause: [ReadError]
    }
  }

Is it helpful?

MurzNN commented 3 years ago

I've found more alive fork of skype-http here https://github.com/SergioV85/skype-http/commits/master - Maybe updating to it can solve this problem?

feydreva commented 3 years ago

Hello same here, I cannot connect to skype with the bridge, using the ansible workbook install method.

if you need more logs, let me know how to put the logging level to silly and I would give you more logs.

For info, my loggin contains an _ in it. loggin : XXX_YYY

nbartels commented 3 years ago

@MurzNN it seems to work, at least I'm able to link the skype account now. For easy testing I published a docker image: https://hub.docker.com/repository/docker/phpmonkeys/mx-puppet-skype. The tag is sergio-fix :)

I have to test it a bit, but the PR is almost ready ;) Many thanks for the hint.

Update: incoming text messages are not visible in matrix and I get the error "Puppet not found". Maybe this is a follow-up error or some misconfiguration - I'll have dig deeper on that.

borisrunakov commented 2 years ago

Any update on this ?

dzg commented 2 years ago

+1 here, installed via Ansible Playbook, cannot login. Any ideas?

XTREEMMAK commented 2 years ago

Just ran into this issue as well. This bridge is borked if we can't login!

othello777 commented 2 years ago

same issue deploying with ansible. we need a commit but it looks like the project might be a little dead

dasauto1 commented 2 years ago

Same issue with Ansible as other users, I am hoping the dev comes back to fix the issue if possible.

dsonck92 commented 2 years ago

Currently this project is migrating over to https://gitlab.com/mx-puppet/skype/mx-puppet-skype, but I do have to add that I currently don't see any maintainer for it. I personally maintain the discord side and the parent project (mx-puppet-bridge) and have very little incentive to pick up skype as well as I personally don't use it. But I'm open to any contributions to the skype bridge.

@nbartels if you have a PR available, be sure to target/submit it on the gitlab hosted repo.

dsonck92 commented 2 years ago

Also the tracking issue there is: https://gitlab.com/mx-puppet/skype/mx-puppet-skype/-/issues/17