Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jabber integration (both Haze and Gabble) doesn’t work #16

Open
romka0075 opened this issue Dec 28, 2023 · 4 comments
Open

Jabber integration (both Haze and Gabble) doesn’t work #16

romka0075 opened this issue Dec 28, 2023 · 4 comments

Comments

@romka0075
Copy link

Version: 0.5.8 (also 0.5.6) running on Droid 4
What doesn’t work:
The tab with Jabber messages is empty.
Notifications about new Jabber messages are not received.
Sending Jabber messages is not possible.

What works:
Account management and status.
Online and message delivery statuses signaling.
Jabber friends in contacts app*.
Telepathy-gabble**.

What I tried:
Haze and Gabble.
Different Jabber providers.
WiFi and mobile data.
Restarting services manually and rebooting phone.

*If added from another client. Also, when clicking on Jabber chat field, nothing happens.
**Log from telepathy-gabble displaying new messages, friend request, etc.

Log from killall conversations && conversations --debug:

(conversations:5360): hildon-1-WARNING **: 03:29:00.873: Tried to initialized Hildon more than once.
Conversations: 0.5.7
Qt: 5.15.2
SSL: OpenSSL 1.1.1w  11 Sep 2023
SSL build: OpenSSL 1.1.1k  25 Mar 2021
open unix socket @ "/tmp/conversations-user.sock"
** Message: 03:29:01.067: Plugin registered: CHAT.
** Message: 03:29:01.071: Plugin registered: CALL.
** Message: 03:29:01.077: Plugin registered: SMS.
(conversations:5360): GLib-GObject-CRITICAL **: 03:29:01.098: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Clearing OverviewServiceModel
THEME:  "alpha"
Clearing chatModel
"0x0 (6.39474e-306 DPI)"
listening "/tmp/conversations-user.sock"
onAccountManagerReady
account count: 1
Clearing OverviewServiceModel
onAccReady, isError: false
onAccReady, connection: true
Display name: "[email protected]"
connectsAutomatically true
isOnline true
serviceName "jabber"
Clearing chatModel
Failed to init iterator to start

Last message appears when I open Jabber tab.

Also, messages that appear in gabble log when I restart Connections app:

(telepathy-gabble:5299): gabble-DEBUG: 03:21:50.755: gabble_connection_update_capabilities (connection.c:3505): enter
(telepathy-gabble:5299): gabble-DEBUG: 03:21:50.756: gabble_connection_update_capabilities (connection.c:3525): client org.freedesktop.Telepathy.Client.myhandler can't do anything
(telepathy-gabble:5299): gabble-DEBUG: 03:21:50.757: gabble_presence_set_capabilities (presence.c:335): about to add caps to resource Maemo with serial 4
(telepathy-gabble:5299): gabble-DEBUG: 03:21:50.757: gabble_presence_set_capabilities (presence.c:346): found resource Maemo
(telepathy-gabble:5299): gabble-DEBUG: 03:21:50.757: gabble_presence_set_capabilities (presence.c:350): new serial 4, old 3, clearing caps
(telepathy-gabble:5299): gabble-DEBUG: 03:21:50.757: gabble_presence_set_capabilities (presence.c:359): updating caps for resource Maemo
(telepathy-gabble:5299): gabble-DEBUG: 03:21:50.758: gabble_connection_refresh_capabilities (connection.c:2540): nothing to do
(telepathy-gabble:5299): gabble-DEBUG: 03:21:53.496: gabble_connection_update_capabilities (connection.c:3505): enter
(telepathy-gabble:5299): gabble-DEBUG: 03:21:53.496: gabble_media_factory_add_caps (media-factory.c:1016): Client org.freedesktop.Telepathy.Client.myhandler media capabilities:
(telepathy-gabble:5299): gabble-DEBUG: 03:21:53.497: gabble_connection_update_capabilities (connection.c:3577): client org.freedesktop.Telepathy.Client.myhandler has no interesting capabilities
(telepathy-gabble:5299): gabble-DEBUG: 03:21:53.497: gabble_connection_update_capabilities (connection.c:3599): client org.freedesktop.Telepathy.Client.myhandler has no interesting data forms
(telepathy-gabble:5299): gabble-DEBUG: 03:21:53.497: gabble_presence_set_capabilities (presence.c:335): about to add caps to resource Maemo with serial 5
(telepathy-gabble:5299): gabble-DEBUG: 03:21:53.497: gabble_presence_set_capabilities (presence.c:346): found resource Maemo
(telepathy-gabble:5299): gabble-DEBUG: 03:21:53.498: gabble_presence_set_capabilities (presence.c:350): new serial 5, old 4, clearing caps
(telepathy-gabble:5299): gabble-DEBUG: 03:21:53.498: gabble_presence_set_capabilities (presence.c:359): updating caps for resource Maemo
(telepathy-gabble:5299): gabble-DEBUG: 03:21:53.498: gabble_connection_refresh_capabilities (connection.c:2540): nothing to do
(telepathy-gabble:5299): wocky-DEBUG: 03:22:00.293: wocky_heartbeat_source_check: wocky-heartbeat-source.c:197: Heartbeat fired
(telepathy-gabble:5299): wocky-DEBUG: 03:22:00.294: wocky_heartbeat_source_dispatch: wocky-heartbeat-source.c:248: calling 0xb6eddba1 (0x56ceb8) at 7409221918
(telepathy-gabble:5299): wocky-DEBUG: 03:22:00.294: send_ping: wocky-ping.c:227: pinging
(telepathy-gabble:5299): wocky-DEBUG: 03:22:00.295: wocky_tls_output_stream_write_async: wocky-openssl.c:1386: 1 clearbytes to send
(telepathy-gabble:5299): wocky-DEBUG: 03:22:00.295: wocky_heartbeat_source_wait: wocky-heartbeat-source.c:116: requested 30 as maximum interval; using the recommended 30 interval
(telepathy-gabble:5299): wocky-DEBUG: 03:22:00.300: wocky_heartbeat_source_dispatch: wocky-heartbeat-source.c:260: next wakeup at 7439221918
(telepathy-gabble:5299): wocky-DEBUG: 03:22:00.300: wocky_tls_session_write_ready: wocky-openssl.c:1659: 23 bytes written, clearing write BIO
(telepathy-gabble:5299): wocky-DEBUG: 03:22:00.302: wocky_tls_session_try_operation: wocky-openssl.c:619: wrote 1 clearbytes

log not reacted on opening jabber tab in connections app

@MerlijnWajer
Copy link
Member

Thank you for the report. Conversations is still work in progress and the following things to do not work yet:

  • multi-person/channel DMs (I have this working in a branch, but not yet in the repo)
  • Messaging a person you haven't messaged before (I'm also working on address book integration which will offer this)

I am surprised that one-to-one messages do not work for you though.

@MerlijnWajer
Copy link
Member

Maybe it makes the most sense to wait a week or two for the next conversations version and then try again. We're getting pretty close now, I think.

@MerlijnWajer
Copy link
Member

Would you mind checking if the latest devel version works well for you?

@romka0075
Copy link
Author

I get a blank screen that says "No messages yet".

user@devuan-droid4:~$ killall conversations && conversations --debug 

(conversations:8174): hildon-1-WARNING **: 13:40:59.495: Tried to initialized Hildon more than once.
[W] [::0] Conversations: 0.7.20
[W] [::0] Qt: 5.15.2
[W] [::0] SSL: OpenSSL 1.1.1w  11 Sep 2023
[W] [::0] SSL build: OpenSSL 1.1.1w  11 Sep 2023

(conversations:8174): hildon-1-WARNING **: 13:40:59.681: Tried to initialized Hildon more than once.
[D] [::0] ConfigState::load()
** Message: 13:40:59.844: Plugin registered: CHAT.
** Message: 13:40:59.847: Plugin registered: CALL.
** Message: 13:40:59.853: Plugin registered: SMS.
[C] [::0] Failed to init iterator to start
[D] [::0] THEME:  "alpha"
conv_abook_aggregator: 0x7d9740
[D] [::0] listening "/tmp/conversations-user.sock"
[D] [::0] onNewAccount "gabble/jabber/roman_4007f_2ede0"
[C] [::0] Failed to init iterator to start
[D] [::0] "0x0 (5.35713e-80 DPI)"
[D] [::0] tp accounts 1
[D] [::0] overview model length 0
[D] [::0] raising mainwindow
[W] [qxcbwindow.cpp::2003] Got maemo grab transfer message:  "_MB_GRAB_TRANSFER"
[D] [::0] onOnline:  true
[D] [::0] IPC received "makeActive"
[D] [::0] raising mainwindow
[W] [qxcbwindow.cpp::2003] Got maemo grab transfer message:  "_MB_GRAB_TRANSFER"
[W] [qxcbwindow.cpp::2003] Got maemo grab transfer message:  "_MB_GRAB_TRANSFER"
[D] [::0] proxy filter "ofono"
[W] [qxcbwindow.cpp::2003] Got maemo grab transfer message:  "_MB_GRAB_TRANSFER"
[D] [::0] proxy filter "*"
[W] [qxcbwindow.cpp::2003] Got maemo grab transfer message:  "_MB_GRAB_TRANSFER"
[W] [qxcbwindow.cpp::2003] Got maemo grab transfer message:  "_MB_GRAB_TRANSFER"

I tried to run the latest git versions from time to time and always got Failed to init iterator to start error.
I have ~/.rtcom-eventlogger/el-v1.db with data. When I remove this file, the behavior of the program did not change.

Maybe I need to build devel version of some lib?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants