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

Delta Chat Flatpak fails to connect second device after scanning QR code - D-Bus and xdg-settings errors #4179

Closed
ivkrotova opened this issue Oct 5, 2024 · 2 comments

Comments

@ivkrotova
Copy link

ivkrotova commented Oct 5, 2024

- Operating System (Linux/Mac/Windows/iOS/Android):
Linux (Ubuntu 20.04, 64-bit)

- Delta Chat Version:
Flatpak version from Flathub (chat.delta.desktop)

- Expected behavior:
When attempting to connect a second device (Android app) via QR code, Delta Chat should successfully establish the connection between the devices.

- Actual behavior:
After scanning the QR code with the second device, the process of adding the second device hangs indefinitely, and no connection is established. Logs show multiple errors related to D-Bus, xdg-settings, and GTK widget failures.

Steps to reproduce the problem:

  1. Install Delta Chat via Flatpak on Ubuntu 20.04.
  2. Open the app and attempt to connect a second device using the QR code feature.
  3. Scan the QR code from the second device.
  4. Observe that the connection process hangs without successfully adding the device.

Screenshots:
Screenshot from 2024-10-05 19-07-02

  • Logs:
2024-10-05T16:59:21.678Z	main/index            	INFO	""	"Deltachat Version 1.46.8 flathub 1727722460000"
2024-10-05T16:59:21.876Z	main/index            	INFO	""	"cwd /home/user/.var/app/chat.delta.desktop/config/DeltaChat/accounts"
2024-10-05T16:59:21.879Z	main/deltachat        	INFO	""	"using deltachat-rpc-server at"	{"serverPath":"/app/delta/resources/app/node_modules/@deltachat/stdio-rpc-server-linux-x64/deltachat-rpc-server"}
2024-10-05T16:59:21.884Z	main/deltachat        	INFO	""	"HI"
2024-10-05T16:59:21.885Z	main/deltachat        	INFO	""	"Ready, starting accounts io..."
2024-10-05T16:59:21.885Z	main/deltachat        	INFO	""	"Started accounts io."
2024-10-05T16:59:22.017Z	main/menu             	INFO	""	"rebuilding menu with locale en"
2024-10-05T16:59:22.173Z	core/event            	WARNING	""	1	"src/context.rs:465: can not start io on a context that is not configured"
2024-10-05T16:59:22.227Z	/mainWindow           	INFO	""	"preq"	"background-sync"
2024-10-05T16:59:22.228Z	/mainWindow           	INFO	""	"main window requested \"background-sync\" permission, but we denied it, because it is not in the list of allowed permissions."
2024-10-05T16:59:22.249Z	main/tray             	INFO	""	"add icon tray"
2024-10-05T16:59:22.268Z	renderer/stockstrings 	INFO	""	"loading core translations"
2024-10-05T16:59:22.277Z	main/menu             	INFO	""	"rebuilding menu with locale en"
2024-10-05T16:59:22.300Z	core/event            	WARNING	""	1	"src/context.rs:465: can not start io on a context that is not configured"
2024-10-05T16:59:22.363Z	main/state            	INFO	""	"Saving state to /home/user/.var/app/chat.delta.desktop/config/DeltaChat/config.json"
2024-10-05T16:59:22.365Z	renderer/ScreenController	INFO	""	"system_info"	{"arch":"64","deltachat_core_version":"v1.142.12","level":"awesome","num_cpus":"8","sqlite_version":"3.45.3"}
2024-10-05T16:59:22.366Z	renderer/ScreenController	INFO	""	"account_info"	{"arch":"64","authserv_id_candidates":"","bcc_self":"1","blobdir":"/home/user/.var/app/chat.delta.desktop/config/DeltaChat/accounts/cccdf93f-a84b-4f96-99c1-08c0765eea65/dc.db-blobs","bot":"0","configured_inbox_folder":"INBOX","configured_mvbox_folder":"<unset>","configured_sentbox_folder":"<unset>","configured_trash_folder":"<unset>","database_dir":"/home/user/.var/app/chat.delta.desktop/config/DeltaChat/accounts/cccdf93f-a84b-4f96-99c1-08c0765eea65/dc.db","database_encrypted":"false","database_version":"117","debug_logging":"0","delete_device_after":"0","delete_server_after":"0","delete_to_trash":"<unset>","deltachat_core_version":"v1.142.12","disable_idle":"false","displayname":"0","download_limit":"0","e2ee_enabled":"1","entered_account_settings":"unset imap:unset:0:unset:0:Automatic:AUTH_NORMAL smtp:unset:0:unset:0:Automatic:AUTH_NORMAL cert_automatic","fetch_existing_msgs":"0","fetched_existing_msgs":"true","fingerprint":"<key failure: No self addr configured>","fix_is_chatmail":"false","folders_configured":"0","gossip_period":"172800","is_chatmail":"false","is_configured":"0","is_muted":"false","journal_mode":"wal","key_gen_type":"0","last_cant_decrypt_outgoing_msgs":"0","last_housekeeping":"0","last_msg_id":"0","level":"awesome","mdns_enabled":"1","media_quality":"0","messages_in_contact_requests":"0","mvbox_move":"1","num_cpus":"8","number_of_chat_messages":"0","number_of_chats":"0","number_of_contacts":"0","only_fetch_mvbox":"0","private_key_count":"0","public_key_count":"0","quota_exceeding":"0","save_mime_headers":"false","scan_all_folders_debounce_secs":"60","secondary_addrs":"","selfavatar":"<unset>","sentbox_watch":"0","show_emails":"2","sign_unencrypted":"0","socks5_enabled":"0","sqlite_version":"3.45.3","sync_msgs":"1","uptime":"0h 0m 0s","used_account_settings":"unset imap:unset:0:unset:0:Automatic:AUTH_NORMAL smtp:unset:0:unset:0:Automatic:AUTH_NORMAL cert_automatic","verified_one_on_one_chats":"true","webrtc_instance":"<unset>","webxdc_realtime_enabled":"false"}
2024-10-05T16:59:22.367Z	core/event            	INFO	""	1	"src/chat.rs:4361: Device-message changelog-version-1.46.0-version1 already added."
2024-10-05T16:59:27.568Z	main/menu             	INFO	""	"rebuilding menu with locale en"
2024-10-05T16:59:29.328Z	main/menu             	INFO	""	"rebuilding menu with locale en"
2024-10-05T16:59:30.721Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:30.722Z	/mainWindow           	INFO	""	"preq"	"speaker-selection"
2024-10-05T16:59:30.722Z	/mainWindow           	INFO	""	"main window requested \"speaker-selection\" permission, but we denied it, because it is not in the list of allowed permissions."
2024-10-05T16:59:30.722Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:30.887Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:30.887Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:30.922Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:30.923Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:30.924Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:30.924Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:31.225Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:31.227Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:31.262Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:31.263Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:31.299Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T16:59:31.563Z	/mainWindow           	INFO	""	"preq"	"media"
2024-10-05T17:02:00.534Z	main/index            	INFO	""	"Starting app shutdown process"
@link2xt
Copy link
Collaborator

link2xt commented Oct 5, 2024

Likely a duplicate of #4171, flatpak as well

@ivkrotova
Copy link
Author

Everything started working after turning off the VPN on both devices (desktop and mobile)

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