Open bodqhrohro opened 2 years ago
same here, with using it as bitlbee plugin
I have the same error message on my Pidgin. It started about 4 days ago. I did not changed anything on my FreeBSD / KDE / Pidgin configuration, no updates etc. Was there some change on ICQ protocol or why it errors now?
I have same problem in BitlBee & Pidgin.
Login error: Failed to acquire authentication token (robusto).
Ok. I have the same error on my jabber server with spectrum2 and icq transport backend. Is there a solution for this?
The core issue seems to be that the ICQ_RAPI_SERVER used is depracated/not working anymore.
icyqueue uses
https://github.com/EionRobb/icyque/blob/master/libicyque.c#L36
#define ICQ_RAPI_SERVER "https://rapi.icq.net"
but looking at the official client https://github.com/mailru/icqdesktop.deprecated/blob/master/core/connections/urls_cache.cpp#L31 the non-deprecated URL is supposed to be base_url + "/rapi/" (with base_url being "https://u.icq.net"
):
{ url_type::rapi_host, { base_url + std::string("/rapi/"), std::string_view("https://rapi.icq.net/")} },
After changing ICQ_RAPI_SERVER accordingly to "https://u.icq.net/rapi"
I can login successfully without any robusto errors anymore.
confirming, I've also rebuild plugin with updated url and everything start working.
Yes, I can confirm this too. @KanjiMonster can you create a pull request?
Thanks @KanjiMonster ! I've just pushed a fix, and updated the dll at https://eion.robbmob.com/libicyque.dll
Awesome, that was quicker than expected! I didn't even get to reply that I will have time in the evening once I'm not on company time anymore, but don't want to stop anyone else from acting on it.
Didn't help me.
(17:34:03) account: Connecting to account 645356340.
(17:34:03) connection: Connecting. gc = 0x5608217c69f0
(17:34:03) icyque: Fetching url https://u.icq.net/api/v14/wim/aim/startSession?a=%2Fw8BAAAAAAA0W3cmAAAAA5vNFPdgR01ShEXTqaFAFiUAAAAJNjQ1MzU2MzQwAAAAA3VpbgAAAAA%3D&ts=1656599643&k=ao1mAegmj4_7xQOy&view=online&clientName=webicq&language=en-US&devi
ceId=icq-dd15d10821735ca1&sessionTimeout=31536000&assertCaps=094613584C7F11D18222444553540000%2C0946135C4C7F11D18222444553540000%2C0946135b4c7f11d18222444553540000%2C0946135E4C7F11D18222444553540000%2CAABC2A1AF270424598B36993C6231952%2C1f99494e76cbc880215d6aeab8e42268&interestCaps=&events=myInfo%2Cpresence%2Cbuddylist%2Ctyping%2ChiddenChat%2Chist%2Cmchat%2CsentIM%
2CimState%2CdataIM%2CofflineIM%2CuserAddedToBuddyList%2Cservice%2Clifestream%2Capps%2CpermitDeny%2Cdiff&includePresenceFie
lds=aimId%2CdisplayId%2Cfriendly%2CfriendlyName%2Cstate%2CuserType%2CstatusMsg%2CstatusTime%2Clastseen%2Cssl%2Cmute%2CabContactName%2CabPhoneNumber%2CabPhones%2Cofficial%2Cquiet%2CautoAddition%2ClargeIconId%2Cnick%2CuserState
(17:34:03) http: Performing new request 0x560821dc6dd0 to u.icq.net.
(17:34:03) dnsquery: Performing DNS lookup for 127.0.0.1
(17:34:03) dnsquery: IP resolved for 127.0.0.1 (17:34:03) proxy: Attempting connection to 127.0.0.1
(17:34:03) proxy: Connecting to u.icq.net:443 via 127.0.0.1:12345 using SOCKS5 (17:34:03) socks5 proxy: Connection in progress
(17:34:03) socks5 proxy: Connected. (17:34:03) socks5 proxy: Able to read.
(17:34:04) s5: reallocing from 5 to 8 (17:34:04) s5: reallocing from 8 to 10
(17:34:04) proxy: Connected to u.icq.net:443.
(17:34:04) nss: SSL version 3.4 using 256-bit AES-GCM with 128-bit AEAD MAC
Server Auth: 2048-bit TLS 1.3, Key Exchange: 255-bit TLS 1.3, Compression: NULL Cipher Suite Name: TLS_AES_256_GCM_SHA384
(17:34:04) nss: subject=CN=*.icq.net,O=ICQ Communications Limited,L=Limassol,C=CY issuer=CN=GeoTrust RSA CA 2018,OU=www.digicert.com,O=DigiCert Inc,C=US
(17:34:04) nss: partial certificate chain (17:34:04) certificate/x509/tls_cached: Starting verify for u.icq.net
(17:34:04) certificate/x509/tls_cached: Checking for cached cert...
(17:34:04) certificate/x509/tls_cached: ...Found cached cert
(17:34:04) nss/x509: Loading certificate from /home/bodqhrohro/.purple/certificates/x509/tls_peers/u.icq.net
(17:34:04) certificate/x509/tls_cached: Peer cert matched cached
(17:34:04) nss/x509: Exporting certificate to /home/bodqhrohro/.purple/certificates/x509/tls_peers/u.icq.net
(17:34:04) util: Writing file /home/bodqhrohro/.purple/certificates/x509/tls_peers/u.icq.net
(17:34:04) nss: Trusting CN=*.icq.net,O=ICQ Communications Limited,L=Limassol,C=CY
(17:34:04) certificate: Successfully verified certificate for u.icq.net
(17:34:04) http: Request 0x560821dc6dd0 performed successfully. (17:34:04) icyque: Got response: {"response":{"statusCode":401, "statusText":"Authentication Required. statusDetailCode 3
011", "statusDetailCode":3011, "data":{"ts":1656599644}}} (17:34:04) icyque: Signature: {POST&https%3A%2F%2Fu.icq.net%2Frapi%2FgenToken&a%3D%252Fw8BAAAAAAA0W3cmAAAAA5vNFPdgR01ShEXTqaFAFiUAAAAJNjQ1MzU2MzQwAAAAA3VpbgAAAAA%253D%26k%3Dao1mAegmj4_7xQOy%26ts%3D1656599644}, Session: {poY5qZz5UQIRgyUejN42AHbr
CjiJXocexGh3TYGDfUU=}
(17:34:04) icyque: Fetching url https://u.icq.net/rapi/genToken (17:34:04) icyque: With postdata a=%2Fw8BAAAAAAA0W3cmAAAAA5vNFPdgR01ShEXTqaFAFiUAAAAJNjQ1MzU2MzQwAAAAA3VpbgAAAAA%3D&k=ao1m
Aegmj4_7xQOy&ts=1656599644&sig_sha256=rZnuQKyTz3ANvp5j8hW99Gp1M%2FtUePe9roh%2FkNYxEAQ%3D
(17:34:04) http: Performing new request 0x560821f0a800 to u.icq.net.
(17:34:05) http: Request 0x560821f0a800 performed successfully. (17:34:05) icyque: Got response: {"ts": 1656599644, "status": {"code": 40006, "reason": "Auth fail 511[SAAB error code 100
2]"}, "method": "genToken", "results": {}} (17:34:05) connection: Connection error on 0x5608217c69f0 (reason: 2 description: Failed to acquire authentication token (
robusto).)
(17:34:05) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file /usr/share/pixmaps/pidgin/protocols/16/tox.png:
Failed to open file “/usr/share/pixmaps/pidgin/protocols/16/tox.png”: Нет такого файла или каталога (17:34:05) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file /usr/share/pixmaps/pidgin/protocols/16/icq.png:
Failed to open file “/usr/share/pixmaps/pidgin/protocols/16/icq.png”: Нет такого файла или каталога
(17:34:05) account: Disconnecting account 645356340 (0x560820d0b990)
(17:34:05) connection: Disconnecting connection 0x5608217c69f0 (17:34:05) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file /usr/share/pixmaps/pidgin/protocols/16/tox.png:
Failed to open file “/usr/share/pixmaps/pidgin/protocols/16/tox.png”: Нет такого файла или каталога
(17:34:05) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file /usr/share/pixmaps/pidgin/protocols/16/icq.png:
Failed to open file “/usr/share/pixmaps/pidgin/protocols/16/icq.png”: Нет такого файла или каталога
(17:34:05) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file /usr/share/pixmaps/pidgin/protocols/22/icq.png:
Failed to open file “/usr/share/pixmaps/pidgin/protocols/22/icq.png”: Нет такого файла или каталога
(17:34:05) connection: Destroying connection 0x5608217c69f0
(17:34:08) util: Writing file accounts.xml to directory /home/bodqhrohro/.purple
(17:34:08) util: Writing file /home/bodqhrohro/.purple/accounts.xml
I tried it just now, worked right away. Thanks very much for the fix! For reference, I'm using Pidgin 2.14.8 (libpurple 2.14.8) on openSUSE Leap 15.4
Patch works nicely on my end and the seemingly sole "surviving" ICQ contact of mine.
System is Devuan Chimaera running Pidgin 2.14.10 in both cases.
Yeah myself as well. I downloaded and installed just today and that change is pushed as mentioned (I did check) but I get the "Failed to quire authentication token (robusto)" error.
same here! Failed to acquire authentication token (robusto)