xiehuc / pidgin-lwqq

a pidgin plugin based on lwqq, a excellent safe useful library for webqq protocol
GNU General Public License v3.0
660 stars 185 forks source link

Logging in says "Wrong password" and "wrong verify code" often #648

Closed CapnKernel closed 9 years ago

CapnKernel commented 9 years ago

Hi,

I'm trying lwqq/pidgin-lwqq 0.6.0 (master). I get messages like this:

(17:51:42) util: Writing file /home/mjd/pidgin-qq/blist.xml
Verify code: !ZHS
[Jun 09 17:51:47] ERROR[32714]: login.c:319 do_login_cb: 
    Wrong password
[Jun 09 17:51:47] ERROR[32714]: login.c:319 do_login_cb: 
    Wrong password
[Jun 09 17:51:48] ERROR[32714]: login.c:319 do_login_cb: 
    Wrong password
[Jun 09 17:51:48] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:49] ERROR[32714]: login.c:319 do_login_cb: 
    Wrong password
[Jun 09 17:51:49] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:50] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:50] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:51] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:51] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:52] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:52] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:53] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:53] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:54] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:54] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:55] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:55] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:56] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:56] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
[Jun 09 17:51:57] ERROR[32714]: login.c:324 do_login_cb: 
    Wrong verify code
^C(17:51:57) sighandler: Caught signal 2
(17:51:57) account: Disconnecting account 2382325420 (0xe612a0)
(17:51:57) connection: Disconnecting connection 0x183d480

They are very fast, 2 every second.

Sometimes I get asked to enter the verify code. The verify dialog opens, but pidgin-lwqq doesn't wait, it just keeps saying "wrong verify code"

I also notice that in lwqq/lib/login.c, there are two do_login_cb functions in the same file. Why two? Is this valid C?

Any thoughts?

Mitch.

xiehuc commented 9 years ago

the problem is lwqq doesn't process verify code well, it would take too much time, but i didn't have, i'm going to graduate design, which more important. when i free, i could check code.

two do_login_cb, one is prototype, one is define, that's ok.

2015-06-09 16:04 GMT+08:00 Mitch Davis notifications@github.com:

Hi,

I'm trying lwqq/pidgin-lwqq 0.6.0 (master). I get messages like this:

(17:51:42) util: Writing file /home/mjd/pidgin-qq/blist.xml Verify code: !ZHS [Jun 09 17:51:47] ERROR[32714]: login.c:319 do_login_cb: Wrong password [Jun 09 17:51:47] ERROR[32714]: login.c:319 do_login_cb: Wrong password [Jun 09 17:51:48] ERROR[32714]: login.c:319 do_login_cb: Wrong password [Jun 09 17:51:48] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:49] ERROR[32714]: login.c:319 do_login_cb: Wrong password [Jun 09 17:51:49] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:50] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:50] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:51] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:51] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:52] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:52] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:53] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:53] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:54] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:54] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:55] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:55] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:56] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:56] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code [Jun 09 17:51:57] ERROR[32714]: login.c:324 do_login_cb: Wrong verify code ^C(17:51:57) sighandler: Caught signal 2 (17:51:57) account: Disconnecting account 2382325420 (0xe612a0) (17:51:57) connection: Disconnecting connection 0x183d480

They are very fast, 2 every second.

Sometimes I get asked to enter the verify code. The verify dialog opens, but pidgin-lwqq doesn't wait, it just keeps saying "wrong verify code"

I also notice that in lwqq/lib/login.c, there are two do_login_cb functions in the same file. Why two? Is this valid C?

Any thoughts?

Mitch.

— Reply to this email directly or view it on GitHub https://github.com/xiehuc/pidgin-lwqq/issues/648.

lainme commented 9 years ago

For 0.5.x version and above, the login will always fail if your qq number requires verification code. Xiehuc don't have enough time to fix the problem since he is busy writing thesis. In the meantime, you can use the 0.4.x versions.

xiehuc commented 9 years ago

0.6.1 should fix it