Bug 483642 - "Failed to connect to proxy" causing hangs in electron apps
Summary: "Failed to connect to proxy" causing hangs in electron apps
Status: REPORTED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-15 10:35 UTC by Nicolas
Modified: 2024-04-10 17:32 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas 2024-03-15 10:35:02 UTC
SUMMARY
In electron apps like element, slack, signal I observed hangs recently occuring more or less random (but usually after interaction). In the journal I see on every hang the message "Failed to connect to proxy" and then the application is blocked. After some time, the app resumes. This didnt happen with kde5.

According to the logs this seems to be related with notifications:

Mär 15 11:27:30 nic-desktop element-desktop[882495]: Failed to connect to proxy
Mär 15 11:27:41 nic-desktop plasma_waitforname[1018959]: org.kde.knotifications: WaitForName: Service was not registered within timeout
Mär 15 11:27:41 nic-desktop dbus-daemon[4449]: [session uid=1000 pid=4449] Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications exited with status 1
Mär 15 11:27:41 nic-desktop element-desktop[882495]: Failed to connect to proxy
Mär 15 11:27:41 nic-desktop dbus-daemon[4449]: [session uid=1000 pid=4449] Activating service name='org.freedesktop.Notifications' requested by ':1.1423' (uid=1000 pid=882495 comm="/opt/Element/element-desktop " label="unconfined")
Mär 15 11:28:06 nic-desktop krunner[882495]: [882495:0315/112806.166236:ERROR:libnotify_notification.cc(50)] notify_notification_show: domain=1182 code=24 message="Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached"



STEPS TO REPRODUCE
1. use electron app
2. 
3. 

OBSERVED RESULT
Hangs

EXPECTED RESULT
No hangs

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-25-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B550 VISION D
System Version: -CF

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-04-10 17:32:54 UTC
This is not a Plasma problem but rather a local misconfiguration on your system, or some kind of packaging issue. Moving to Neon for further triage.