| Summary: | purple-telegram plugin disconnects with RPC_CALL_FAIL 401 USER DEACTIVATED | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | aguador <waterbearer54> |
| Component: | RPM Packages | Assignee: | Jani Välimaa <jani.valimaa> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | Keywords: | Triaged |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | purple-telegram-1.4.3-1.mga8.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | Error building latest telegram-purple | ||
|
Description
aguador
2020-09-22 21:56:40 CEST
Hi, Thanks reporting this. Assigning to current maintainer for forensic this. (Packager: Please set to "Assigned" if you work on this). Keywords:
(none) =>
Triaged Telegram with the purple-telegram plugin is not working in Mageia 7 either. I just tried one of the fedora rpms for purple-telegram-tdlib-0.7.1-1.1.x86_64.rpm, and the same problem appears. So either there may be a deeper problem or I have screwed up configuration or something. Is anyone else using this plugin? (I do have Telegram desktop installed at the moment as a workaround, but really see no reason for it if I can unify everything in Pidgin which is properly packaged for Mageia.) Created attachment 12172 [details] Error building latest telegram-purple I don't know if upgrading to the latest release (1.4.6) of he plugin will solve this bug, but the attached is the rpmbuild error of my attempt to build it using the current Mageia SPEC. This may be easy to fix, but since I am not a packager . . . . Would be great to fix this bug for Mageia 8 and/or to move to the tdlib package. The following comes from the telegram-purple github page [and I can confirm that tdlib works well on a deb system, with history missing as noted]: If people send PRs or make suggestions, I'm very willing to merge them into telegram-purple. However, the list of issues is getting longer and longer, and tdlib-purple gets closer and closer to becoming a drop-in replacement. Note that only the following features are missing: - Retrieving history on first login - Ignoring certain groups (But why use a messenger if you don't want to ever see those messages?) - Not sending read receipts https://github.com/ars3niy/tdlib-purple/issues/22 So it's a good replacement in many cases already. For more details, see https://github.com/ars3niy/tdlib-purple/milestone/1 I don't intend to abandon telegram-purple before tdlib-purple is a full replacement, so this project is still maintained (read: on life support). Oops, the terminal information is more important: + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd telegram-purple + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/aguador/rpmbuild/SOURCES/telegram-purple-fix-libdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch 2 out of 2 hunks FAILED -- saving rejects to file m4_ax_check_zlib.m4.rej 2 out of 2 hunks FAILED -- saving rejects to file tgl/m4_ax_check_zlib.m4.rej error: Estado de salida erróneo de /var/tmp/rpm-tmp.mOdS1S (%prep) Thank you for the update, but . . . Telegram now connects and the Buddy List can be seen momentarily before the connection is lost. Subsequent attempts to reconnect alternate between "connection lost" and the message at the head of this bug. Here is the section of the debug log showing the Telegram disconnect on startup (with account no. XX'd out): (17:56:04) prpl-telegram: fail_connection: write_error Tubería rota (17:56:04) prpl-telegram: Lost connection to server ... 149.154.167.91:80 (17:56:04) connection: Connection error on 0x2806870 (reason: 0 description: Se perdió la conexión con el servidor...) (17:56:04) GLib: Source ID 4294967295 was not found when attempting to remove it (17:56:04) account: Disconnecting account +XXXXXXX (0x1d3a2c0) (17:56:04) connection: Disconnecting connection 0x2806870 (17:56:04) prpl-telegram: tgprpl_close() (First: "write error Broken pipe"; third line: "the connection to the server was lost...") There are a couple of upstream bug reports about disconnects, but I am not sure any quite fit: https://github.com/majn/telegram-purple/issues?q=is:issue+is:open+connect Finally figured this out after poking around looking at other issues reported on GitHub. I had not used Telegram for a couple of years and the problem was the old ~/.purple/telegram-purple folder. By renaming the folder, the plugin rebuilt it and allowed me to log in the account. The plugin seems to have downloaded the history, but it does not show from Pigin for some reason. Not a big deal as I have access on other devices. Resolution:
(none) =>
INVALID |