skyweb icon indicating copy to clipboard operation
skyweb copied to clipboard

Hitting captcha wall and how to resolve it

Open HoboKristian opened this issue 9 years ago • 5 comments

I am hitting the captcha wall a few times while testing my bot. I think it's due to the excessive amount of logins or the fact that I am logged into my regular skype account at the same time. Is there a way to resolve this other than waiting? (I had to wait for 12hours last time).

HoboKristian avatar Sep 16 '15 08:09 HoboKristian

Yes, it's due to the excessive amount of logins.

  1. You can try to login manually to web.skype.com(several times) and print CAPTCHA(sometimes it helps).
  2. If you can somehow change your IP address that will do the trick(VPN or proxy)(works for me at least).

ShyykoSerhiy avatar Sep 16 '15 09:09 ShyykoSerhiy

Yet another possible way may be to preserve cookies from previous session(with skypeToken and registrationToken) and try use them if they already exist. Hm, sounds like a neat way for handling this particular issue while developing. Will look into this more closer. Thx.

ShyykoSerhiy avatar Sep 16 '15 10:09 ShyykoSerhiy

It worked now without doing anything (probably due to waiting an hour). I'll try the web.skype.com trick next time. VPN did not work :/

HoboKristian avatar Sep 16 '15 10:09 HoboKristian

I tried login on web.skype.com and solving the CAPTCHA, but it did not unlock the bot. Trying a different IP didn't help.

progval avatar Aug 07 '16 23:08 progval

Possible solution: setting a User-Agent. In src/login.ts, replace this line:

        this.requestWithJar.get(Consts.SKYPEWEB_LOGIN_URL, (error, response, body) => {

by this line:

        this.requestWithJar.get({url: Consts.SKYPEWEB_LOGIN_URL, headers: {"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36"}}, (error, response, body) => {

If it does not work, try to use the same User-Agent as a browser which you just successfully connected with.

progval avatar Aug 08 '16 00:08 progval