Open bs2kbs2k opened 5 years ago
Hello!
Additional thing to check: ktp-auth-handler
component must be installed in your system. For the Arch based distros it's at the package called telepathy-kde-auth-handler.
There's also a wiki note with must-have components listed for the KDE.
Probably duplicate of the #60 #58 or vice versa
CTelegramConnection
means that you're using an outdated version. I planned to release a fixed version months ago, but I still have no time to fix one of the last release blockers :-(.
I'll try hard to fix it this year.
I installed ktp-auth-handler and it works if I enter a new phone number but if I use my phone number the problem persists.
@bs2kbs2k, you could try to remove the cache: ~/.cache/telepathy-morse/secrets/<phone_number>
as discussed previously in #63 and #61 (different cases, but the info about the cache is actual). Anyway, as @Kaffeine mentioned, the new fixed version is not ready yet.
I cleared the cache but the problem persists.
Also reported here maybe some journals help fixing the issue
uname -a:
Linux somemachine 5.6.4-zen1-1-zen #1 ZEN SMP PREEMPT Mon, 13 Apr 2020 12:21:24 +0000 86_64 GNU/Linux
pacman -Qs telepathy:
local/empathy 3.25.90+34+g78f4d4fda-3
A GNOME instant messaging client using the Telepathy framework
local/folks 0.14-1
Library to aggregates people into metacontacts
local/telepathy-accounts-signon 2.1-2
A mission control plugin for Telepathy, integrating with libaccounts and libsignon to provide IM accounts and authentication
local/telepathy-farstream 0.6.2-5
Telepathy GLib-based client library that uses Farstream to handle Call channels
local/telepathy-gabble 0.18.4-2 (telepathy)
A Jabber/XMPP connection manager for Telepathy
local/telepathy-glib 0.24.1-2
GLib bindings for the Telepathy D-Bus protocol
local/telepathy-haze 0.8.0-2 (telepathy)
A telepathy-backend to use libpurple (Pidgin) protocols.
local/telepathy-idle 0.2.0-2 (telepathy)
An IRC connection manager for Telepathy
local/telepathy-kde-accounts-kcm 19.12.3-1 (kde-applications kdenetwork telepathy-kde)
KCM Module for configuring Telepathy Instant Messaging Accounts
local/telepathy-kde-approver 19.12.3-1 (kde-applications kdenetwork telepathy-kde)
KDE Channel Approver for Telepathy
local/telepathy-kde-auth-handler 19.12.3-1 (kde-applications kdenetwork telepathy-kde)
Provide UI/KWallet Integration For Passwords and SSL Errors on Account Connect
local/telepathy-kde-call-ui 19.12.3-1 (kde-applications kdenetwork telepathy-kde)
Voice/Video Call UI for Telepathy
local/telepathy-kde-common-internals 19.12.3-1 (kde-applications kdenetwork telepathy-kde)
Common components for KDE-Telepathy
local/telepathy-kde-contact-list 19.12.3-1 (kde-applications kdenetwork telepathy-kde)
KDE Telepathy contact list application
local/telepathy-kde-contact-runner 19.12.3-1 (kde-applications kdenetwork telepathy-kde)
KRunner plugin for KDE Telepathy
local/telepathy-kde-desktop-applets 19.12.3-1 (kde-applications kdenetwork telepathy-kde)
The KDE-Telepathy Plasma desktop applets
local/telepathy-kde-filetransfer-handler 19.12.3-1 (kde-applications kdenetwork telepathy-kde)
KDE Telepathy file transfer handler
local/telepathy-kde-integration-module 19.12.3-1 (kde-applications kdenetwork telepathy-kde)
Sits in KDED and takes care of various bits of system integration like setting user to auto-away or handling connection errors
local/telepathy-kde-meta 19.12-1
KDE-Telepathy meta package
local/telepathy-kde-send-file 19.12.3-1 (kde-applications kdenetwork telepathy-kde)
A File manager plugin to launch a file transfer job with a specified contact
local/telepathy-kde-text-ui 19.12.3-1 (kde-applications kdenetwork telepathy-kde)
Telepathy handler for Text Chats
local/telepathy-logger 0.8.2-3
Telepathy framework logging daemon
local/telepathy-logger-qt 17.09.0-1
Qt bindings for telepathy logger
local/telepathy-mission-control 5.16.5-2
A Telepathy component providing abstraction of some of the details of connection managers.
local/telepathy-morse 0.1.0-3
Telepathy Connection Manager for the Telegram network
local/telepathy-qt 0.9.8-1
A library for Qt-based Telepathy clients
local/telepathy-salut 0.8.1-5 (telepathy)
A link-local XMPP connection manager for Telepathy
~/.cache/telepathy-morse/secrets folder cleaned
Steps to reproduce:
journalctl
Apr 16 15:19:06 somemachine dbus-daemon[647]: [session uid=1000 pid=647] Activating service name='com.google.code.AccountsSSO.SingleSignOn' requested by ':1.18' (uid=1000 pid=725 comm="/usr/bin/plasmashell ")
Apr 16 15:19:06 somemachine dbus-daemon[647]: [session uid=1000 pid=647] Successfully activated service 'com.google.code.AccountsSSO.SingleSignOn'
Apr 16 15:19:06 somemachine signond[3012]: Could not find any platform plugin
Apr 16 15:19:06 somemachine plasmashell[725]: Info:
Apr 16 15:19:06 somemachine plasmashell[725]: Id: 5
Apr 16 15:19:06 somemachine plasmashell[725]: caption: "ktp-morse-telegram"
Apr 16 15:19:06 somemachine plasmashell[725]: owner: ""
Apr 16 15:19:06 somemachine plasmashell[725]: userName: "<Phone Number>"
Apr 16 15:19:06 somemachine kded5[666]: 5
Apr 16 15:19:06 somemachine kded5[666]: 5
Apr 16 15:19:06 somemachine mission-control[1560]: altered_cb: account morse/telegram/ktp_2dmorse_2dtelegram_2dim_5 does not exist
Apr 16 15:19:06 somemachine mission-control[1560]: Not sure what the type of 'mc-account-name' is, assuming string
Apr 16 15:19:06 somemachine mission-control[1560]: altered_cb: account morse/telegram/ktp_2dmorse_2dtelegram_2dim_5 does not exist
Apr 16 15:19:06 somemachine kded5[666]: ktp-kded-module:
Apr 16 15:19:06 somemachine kded5[666]: ktp-kded-module: new parser: "morse/telegram/ktp_2dmorse_2dtelegram_2dim_5"
Apr 16 15:19:06 somemachine kded5[666]: ktp-kded-module: "morse/telegram/ktp_2dmorse_2dtelegram_2dim_5" requested presence change to "available" with status message ""
Apr 16 15:19:06 somemachine telepathy-morse[1595]: Tp::BaseConnectionPtr MorseProtocol::createConnection(const QVariantMap&, Tp::DBusError*) QMap(("account", QVariant(QString, "<Phone Number>" )))
Apr 16 15:19:06 somemachine telepathy-morse[1595]: MorseConnection::MorseConnection(const QDBusConnection&, const QString&, const QString&, const QVariantMap&)
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: Interface "org.freedesktop.Telepathy.Connection.Interface.Contacts" plugged
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: Interface "org.freedesktop.Telepathy.Connection.Interface.SimplePresence" plugged
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: Interface "org.freedesktop.Telepathy.Connection.Interface.ContactList" plugged
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: Interface "org.freedesktop.Telepathy.Connection.Interface.ContactInfo" plugged
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: Interface "org.freedesktop.Telepathy.Connection.Interface.Aliasing" plugged
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: Interface "org.freedesktop.Telepathy.Connection.Interface.Avatars" plugged
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: Interface "org.freedesktop.Telepathy.Connection.Interface.ContactGroups" plugged
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: Interface "org.freedesktop.Telepathy.Connection.Interface.Requests" plugged
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: cmName: "morse" escapedProtocolName: "telegram" name: "connection_56040dd79920"
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: busName: "org.freedesktop.Telepathy.Connection.morse.telegram.connection_56040dd79920" objectName: "/org/freedesktop/Telepathy/Connection/morse/telegram/connection_56040dd79920"
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: Connection: registering interfaces at Tp::DBusObject(0x56040ddaf030)
Apr 16 15:19:06 somemachine telepathy-morse[1595]: QObject::connect: No such signal Tp::BaseConnectionContactListInterface::Adaptee::contactsChanged(const Tp::ContactSubscriptionMap&, const Tp::UIntList&)
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: Registered object "/org/freedesktop/Telepathy/Connection/morse/telegram/connection_56040dd79920" at bus name "org.freedesktop.Telepathy.Connection.morse.telegram.connection_56040dd79920"
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: BaseConnection::status = 2 MorseConnection(0x56040dd79920)
Apr 16 15:19:06 somemachine telepathy-morse[1595]: uint MorseConnection::setPresence(const QString&, const QString&, Tp::DBusError*) "available"
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: BaseConnectionRequestsInterface::requestableChannelClasses
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: BaseConnection::setStatus 1 0 MorseConnection(0x56040dd79920)
Apr 16 15:19:06 somemachine telepathy-morse[1595]: init connection...
Apr 16 15:19:06 somemachine telepathy-morse[1595]: CTelegramDispatcher::tryNextBuiltInDcAddress(): Dc index 0
Apr 16 15:19:06 somemachine telepathy-morse[1595]: CTelegramConnection* CTelegramDispatcher::createConnection(const TLDcOption&) 0 "149.154.175.50" 443
Apr 16 15:19:06 somemachine telepathy-morse[1595]: void CTelegramDispatcher::setConnectionState(TelegramNamespace::ConnectionState) 1
Apr 16 15:19:06 somemachine telepathy-morse[1595]: void MorseConnection::whenConnectionStateChanged(TelegramNamespace::ConnectionState) 1
Apr 16 15:19:06 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionStatusChanged(): status CTelegramConnection::ConnectionStatusConnecting reason CTelegramConnection::ConnectionStatusReasonNone dc 0
Apr 16 15:19:06 somemachine telepathy-morse[1595]: void CTelegramConnection::stopPingTimer()
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: BaseConnection::status = 1 MorseConnection(0x56040dd79920)
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: BaseConnectionRequestsInterface::requestableChannelClasses
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: BaseConnection::status = 1 MorseConnection(0x56040dd79920)
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: BaseConnection::status = 1 MorseConnection(0x56040dd79920)
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: BaseConnectionRequestsInterface::requestableChannelClasses
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: BaseConnectionRequestsInterface::requestableChannelClasses
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: BaseConnection::status = 1 MorseConnection(0x56040dd79920)
Apr 16 15:19:06 somemachine telepathy-morse[1595]: tp-qt 0.9.8 DEBUG: BaseConnectionRequestsInterface::requestableChannelClasses
Apr 16 15:19:06 somemachine plasmashell[725]: ktp-common-internals: Account "morse/telegram/ktp_2dmorse_2dtelegram_2dim_5" enabled: true
Apr 16 15:19:07 somemachine telepathy-morse[1595]: void CTelegramConnection::startAuthTimer()
Apr 16 15:19:07 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionAuthChanged(): auth CTelegramConnection::AuthStatePqRequested dc 0
Apr 16 15:19:07 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionStatusChanged(): status CTelegramConnection::ConnectionStatusConnected reason CTelegramConnection::ConnectionStatusReasonNone dc 0
Apr 16 15:19:07 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionAuthChanged(): auth CTelegramConnection::AuthStateDhRequested dc 0
Apr 16 15:19:07 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionAuthChanged(): auth CTelegramConnection::AuthStateDhGenerationResultRequested dc 0
Apr 16 15:19:07 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionAuthChanged(): auth CTelegramConnection::AuthStateHaveAKey dc 0
Apr 16 15:19:07 somemachine telepathy-morse[1595]: void CTelegramDispatcher::continueInitialization(CTelegramDispatcher::InitializationStep) 0
Apr 16 15:19:07 somemachine telepathy-morse[1595]: void CTelegramConnection::stopAuthTimer()
Apr 16 15:19:07 somemachine telepathy-morse[1595]: void CTelegramConnection::processMessageAck(CTelegramStream&) Package 6816298438694039996 acked
Apr 16 15:19:07 somemachine telepathy-morse[1595]: Connection CTelegramConnection(0x56040dd88f00) DC Id changed from 0 to 1
Apr 16 15:19:07 somemachine telepathy-morse[1595]: Core: Got DC Configuration.
Apr 16 15:19:07 somemachine telepathy-morse[1595]: 1 "149.154.175.58" 443
Apr 16 15:19:07 somemachine telepathy-morse[1595]: 2 "149.154.167.50" 443
Apr 16 15:19:07 somemachine telepathy-morse[1595]: 3 "149.154.175.100" 443
Apr 16 15:19:07 somemachine telepathy-morse[1595]: 4 "149.154.167.91" 443
Apr 16 15:19:07 somemachine telepathy-morse[1595]: 5 "91.108.56.167" 443
Apr 16 15:19:07 somemachine telepathy-morse[1595]: void CTelegramDispatcher::continueInitialization(CTelegramDispatcher::InitializationStep) 1
Apr 16 15:19:07 somemachine telepathy-morse[1595]: void CTelegramDispatcher::setConnectionState(TelegramNamespace::ConnectionState) 3
Apr 16 15:19:07 somemachine telepathy-morse[1595]: void MorseConnection::whenConnectionStateChanged(TelegramNamespace::ConnectionState) 3
Apr 16 15:19:07 somemachine telepathy-morse[1595]: quint64 CTelegramConnection::requestPhoneCode(const QString&) requestPhoneCode "004xxxxxxxxxxx" 1
Apr 16 15:19:07 somemachine telepathy-morse[1595]: void CTelegramDispatcher::ensureMainConnectToWantedDc() Unable to connect: wanted DC is not listed in received DC configuration.
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TLValue CTelegramConnection::processAuthSendCode(CTelegramStream&, quint64) "RpcError"
Apr 16 15:19:08 somemachine telepathy-morse[1595]: bool CTelegramConnection::processRpcError(CTelegramStream&, quint64, TLValue) "RPC Error 303: PHONE_MIGRATE_2 for message 6816298439329695112 AuthSendCode (dc 1|149.154.175.50:443)"
Apr 16 15:19:08 somemachine telepathy-morse[1595]: void CTelegramDispatcher::onWantedMainDcChanged(quint32, const QString&) 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: CTelegramConnection* CTelegramDispatcher::createConnection(const TLDcOption&) 2 "149.154.167.50" 443
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionStatusChanged(): status CTelegramConnection::ConnectionStatusConnecting reason CTelegramConnection::ConnectionStatusReasonNone dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: void CTelegramConnection::stopPingTimer()
Apr 16 15:19:08 somemachine telepathy-morse[1595]: CTelegramConnection* CTelegramDispatcher::createConnection(const TLDcOption&) 2 "149.154.167.50" 443
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionStatusChanged(): status CTelegramConnection::ConnectionStatusConnecting reason CTelegramConnection::ConnectionStatusReasonNone dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: void CTelegramConnection::stopPingTimer()
Apr 16 15:19:08 somemachine telepathy-morse[1595]: void CTelegramConnection::startAuthTimer()
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionAuthChanged(): auth CTelegramConnection::AuthStatePqRequested dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionStatusChanged(): status CTelegramConnection::ConnectionStatusConnected reason CTelegramConnection::ConnectionStatusReasonNone dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: void CTelegramConnection::startAuthTimer()
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionAuthChanged(): auth CTelegramConnection::AuthStatePqRequested dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionStatusChanged(): status CTelegramConnection::ConnectionStatusConnected reason CTelegramConnection::ConnectionStatusReasonNone dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionAuthChanged(): auth CTelegramConnection::AuthStateDhRequested dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionAuthChanged(): auth CTelegramConnection::AuthStateDhRequested dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionAuthChanged(): auth CTelegramConnection::AuthStateDhGenerationResultRequested dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionAuthChanged(): auth CTelegramConnection::AuthStateDhGenerationResultRequested dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionAuthChanged(): auth CTelegramConnection::AuthStateHaveAKey dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: void CTelegramDispatcher::onConnectionAuthChanged(int, quint32) process 1 redirected packages for dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: void CTelegramConnection::stopAuthTimer()
Apr 16 15:19:08 somemachine telepathy-morse[1595]: TelegramDispatcher::onConnectionAuthChanged(): auth CTelegramConnection::AuthStateHaveAKey dc 2
Apr 16 15:19:08 somemachine telepathy-morse[1595]: void CTelegramDispatcher::continueInitialization(CTelegramDispatcher::InitializationStep) 0
Apr 16 15:19:08 somemachine telepathy-morse[1595]: void CTelegramConnection::stopAuthTimer()
Apr 16 15:19:08 somemachine telepathy-morse[1595]: void CTelegramConnection::whenTransportReadyRead() Incorrect auth id.
Apr 16 15:19:39 somemachine signond[3012]: QObject::disconnect: Unexpected nullptr parameter
Edit: Replaced my phone number by "Phone Number" as someone starts using it to produce telegram PINs 🙄
if I enable my telegram account, it tries to connect and authentication code arrives. but no auth dialog appears. Here is last log message :
void CTelegramConnection::whenTransportReadyRead() Incorrect auth id.
os:arch linux