hoehermann / purple-gowhatsapp

Pidgin/libpurple plug-in for WhatsApp Web.
GNU General Public License v3.0
290 stars 34 forks source link

Set up issue with phone number #154

Closed zoltan-dulac closed 1 year ago

zoltan-dulac commented 1 year ago

When I try to log in with my phone number, I get the message "Please enter only numbers in the international phone number format, a leading + following by the country prefix and the phone number. Do not use any other special chars." ... even though I am doing just that.

What follows is what I see in the debug window (with XXXXXX being my linux username, and +1416xxxxxx5 being my phone number). Any idea what I am doing wrong or if this is a new issue? I am sure I am doing something wrong here, but I am not really sure what to do.

(18:16:43) util: Writing file accounts.xml to directory /home/XXXXX/.purple
(18:16:43) util: Writing file /home/XXXXX/.purple/accounts.xml
(18:16:43) util: Writing file blist.xml to directory /home/XXXXX/.purple
(18:16:43) util: Writing file /home/XXXXX/.purple/blist.xml
(18:16:46) account: Connecting to account +1416xxxxxx5.
(18:16:46) connection: Connecting. gc = 0x558c1b2e2da0
(18:16:46) prpl-telegram: tgprpl_login(): Purple is telling the prpl to connect the account
(18:16:46) prpl-telegram: base configuration path: '/home/XXXXX/.purple/telegram-purple/+1416xxxxxx5'
(18:16:46) prpl-telegram: initializing empty auth file
(18:16:46) signals: Signal data for chat-conversation-typing not found!
(18:16:46) dnsquery: Performing DNS lookup for 149.154.175.50
(18:16:46) dnsquery: Performing DNS lookup for 149.154.167.51
(18:16:46) dnsquery: Performing DNS lookup for 149.154.175.100
(18:16:46) dnsquery: Performing DNS lookup for 149.154.167.91
(18:16:46) dnsquery: Performing DNS lookup for 149.154.171.5
(18:16:46) dnsquery: IP resolved for 149.154.175.50
(18:16:46) proxy: Attempting connection to 149.154.175.50
(18:16:46) proxy: Connecting to 149.154.175.50:443 with no proxy
(18:16:46) proxy: Connection in progress
(18:16:46) dnsquery: IP resolved for 149.154.167.51
(18:16:46) proxy: Attempting connection to 149.154.167.51
(18:16:46) proxy: Connecting to 149.154.167.51:443 with no proxy
(18:16:46) proxy: Connection in progress
(18:16:46) dnsquery: IP resolved for 149.154.175.100
(18:16:46) proxy: Attempting connection to 149.154.175.100
(18:16:46) proxy: Connecting to 149.154.175.100:443 with no proxy
(18:16:46) proxy: Connection in progress
(18:16:46) dnsquery: IP resolved for 149.154.167.91
(18:16:46) proxy: Attempting connection to 149.154.167.91
(18:16:46) proxy: Connecting to 149.154.167.91:443 with no proxy
(18:16:46) proxy: Connection in progress
(18:16:46) dnsquery: IP resolved for 149.154.171.5
(18:16:46) proxy: Attempting connection to 149.154.171.5
(18:16:46) proxy: Connecting to 149.154.171.5:443 with no proxy
(18:16:46) proxy: Connection in progress
(18:16:46) proxy: Connecting to 149.154.175.50:443.
(18:16:46) proxy: Connected to 149.154.175.50:443.
(18:16:46) proxy: Connecting to 149.154.175.100:443.
(18:16:46) proxy: Connected to 149.154.175.100:443.
(18:16:46) proxy: Connecting to 149.154.167.91:443.
(18:16:46) proxy: Connected to 149.154.167.91:443.
(18:16:46) proxy: Connecting to 149.154.167.51:443.
(18:16:46) proxy: Connected to 149.154.167.51:443.
(18:16:46) proxy: Connecting to 149.154.171.5:443.
(18:16:46) proxy: Connected to 149.154.171.5:443.
(18:16:52) discord: got frame data: {"t":"GUILD_MEMBER_LIST_UPDATE","s":51,"op":0,"d":{"ops":[{"op":"UPDATE","item":{"member":{"user":{"username":"sz","public_flags":0,"id":"105982843645100032","display_name":null,"discriminator":"6508","bot":false,"avatar_decoration":null,"avatar":"78f1c8ab8c0b499cb1471fc6af17c32d"},"roles":[],"presence":{"user":{"id":"105982843645100032"},"status":"online","game":{"type":2,"timestamps":{"start":1677367008138,"end":1677367305179},"sync_id":"3ldsmgOPrLegJ8ZBPxa122","state":"Uriah Witztum","session_id":"c9d4b8a567b1e02feceeaf2e837376d1","party":{"id":"spotify:105982843645100032"},"name":"Spotify","id":"spotify:1","flags":48,"details":"Galgalit","created_at":1677367011801,"assets":{"large_text":"Mono Moon","large_image":"spotify:ab67616d0000b2734842981a00c5797d053b1d2c"}},"client_status":{"desktop":"online"},"activities":[{"type":2,"timestamps":{"start":1677367008138,"end":1677367305179},"sync_id":"3ldsmgOPrLegJ8ZBPxa122","state":"Uriah Witztum","session_id":"c9d4b8a567b1e02feceeaf2e837376d1","party":{"id":"spotify:105982843645100032"},"name":"Spotify","id":"spotify:1","flags":48,"details":"Galgalit","created_at":1677367011801,"assets":{"large_text":"Mono Moon","large_image":"spotify:ab67616d0000b2734842981a00c5797d053b1d2c"}}]},"premium_since":null,"pending":false,"nick":null,"mute":false,"joined_at":"2018-11-05T09:49:28.812000+00:00","flags":0,"deaf":false,"communication_disabled_until":null,"avatar":null}},"index":25}],"online_count":31,"member_count":828,"id":"everyone","guild_id":"388674437219745793","groups":[{"id":"online","count":31},{"id":"offline","count":797}]}}
(18:16:52) slack: RTM: {"id":13,"type":"tickle"}
(18:16:52) slack: RTM: {"id":13,"type":"tickle"}
(18:16:52) slack: RTM: {"id":13,"type":"tickle"}
(18:16:52) util: Writing file accounts.xml to directory /home/XXXXX/.purple
(18:16:52) util: Writing file /home/XXXXX/.purple/accounts.xml
(18:16:53) prpl-telegram: tgl requests user input, tgl_value_type: 0, prompt: phone number:, count: 1
(18:16:53) prpl-telegram: Notification API_64BIT_LOGIN_APP_OUTDATED_113: You are using an outdated app that is no longer supported. To access your messages, please update your app to the latest version. If you don’t know how to update your app, go to https://telegram.org/dl
(18:16:53) prpl-telegram: Incorrect phone number
(18:16:53) prpl-telegram: tgl requests user input, tgl_value_type: 0, prompt: phone number:, count: 1
(18:16:53) connection: Connection error on 0x558c1b2e2da0 (reason: 2 description: Please enter only numbers in the international phone number format, a leading + following by the country prefix and the phone number.
Do not use any other special chars.)
(18:16:53) account: Disconnecting account +1416xxxxxx5 (0x558c1a0e9150)
(18:16:53) connection: Disconnecting connection 0x558c1b2e2da0
(18:16:53) prpl-telegram: tgprpl_close()
(18:16:53) connection: Destroying connection 0x558c1b2e2da0
hoehermann commented 1 year ago

Hi @zoltan-dulac. I am afraid, I cannot help you. This is the list of issues for the WhatsApp plug-in. Your question is related to the Telegram plug-in. Unfortunately, ars3niy went AWOL and the project is currently orphaned.

The logs you provided show the error API_64BIT_LOGIN_APP_OUTDATED_113. It looks like we need someone to update the plug-in. I am currently using a custom build. In case you are on Ubuntu 22.04 amd64, you may grab it here.