EionRobb / skype4pidgin

Skype Plugin for Pidgin, libpurple and more
https://github.com/EionRobb/skype4pidgin/tree/master/skypeweb#skypeweb-plugin-for-pidgin
625 stars 88 forks source link

Failed getting PPFT value #669

Open sapinva opened 3 years ago

sapinva commented 3 years ago

The latest version has been working fine for weeks, then this. Tried login to web.skype.com, nothing helps.

purple-skypeweb.x86_64 1.5-6.20190520git5d29285.fc31 @fedora

$ pidgin -d (12:58:50) http: Request 0x562c42d26c10 performed successfully. (12:58:50) g_log: skypeweb_string_get_chunk: assertion 'chunk_start' failed (12:58:50) connection: Connection error on 0x562c427eb050 (reason: 2 description: Failed getting PPFT value, please try logging in via browser first) (12:58:50) account: Disconnecting account some_user (0x562c422bd170) (12:58:50) connection: Disconnecting connection 0x562c427eb050 (12:58:50) GLib: g_source_remove: assertion 'tag > 0' failed (12:58:50) GLib: g_source_remove: assertion 'tag > 0' failed (12:58:50) GLib: g_source_remove: assertion 'tag > 0' failed (12:58:50) http: Performing new request 0x562c42c73050 to login.skype.com. (12:58:50) skypeweb: destroying incomplete connections (12:58:50) http: Request 0x562c42c73050 performed without success. (12:58:50) connection: Destroying connection 0x562c427eb050 (12:58:51) util: Writing file prefs.xml to directory /home/sap/.purple (12:58:51) util: Writing file /home/sap/.purple/prefs.xml (12:58:51) util: Writing file accounts.xml to directory /home/sap/.purple (12:58:51) util: Writing file /home/sap/.purple/accounts.xml (12:58:51) util: Writing file blist.xml to directory /home/sap/.purple (12:58:51) util: Writing file /home/sap/.purple/blist.xml dns[3406044]: nobody needs me... =(

krokodilerian commented 3 years ago

https://github.com/EionRobb/skype4pidgin/pull/665 seems to fix it, I'm running it now.

pvgoran commented 3 years ago

@krokodilerian No, it doesn't. (At least, for me.)

7kilobytes commented 3 years ago

I have the same issue. I am using the 1.7 version

pvgoran commented 3 years ago

Downgrading to 1.6 solved the issue for me.

7kilobytes commented 3 years ago

Downgrading to 1.7 solved the issue for me.

which commit hash do you use?

pvgoran commented 3 years ago

@7kilobytes I'm downloading from https://github.com/EionRobb/skype4pidgin/archive/1.6.tar.gz .

7kilobytes commented 3 years ago

@7kilobytes I'm downloading from https://github.com/EionRobb/skype4pidgin/archive/1.6.tar.gz .

but you have written about 1.7 version, is it correct?

pvgoran commented 3 years ago

That's right, my mistake. It's 1.6 that works for me at the moment.

7kilobytes commented 3 years ago

That's right, my mistake. It's 1.6 that works for me at the moment.

Thanks. For me the 1.6 version is working as well

<root> skypeweb - Logging in: Verifying
<root> skypeweb - Logging in: Logged in
sapinva commented 3 years ago

Yes, 1.6 works for me as well.

himselfv commented 3 years ago

Happens here too. Here's what arrives to skypeweb_login_got_opid:

<form name="fmHF" id="fmHF" action="https://lw.skype.com/login/oauth/proxy?site_name=lw.skype.com&wa=wsignin1.0" method="post" target="_top">

<input type="hidden" name="pprid" id="pprid" value="[16 char hex]">

<input type="hidden" name="NAP" id="NAP" value="[urlencoded: V=..&E=..&C=..&W=.. ]">

<input type="hidden" name="ANON" id="ANON" value="[urlencoded: A=..&E=..&W=..]">

<input type="hidden" name="t" id="t" value="[long base64-looking string with == at the end]">
</form>

Looks like 1.6 passes this directly to skypeweb_purple_got_t and 1.7 goes through skypeweb_purple_got_opid, and now the t is again available directly. Should be enough to just change the call back.

chkp commented 3 years ago

Using 1.7 (built from source) I ran into the same issue. Building + using v1.6 solved the issue for me, too.

maxmitti commented 3 years ago

665 seems to fix it, I'm running it now.

Works for me, too.

alexolog commented 3 years ago

Can a Windows DLL be made with #665 ?

SchweinDeBurg commented 3 years ago

Confirmed, I am using Finch built from "release-2.x.y" branch and with this patch skype4pidging works fine.

Mek7 commented 3 years ago

Same problem here. Where can I get a fixed Windows DLL?

lameventanas commented 3 years ago

I have this problem with 1.7 too, 1.6 works well.