ing156 / vacuum-im

Automatically exported from code.google.com/p/vacuum-im
GNU General Public License v3.0
0 stars 0 forks source link

Add support for CAPTCHA requests #767

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
After registering new account at yandex.ru, I can't login to it via Vacuum-IM, 
in xml log I see that Yandex want to show captcha:

  <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl" to="user@yandex.ru/Vacuum-IM">
    <temporary-auth-failure captcha_url="http://i.captcha.yandex.net/image?key=109v1lLlb0XxctcFERkEm0gMXJz6r06m" captcha_id="109v1lLlb0XxctcFERkEm0gMXJz6r06m"/>
  </failure>

Can you add support for entering captcha?

Original issue reported on code.google.com by Mur...@gmail.com on 7 Oct 2013 at 7:37

GoogleCodeExporter commented 8 years ago
Seems that this issue is specific only to Yandex Jabber servers, because other 
Jabber clients didn't see this captcha request too. I report to his support 
this problem too.

Original comment by Mur...@gmail.com on 7 Oct 2013 at 7:55

GoogleCodeExporter commented 8 years ago
Can you show the full log before <failure>?

Original comment by potapov.s.a on 7 Oct 2013 at 7:56

GoogleCodeExporter commented 8 years ago
>>>> myuser@mydomain.ru/Vacuum-IM 11:59:44 +0 >>>>
  <stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0" xmlns="jabber:client" to="mydomain.ru"/>

<<<< myuser@mydomain.ru/Vacuum-IM 11:59:44 +28 <<<<
  <stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0" xmlns="jabber:client" from="mydomain.ru" id="3551647152" to="myuser@mydomain.ru/Vacuum-IM" xml:lang="en" xmlns:xml="http://www.w3.org/XML/1998/namespace"/>

<<<< myuser@mydomain.ru/Vacuum-IM 11:59:44 +17 <<<<
  <stream:features to="myuser@mydomain.ru/Vacuum-IM">
    <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
    <compression xmlns="http://jabber.org/features/compress">
      <method>zlib</method>
    </compression>
    <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
      <mechanism>PLAIN</mechanism>
      <mechanism>X-YANDEX-FIMP</mechanism>
      <mechanism>X-YANDEX-OAUTH-FIMP</mechanism>
    </mechanisms>
    <ver xmlns="urn:xmpp:features:rosterver"/>
  </stream:features>

>>>> myuser@mydomain.ru/Vacuum-IM 11:59:44 +3 >>>>
  <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

<<<< myuser@mydomain.ru/Vacuum-IM 11:59:44 +17 <<<<
  <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" to="myuser@mydomain.ru/Vacuum-IM"/>

>>>> myuser@mydomain.ru/Vacuum-IM 11:59:44 +30 >>>>
  <stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0" xmlns="jabber:client" to="mydomain.ru"/>

<<<< myuser@mydomain.ru/Vacuum-IM 11:59:44 +19 <<<<
  <stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0" xmlns="jabber:client" from="mydomain.ru" id="1847837997" to="myuser@mydomain.ru/Vacuum-IM" xml:lang="en" xmlns:xml="http://www.w3.org/XML/1998/namespace"/>

<<<< myuser@mydomain.ru/Vacuum-IM 11:59:44 +51 <<<<
  <stream:features to="myuser@mydomain.ru/Vacuum-IM">
    <compression xmlns="http://jabber.org/features/compress">
      <method>zlib</method>
    </compression>
    <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
      <mechanism>PLAIN</mechanism>
      <mechanism>X-YANDEX-FIMP</mechanism>
      <mechanism>X-YANDEX-PLAIN</mechanism>
      <mechanism>X-YANDEX-OAUTH</mechanism>
      <mechanism>X-YANDEX-OAUTH-FIMP</mechanism>
    </mechanisms>
    <ver xmlns="urn:xmpp:features:rosterver"/>
  </stream:features>

>>>> myuser@mydomain.ru/Vacuum-IM 11:59:44 +3 >>>>
  <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">mypassword</auth>

<<<< myuser@mydomain.ru/Vacuum-IM 11:59:44 +28 <<<<
  <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl" to="myuser@mydomain.ru/Vacuum-IM">
    <temporary-auth-failure captcha_url="http://i.captcha.yandex.net/image?key=10NRiWIrWxGrvTiWfEDLavf9QWiJzp4A" captcha_id="10NRiWIrWxGrvTiWfEDLavf9QWiJzp4A"/>
  </failure>

Original comment by Mur...@gmail.com on 7 Oct 2013 at 8:00

GoogleCodeExporter commented 8 years ago
It seems that yandex uses not standard captcha requests, but I can login with 
out any problems and captchas.

Original comment by potapov.s.a on 14 Oct 2013 at 8:49

GoogleCodeExporter commented 8 years ago
Sems that this is temporary problem with Yandex, after I write this problem to 
support, I didn't see captcha requests.

Original comment by Mur...@gmail.com on 14 Oct 2013 at 9:39