hubot-skype-web icon indicating copy to clipboard operation
hubot-skype-web copied to clipboard

Timeout in waiting for login success

Open Melonbwead opened this issue 8 years ago • 12 comments

so I have been running fine with the hubot for a week, but since today, it started timing out on the logins, but the the screenshot it took seems like it has logged in. not sure if skype have updated something.

ERROR Timeout in waiting for login success!

login-failure.png:

login-failure

Melonbwead avatar Jan 25 '16 11:01 Melonbwead

Hi @ChennyBaBy

I believe this is similar to issue #18

You're not really logged in. Look at the account status (next to the avatar). Try logging in manually and see if you experience this as well.

sdimkov avatar Jan 25 '16 12:01 sdimkov

I can reproduce this issue. I hit also #17 , so the fix is included. Tried to login manually and to increase timeout without success.

Here is my Dockerfile for reproducing:

FROM node
ENV phv 2.1.1
RUN \
  mkdir phantomjs && \
  cd phantomjs && \
  curl -O -L -J "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-${phv}-linux-x86_64.tar.bz2" && \
  tar jxvf phantomjs-${phv}-linux-x86_64.tar.bz2 && \
  rm -rf /phantomjs/phantomjs-${phv}-linux-x86_64.tar.bz2 && \
  ln -s /phantomjs/phantomjs-${phv}-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs && \
  ln -s /phantomjs/phantomjs-${phv}-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs && \
  ln -s /phantomjs/phantomjs-${phv}-linux-x86_64/bin/phantomjs /usr/bin/phantomjs && \
  phantomjs -v && \
  npm install -g hubot coffee-script hubot-skype-web
RUN sed -i "s/phantomOptions = {}/phantomOptions = parameters: 'web-security': false/g" /usr/local/lib/node_modules/hubot-skype-web/src/skypeweb.coffee

CMD hubot -a skype-web

docker build -t hubot-skype .

docker run -it --rm -e HUBOT_LOG_LEVEL=debug -e HUBOT_SKYPE_USERNAME=XXXX -e HUBOT_SKYPE_PASSWORD=XXXX hubot-skype

Output:

[Thu Feb 04 2016 12:47:38 GMT+0000 (UTC)] DEBUG Loading adapter skype-web
[Thu Feb 04 2016 12:47:38 GMT+0000 (UTC)] DEBUG Skype during login: https://web.skype.com/
[Thu Feb 04 2016 12:47:39 GMT+0000 (UTC)] DEBUG Skype during login: https://az663213.vo.msecnd.net/0-201-0/js/checkBrowserSupport.js
[Thu Feb 04 2016 12:47:39 GMT+0000 (UTC)] DEBUG Skype during login: https://az663213.vo.msecnd.net/0-201-0/js/index.js
[Thu Feb 04 2016 12:47:39 GMT+0000 (UTC)] DEBUG Skype during login: https://login.skype.com/login?client_id=578134&redirect_uri=https%3A%2F%2Fweb.skype.com%2F
[Thu Feb 04 2016 12:47:39 GMT+0000 (UTC)] DEBUG Skype during login: https://secure.skypeassets.com/i/common/1.3/css/skype.min.css
[Thu Feb 04 2016 12:47:39 GMT+0000 (UTC)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/css/base.css;layout.css;form.css;notification.css;input.css;checkbox.css
[Thu Feb 04 2016 12:47:39 GMT+0000 (UTC)] DEBUG Skype during login: https://secure.skypeassets.com/i/common/1.3/js/skype.min.js
[Thu Feb 04 2016 12:47:39 GMT+0000 (UTC)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/js/svgsupport.js;hotfix.js;button.js;input.js;checkbox.js;common.js
[Thu Feb 04 2016 12:47:39 GMT+0000 (UTC)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/css/email-message.css;spinner.css;captcha.css;microsoft-sso.css
[Thu Feb 04 2016 12:47:39 GMT+0000 (UTC)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/js/jquery.preloader.js;silentlogin.js;microsoftSso.js
[Thu Feb 04 2016 12:47:39 GMT+0000 (UTC)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/js/spinner.js;tools.js;unified.js
phantom stdout: ReferenceError: Can't find variable: $


phantom stdout:   https://apps.skypeassets.com/static/1.193/skype.login/js/svgsupport.js;hotfix.js;button.js;input.js;checkbox.js;common.js:5 in global code

phantom stdout: ReferenceError: Can't find variable: jQuery


phantom stdout:   https://apps.skypeassets.com/static/1.193/skype.login/js/jquery.preloader.js;silentlogin.js;microsoftSso.js:9 in global code

phantom stdout: ReferenceError: Can't find variable: $


phantom stdout:   https://login.skype.com/login?client_id=578134&redirect_uri=https%3A%2F%2Fweb.skype.com%2F:12 in global code

[Thu Feb 04 2016 12:47:40 GMT+0000 (UTC)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/images/icons/misc-elements-sprite.svg
[Thu Feb 04 2016 12:47:40 GMT+0000 (UTC)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/images/icons/label-bg.svg
[Thu Feb 04 2016 12:47:40 GMT+0000 (UTC)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/images/icons/icons_msa_facebook.svg
phantom stdout: ReferenceError: Can't find variable: $

  https://login.skype.com/login?client_id=578134&redirect_uri=https%3A%2F%2Fweb.skype.com%2F:46 in global code

phantom stdout: TypeError: undefined is not a function (evaluating 'SKYPE.namespace("login")')


phantom stdout:   https://apps.skypeassets.com/static/1.193/skype.login/js/spinner.js;tools.js;unified.js:2 in global code

phantom stdout: ReferenceError: Can't find variable: $


phantom stdout:   https://login.skype.com/login?client_id=578134&redirect_uri=https%3A%2F%2Fweb.skype.com%2F:55 in global code

[Thu Feb 04 2016 12:47:40 GMT+0000 (UTC)] DEBUG Skype during login: https://i.s-microsoft.com/wedcs/ms.js
[Thu Feb 04 2016 12:47:40 GMT+0000 (UTC)] DEBUG Skype during login: https://secure.skypeassets.com/i/common/1.3/css/skype.min.css
[Thu Feb 04 2016 12:47:40 GMT+0000 (UTC)] DEBUG Skype during login: https://secure.skypeassets.com/i/common/1.3/js/skype.min.js
phantom stdout: ReferenceError: Can't find variable: $


phantom stdout:   https://login.skype.com/login?client_id=578134&redirect_uri=https%3A%2F%2Fweb.skype.com%2F:10 in global code

[Thu Feb 04 2016 12:48:28 GMT+0000 (UTC)] ERROR Timeout in waiting for login success!
[Thu Feb 04 2016 12:48:28 GMT+0000 (UTC)] ERROR Screenshot saved at: //login-failure.png
[Thu Feb 04 2016 12:48:28 GMT+0000 (UTC)] ERROR Error: SkypeWeb adapter failure in initial login!
  at Object.error (/usr/local/lib/node_modules/hubot-skype-web/src/skypeweb.coffee:66:17)
  at /usr/local/lib/node_modules/hubot-skype-web/src/skypeweb.coffee:128:22
  at Proto.apply (/usr/local/lib/node_modules/hubot-skype-web/node_modules/dnode-protocol/index.js:123:13)
  at Proto.handle (/usr/local/lib/node_modules/hubot-skype-web/node_modules/dnode-protocol/index.js:99:19)
  at D.dnode.handle (/usr/local/lib/node_modules/hubot-skype-web/node_modules/dnode/lib/dnode.js:140:21)
  at D.dnode.write (/usr/local/lib/node_modules/hubot-skype-web/node_modules/dnode/lib/dnode.js:128:22)
  at SockJSConnection.ondata (stream.js:31:26)
  at emitOne (events.js:90:13)
  at SockJSConnection.emit (events.js:182:7)
  at Session.didMessage (/usr/local/lib/node_modules/hubot-skype-web/node_modules/sockjs/lib/transport.js:220:25)
  at WebSocketReceiver.didMessage (/usr/local/lib/node_modules/hubot-skype-web/node_modules/sockjs/lib/trans-websocket.js:102:40)
  at /usr/local/lib/node_modules/hubot-skype-web/node_modules/sockjs/lib/trans-websocket.js:75:22
  at [object Object].<anonymous> (/usr/local/lib/node_modules/hubot-skype-web/node_modules/faye-websocket/lib/faye/websocket/api/event_target.js:41:7)
  at Array.forEach (native)
  at [object Object].EventTarget.dispatchEvent (/usr/local/lib/node_modules/hubot-skype-web/node_modules/faye-websocket/lib/faye/websocket/api/event_target.js:40:33)
  at [object Object].API.receive (/usr/local/lib/node_modules/hubot-skype-web/node_modules/faye-websocket/lib/faye/websocket/api.js:30:10)
  at [object Object].instance._emitFrame (/usr/local/lib/node_modules/hubot-skype-web/node_modules/faye-websocket/lib/faye/websocket/hybi_parser.js:285:44)
  at [object Object].instance.parse (/usr/local/lib/node_modules/hubot-skype-web/node_modules/faye-websocket/lib/faye/websocket/hybi_parser.js:143:18)
  at Socket.<anonymous> (/usr/local/lib/node_modules/hubot-skype-web/node_modules/faye-websocket/lib/faye/websocket.js:72:33)
  at emitOne (events.js:90:13)
  at Socket.emit (events.js:182:7)
  at readableAddChunk (_stream_readable.js:147:16)
  at Socket.Readable.push (_stream_readable.js:111:10)
  at TCP.onread (net.js:523:20)

Here is screenshot:

login-failure

mgarmash avatar Feb 04 '16 12:02 mgarmash

@mgarmash Thanks for the detailed info!

Regarding the issue: I also experienced this even without hubot. Just by manually logging in with my account I was seeing the same behavior. I'll investigate further this week.

Side note: The sed statement is no longer needed as the CORS fix is now in v0.9.13

sdimkov avatar Feb 08 '16 09:02 sdimkov

Just tested. CORS is fixed, I confirm. The original problem still exists.

mgarmash avatar Feb 08 '16 10:02 mgarmash

+1 to this, just getting started with hubot, same debug output, same screenshot as OP: login-failure

Debug output:

ERROR Timeout in waiting for login success!
[Fri Feb 26 2016 12:02:48 GMT+0000 (GMT)] ERROR Screenshot saved at: /home/sam/Coding/hubot/login-failure.png
[Fri Feb 26 2016 12:02:48 GMT+0000 (GMT)] ERROR Error: SkypeWeb adapter failure in initial login!
  at Object.error (/home/sam/Coding/hubot/node_modules/hubot-skype-web/src/skypeweb.coffee:66:17, <js>:87:15)
  at /home/sam/Coding/hubot/node_modules/hubot-skype-web/src/skypeweb.coffee:128:20, <js>:160:86
  at Proto.apply (/home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/dnode/node_modules/dnode-protocol/index.js:123:13)
  at Proto.handle (/home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/dnode/node_modules/dnode-protocol/index.js:99:19)
  at D.dnode.handle (/home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/dnode/lib/dnode.js:140:21)
  at D.dnode.write (/home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/dnode/lib/dnode.js:128:22)
  at SockJSConnection.ondata (stream.js:31:26)
  at emitOne (events.js:77:13)
  at SockJSConnection.emit (events.js:169:7)
  at Session.didMessage (/home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/lib/transport.js:220:25)
  at WebSocketReceiver.didMessage (/home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/lib/trans-websocket.js:102:40)
  at /home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/lib/trans-websocket.js:75:22
  at [object Object].<anonymous> (/home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/api/event_target.js:41:7)
  at Array.forEach (native)
  at [object Object].EventTarget.dispatchEvent (/home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/api/event_target.js:40:33)
  at [object Object].API.receive (/home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/api.js:30:10)
  at [object Object].instance._emitFrame (/home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/hybi_parser.js:285:44)
  at [object Object].instance.parse (/home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/hybi_parser.js:143:18)
  at Socket.<anonymous> (/home/sam/Coding/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket.js:72:33)
  at emitOne (events.js:77:13)
  at Socket.emit (events.js:169:7)
  at readableAddChunk (_stream_readable.js:146:16)
  at Socket.Readable.push (_stream_readable.js:110:10)
  at TCP.onread (net.js:523:20)

Command I used to run: HUBOT_LOG_LEVEL='debug' HUBOT_SKYPE_USERNAME='username' HUBOT_SKYPE_PASSWORD='password' ./bin/hubot --adapter skype-web

Have tried logging in manually with no problems: image

martsa1 avatar Feb 26 '16 12:02 martsa1

My Hubot instance seems to have died as well within the past 24 hours - same as above.

Debug log:

[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Loading adapter skype-web
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://web.skype.com/
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://az663213.vo.msecnd.net/0-203-0/js/checkBrowserSupport.js
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://az663213.vo.msecnd.net/0-203-0/js/index.js
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://login.skype.com/login?client_id=578134&redirect_uri=https%3A%2F%2Fweb.skype.com%2F
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://secure.skypeassets.com/i/common/1.3/css/skype.min.css
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/css/base.css;layout.css;form.css;notification.css;input.css;checkbox.css
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://secure.skypeassets.com/i/common/1.3/js/skype.min.js
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/js/svgsupport.js;hotfix.js;button.js;input.js;checkbox.js;common.js
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/css/email-message.css;spinner.css;captcha.css;microsoft-sso.css
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/js/jquery.preloader.js;silentlogin.js;microsoftSso.js
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/js/spinner.js;tools.js;unified.js
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://secure.skypeassets.com/i/common/images/icons/navigation-sprite.svg
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://i.s-microsoft.com/wedcs/ms.js
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://secure.skypeassets.com/i/common/images/ui-elements/buttons-sprite.svg
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://secure.skypeassets.com/i/common/images/icons/footer-sprite-ms.svg
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/images/icons/misc-elements-sprite.svg
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/images/icons/label-bg.svg
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://secure.skypeassets.com/i/common/fonts/latin/segoe-ui-regular-latin.woff
[Sat Feb 27 2016 06:48:05 GMT+0100 (CET)] DEBUG Skype during login: https://secure.skypeassets.com/i/common/fonts/latin/segoe-ui-semibold-latin.woff
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://cs.microsoft.com/getid.js?jsoncb=MscomSetFPC
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://c1.microsoft.com/c.gif?DI=4050&did=1&t=
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://c.microsoft.com/trans_pixel.aspx?wcs.tz=1&wcs.cot=0&wcs.route=16160&wcs.ctrl=&wcs.ts=1456552085984&wcs.fpc=ID%253D7e5b7f523ad54bb0bf8e9bca5a3b302d%2526CS%253D0%2526LV%253D201602&wcs.r=https%3A%2F%2Fweb.skype.com%2F&wcs.cd=0&wcs.eid=01a42e20-31b8-10de-53b4-e6e7b07b76ab&wcs.sr=1024x768&wcs.bs=400x1316&wcs.rsd=login.skype.com&wcs.rsus=%2Flogin&wcs.rsqs=%3Fclient_id%3D578134%26redirect_uri%3Dhttps%253A%252F%252Fweb.skype.com%252F&wcs.rihs=1&wcs.cks=&wcs.ti=Sign%20into%20your%20Skype%20account&wcs.v=4&wcs.vct=1&wcs.vs=0&wcs.vclt=0&wcs.vfpv=0&wcs.et=1&ms.env=prod&ms.skypepn=skypeloginweb%2Flogin&ms.pagetype=skypeloginweb&ms.lang=en&ms.prod=Skype&ms.rwd=desktop&wcs.tr=0
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://apps.skypeassets.com/static/1.193/skype.login/images/icons/ms-avatar.png
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://login.skype.com/login/silent?response_type=postmessage&client_id=111111&redirect_uri=https%3A%2F%2Flogin.skype.com%2Flogin&state=silentloginsdk_1456552086008&_accept=1.0&_nc=1456552086008&partner=999&profile=true
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://secure.skypeassets.com/i/common/images/icons/navigation-sprite.png
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://web.skype.com/en/
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663213.vo.msecnd.net/0-203-0/css/webClient.css
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663213.vo.msecnd.net/0-203-0/js/en/main.js
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663213.vo.msecnd.net/0-203-0/images/welcomeOverlay/E300.svg
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663213.vo.msecnd.net/0-203-0/images/welcomeOverlay/E100.svg
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663213.vo.msecnd.net/0-203-0/images/welcomeOverlay/E102.svg
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663213.vo.msecnd.net/0-203-0/images/skype_logo_white.png
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://web.skype.com/api/v2/eligibility-check
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663213.vo.msecnd.net/0-203-0/js/wedcs.min.js
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663213.vo.msecnd.net/0-203-0/js/aria-web-telemetry-2.1.2.min.js
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663911.vo.msecnd.net/meAppLoader.js?v=1
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/shared/v/1.2.9/SkypeBootstrap.min.js?1456552086763&version=
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://flagsapi.skype.com/flags/v1/1
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://a.config.skype.com/config/v1/Skype/0.0.0.0/PortalWebClient?useridtype=skypeidhash&skypeidhash=-6522081059126099163
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://c1.microsoft.com/c.gif?DI=4050&did=1&t=
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://c.microsoft.com/trans_pixel.aspx?wcs.tz=1&wcs.cot=0&wcs.route=60001&wcs.ctrl=&wcs.ts=1456552086786&wcs.cd=0&wcs.eid=e6d1a5c5-b0cc-879b-a74d-4a90d5efb10e&wcs.sr=1024x768&wcs.bs=400x420&wcs.r=https%3A%2F%2Fweb.skype.com%2F&wcs.ti=Skype&wcs.rsd=web.skype.com&wcs.rsus=%2Fen%2F&wcs.rsqs=&wcs.rihs=1&wcs.v=3.5&wcs.vct=1&wcs.vs=0&wcs.vclt=0&wcs.vfpv=0&wcs.et=1&ms.prod=Skype&ms.env=production&ms.lang=en&ms.rwd=desktop&ms.skype_userhash=-6522081059126099163&ms.pageType=webclient&ms.skypepn=webclient%2Fmain&wcs.tr=0
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://c.bing.com/c.gif?DI=4050&did=1&t=&ctsa=mr&CtsSyncId=D4F98D13F6454E039B50B0A38D1D4042&RedC=c1.microsoft.com&MXFR=2656DC9CF76E6F670654D454F36E694C
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://a.config.skype.com/config/v1/SkypeLyncWebExperience/905_1.2.9.0?apikey=skype.com&fingerprint=meowgta&callback=Skype.onConfigurationLoaded
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663911.vo.msecnd.net/1-57-0/js/bootstrap.js
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663911.vo.msecnd.net/1-57-0/css/styles.css
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663911.vo.msecnd.net/1-57-0/css/themes/atlasTheme.css
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://az663911.vo.msecnd.net/1-57-0/js/en/meApp.js
[Sat Feb 27 2016 06:48:06 GMT+0100 (CET)] DEBUG Skype during login: https://c1.microsoft.com/c.gif?DI=4050&did=1&t=&ctsa=mr&CtsSyncId=D4F98D13F6454E039B50B0A38D1D4042&MUID=2656DC9CF76E6F670654D454F36E694C
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/v/1.30.129/js/fullExperience.min.js
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/css/common.css
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/v/1.30.129/css/swx.css
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/images/avatars/default-avatar-contact.svg
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://api.skype.com/users/self/profile/avatar?cacheHeaders=1
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/fonts/latin/segoe-ui-regular-latin.woff
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/fonts/latin/segoe-ui-light-latin.woff
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/fonts/latin/segoe-ui-semibold-latin.woff
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/fonts/symbol/SkypeUISymbol-Bold.woff
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/fonts/symbol/SkypeUISymbol-Regular.woff
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://a.config.skype.com/config/v1/Skype/908_1.30.0.129/SkypePersonalization?apikey=skype.com&id=meowgta&callback=Skype.onConfigurationLoaded
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/audio/m4a/call-answer.m4a
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://api.skype.com/users/self/profile
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://api.skype.com/users/self/contacts/auth-request
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/audio/ogg/call-answer.ogg
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://static.asm.skype.com/pes/v1/petoken
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/audio/m4a/call-dialing.m4a
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/audio/ogg/call-dialing.ogg
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/audio/m4a/call-outgoing-p1.m4a
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/audio/ogg/call-outgoing-p1.ogg
[Sat Feb 27 2016 06:48:07 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/audio/m4a/call-outgoing-p2-loop.m4a
[Sat Feb 27 2016 06:48:08 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/audio/ogg/call-outgoing-p2-loop.ogg
[Sat Feb 27 2016 06:48:08 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/audio/m4a/call-incoming-loop.m4a
[Sat Feb 27 2016 06:48:08 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/audio/ogg/call-incoming-loop.ogg
[Sat Feb 27 2016 06:48:08 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/audio/m4a/message-received-1.m4a
[Sat Feb 27 2016 06:48:08 GMT+0100 (CET)] DEBUG Skype during login: https://swx.cdn.skype.com/assets/v/0.0.264/audio/ogg/message-received-1.ogg
[Sat Feb 27 2016 06:48:08 GMT+0100 (CET)] DEBUG Skype during login: https://471-trouter-weu-a.drip.trouter.io/socket.io/1/?sr=A0JNFAB27KeB7PAsL6hM8s52Lz_B6HIv2Z8fVQKDkl2o4KzUMPMsKAwPkmWqXPIf7wRc&issuer=edf&sp=connect&st=1456551788126&se=1456630226126&sig=EUytI6AJyjNMa_f05gT4NOzNj4RyP47LyUZh9SbGNyo&ttl=78138&r=13.80.126.3&v=v2&p=443&ccid=8CwvqEzyznYv&dom=web.skype.com&auth=true&tc=%7B%22cv%22:%222015.11.05%22,%22hr%22:%22%22,%22ua%22:%22SWX%22,%22v%22:%221.30.129%22%7D&timeout=55&t=1456552088109
[Sat Feb 27 2016 06:48:08 GMT+0100 (CET)] DEBUG Skype during login: https://static-asm.secure.skypeassets.com/token/token_to_cookies?vdms_skype_token=HTWUMtM9fEdfkgxrsivPu0iTvH-Fj8cSWjtKPaimWkvdWw4CBE0aQ0kRQFncKqEV
[Sat Feb 27 2016 06:48:08 GMT+0100 (CET)] DEBUG Skype during login: https://static-asm.secure.skypeassets.com/pes/v1/configs/bb7758d1e05c4dc194639c8a8048de6e/views/en
[Sat Feb 27 2016 06:48:08 GMT+0100 (CET)] DEBUG Skype during login: https://client-s.gateway.messenger.live.com/v1/users/ME/endpoints/SELF/properties?name=supportsMessageProperties
[Sat Feb 27 2016 06:48:08 GMT+0100 (CET)] DEBUG Skype during login: https://client-s.gateway.messenger.live.com/v1/users/ME/properties
[Sat Feb 27 2016 06:48:08 GMT+0100 (CET)] DEBUG Skype during login: https://static-asm.secure.skypeassets.com/pes/v1/items/bc362ece0ba34079b56801dcf509acf9/views/meta.default
[Sat Feb 27 2016 06:48:08 GMT+0100 (CET)] DEBUG Skype during login: https://client-s.gateway.messenger.live.com/v1/users/ME/endpoints/%7Bc63c0926-f3bb-4cdd-9c90-3f8891482afd%7D/presenceDocs/messagingService
[Sat Feb 27 2016 06:48:26 GMT+0100 (CET)] DEBUG Skype during login: https://c.microsoft.com/trans_pixel.aspx?wcs.tz=1&wcs.cot=5&wcs.route=60001&wcs.ctrl=&wcs.ts=1456552106774&wcs.cd=0&wcs.eid=442fed33-5c5d-97ba-b39d-3bbd01078163&wcs.sr=1024x768&wcs.bs=400x420&wcs.r=https%3A%2F%2Fweb.skype.com%2F&wcs.ti=Skype&wcs.rsd=web.skype.com&wcs.rsus=%2Fen%2F&wcs.rsqs=&wcs.rihs=1&wcs.v=3.5&wcs.vct=1&wcs.vs=0&wcs.vclt=0&wcs.vfpv=0&wcs.et=1&ms.prod=Skype&ms.env=production&ms.lang=en&ms.rwd=desktop&ms.skype_userhash=-6522081059126099163&ms.interactiontype=1&ms.pageType=webclient&ms.skypepn=webclient%2Fmain&ms.ea_offer=Client%20System%3A%20Loading%20screen%20Max&ms.ea_action=Loading%20screen%20displayed%20for%20max%20time&ms.cid=9001&wcs.tr=0
[Sat Feb 27 2016 06:48:55 GMT+0100 (CET)] ERROR Timeout in waiting for login success!
[Sat Feb 27 2016 06:48:55 GMT+0100 (CET)] ERROR Screenshot saved at: /home/lovely/hubot/login-failure.png
[Sat Feb 27 2016 06:48:55 GMT+0100 (CET)] ERROR Error: SkypeWeb adapter failure in initial login!
  at Object.error (/home/lovely/hubot/node_modules/hubot-skype-web/src/skypeweb.coffee:66:17, <js>:87:15)
  at /home/lovely/hubot/node_modules/hubot-skype-web/src/skypeweb.coffee:128:20, <js>:160:86
  at Proto.apply (/home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/dnode/node_modules/dnode-protocol/index.js:123:13)
  at Proto.handle (/home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/dnode/node_modules/dnode-protocol/index.js:99:19)
  at D.dnode.handle (/home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/dnode/lib/dnode.js:140:21)
  at D.dnode.write (/home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/dnode/lib/dnode.js:128:22)
  at SockJSConnection.ondata (stream.js:31:26)
  at emitOne (events.js:77:13)
  at SockJSConnection.emit (events.js:169:7)
  at Session.didMessage (/home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/lib/transport.js:220:25)
  at WebSocketReceiver.didMessage (/home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/lib/trans-websocket.js:102:40)
  at /home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/lib/trans-websocket.js:75:22
  at [object Object].<anonymous> (/home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/api/event_target.js:41:7)
  at Array.forEach (native)
  at [object Object].EventTarget.dispatchEvent (/home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/api/event_target.js:40:33)
  at [object Object].API.receive (/home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/api.js:30:10)
  at [object Object].instance._emitFrame (/home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/hybi_parser.js:285:44)
  at [object Object].instance.parse (/home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket/hybi_parser.js:143:18)
  at Socket.<anonymous> (/home/lovely/hubot/node_modules/hubot-skype-web/node_modules/phantom/node_modules/shoe/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket.js:72:33)
  at emitOne (events.js:77:13)
  at Socket.emit (events.js:169:7)
  at readableAddChunk (_stream_readable.js:146:16)
  at Socket.Readable.push (_stream_readable.js:110:10)
  at TCP.onread (net.js:523:20)

Screenshot as in the last post.

nta avatar Feb 27 '16 07:02 nta

Issue is still preset - @nagodon's patch no longer works. Is this repo still maintained @sdimkov?

ecnepsnai avatar Apr 06 '16 17:04 ecnepsnai

This seems to be a different but linked issue, with this fix, still getting the following dump on startup causing hubot to no-longer log in:

C:\hubot>bin\hubot
[Tue Mar 29 2016 10:19:23 GMT+0100 (GMT Daylight Time)] ERROR Timeout in waiting for login success!
[Tue Mar 29 2016 10:19:23 GMT+0100 (GMT Daylight Time)] ERROR Screenshot saved at: C:\hubot\login-failure.png
[Tue Mar 29 2016 10:19:23 GMT+0100 (GMT Daylight Time)] ERROR Error: SkypeWeb adapter failure in initial login!
  at Object.error (C:\hubot\node_modules\hubot-skype-web\src\skypeweb.coffee:66:17)
  at C:\hubot\node_modules\hubot-skype-web\src\skypeweb.coffee:128:22  at Proto.apply (C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\dnode\node_modules\dnode-protocol\index.js:123:13)
  at Proto.handle (C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\dnode\node_modules\dnode-protocol\index.js:99:19)
  at D.dnode.handle (C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\dnode\lib\dnode.js:140:21)
  at D.dnode.write (C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\dnode\lib\dnode.js:128:22)
  at SockJSConnection.ondata (stream.js:31:26)
  at emitOne (events.js:77:13)
  at SockJSConnection.emit (events.js:169:7)
  at Session.didMessage (C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\shoe\node_modules\sockjs\lib\transport.js:220:25)
  at WebSocketReceiver.didMessage (C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\shoe\node_modules\sockjs\lib\trans-websocket.js:102:40)
  at C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\shoe\node_modules\sockjs\lib\trans-websocket.js:75:22
  at [object Object].<anonymous> (C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\shoe\node_modules\sockjs\node_modules\faye-websocket\lib\faye\websocket\api\event_target.js:41:7)
  at Array.forEach (native)
  at [object Object].EventTarget.dispatchEvent (C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\shoe\node_modules\sockjs\node_modules\faye-websocket\lib\faye\websocket\api\event_target.js:40:33)
  at [object Object].API.receive (C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\shoe\node_modules\sockjs\node_modules\faye-websocket\lib\faye\websocket\api.js:30:10)
  at [object Object].instance._emitFrame (C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\shoe\node_modules\sockjs\node_modules\faye-websocket\lib\faye\websocket\hybi_parser.js:285:44)
  at [object Object].instance.parse (C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\shoe\node_modules\sockjs\node_modules\faye-websocket\lib\faye\websocket\hybi_parser.js:143:18)
  at Socket.<anonymous> (C:\hubot\node_modules\hubot-skype-web\node_modules\phantom\node_modules\shoe\node_modules\sockjs\node_modules\faye-websocket\lib\faye\websocket.js:72:33)
  at emitOne (events.js:77:13)
  at Socket.emit (events.js:169:7)
  at readableAddChunk (_stream_readable.js:146:16)
  at Socket.Readable.push (_stream_readable.js:110:10)
  at TCP.onread (net.js:523:20)

login-failure

sbozzie avatar Apr 08 '16 09:04 sbozzie

I've found https://github.com/EllisV/hubot-skyweb to work currently.

sbozzie avatar Apr 12 '16 13:04 sbozzie

Hi, I am still getting this error, I am able to login to skype manually via browser but not via hubot.

Sat Nov 26 2016 00:00:05 GMT+0530 (IST)] ERROR Timeout in waiting for login success! [Sat Nov 26 2016 00:00:05 GMT+0530 (IST)] ERROR Screenshot saved at: /home/gemini/hubot/ritikahubot/login-failure.png [Sat Nov 26 2016 00:00:05 GMT+0530 (IST)] ERROR Error: SkypeWeb adapter failure in initial login! at Object.error (/home/gemini/hubot/ritikahubot/node_modules/hubot-skype-web/src/skypeweb.coffee:66:17, :87:15) login-failure

ritikajain7 avatar Nov 25 '16 18:11 ritikajain7

Can anybody please guide me on this? I really want a skype bot up and running.

ritikajain7 avatar Nov 27 '16 16:11 ritikajain7

My advice, deprecate this module and go forward using the official Skype API: https://www.skype.com/en/developer/

ecnepsnai avatar Nov 27 '16 19:11 ecnepsnai