whatsie icon indicating copy to clipboard operation
whatsie copied to clipboard

doesnt recieve/send messages

Open karesosis opened this issue 1 year ago • 7 comments

ui works fine while the background is freeze. after reloading in tray of with f5 its gets the messages and i am able to send in the first 10 secs or whatsoever after that back to freeze. idk if the terminal output is related or not. (using ubuntu22.04)

whatsie 
Qt: Session management error: Could not open network socket
propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.433\" (uid=1000 pid=30962 comm=\"/snap/whatsie/146/usr/bin/whatsie \" label=\"snap.whatsie.whatsie (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=763 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.433\" (uid=1000 pid=30962 comm=\"/snap/whatsie/146/usr/bin/whatsie \" label=\"snap.whatsie.whatsie (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=763 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
"Object path cannot be empty"

karesosis avatar Nov 18 '23 20:11 karesosis

I'm getting exactly the same behavior on 23.10.

ABSounds avatar Nov 19 '23 20:11 ABSounds

in my case the problem started right after i updated whatsapp within the snap. "Update available : Click to update Whatsapp >" i did uninstall/install the snap and this time skipped the update, things went well for couple of hours then i assume it updated by itself now the issue occurred again.

karesosis avatar Nov 20 '23 07:11 karesosis

flatpak has the same issue (I have booth)

iuridiniz avatar Nov 20 '23 12:11 iuridiniz

flatpak

iuri@GTR:~$ com.ktechpit.whatsie 
Gtk-Message: 09:12:56.789: Failed to load module "canberra-gtk-module"                                                                                                                
Gtk-Message: 09:12:56.789: Failed to load module "canberra-gtk-module"                                                                                                                
qt.qpa.qgnomeplatform: Could not find color scheme  ""                                                                                                                                
Qt: Session management error: Could not open network socket    

snap

iuri@GTR:~$ whatsie 
/usr/share/libdrm/amdgpu.ids: No such file or directory
Qt: Session management error: Could not open network socket
propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.186\" (uid=1000 pid=59472 comm=\"/snap/whatsie/146/org.freedesktop.NetworkManager\" (uid=0 pid=4742 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.186\" (uid=1000 pid=59472 comm=\"/snap/whatsie/146/usrorg.freedesktop.NetworkManager\" (uid=0 pid=4742 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
"Object path cannot be empty"

in both, the app open, but I can't send messages

iuridiniz avatar Nov 20 '23 12:11 iuridiniz

The issue is not related to what is being reported in the stdout. They are unrelated. There are some issue with session being cached and not validated later by the remote. Clearing the session could help but is not best solution since user need to re-login after every application quit.

keshavbhatt avatar Nov 20 '23 12:11 keshavbhatt

I've been having the same issue. It's now gotten to a level where the issue happens immediately after relaunching.

flosoft avatar Jan 06 '24 14:01 flosoft

I receive messages in Whatsie but cannot send messages. Had that issue in an Arch-based distro. In Fedora, same problem.

Application is basically useless in this state.

mysteryx93 avatar Jun 24 '24 17:06 mysteryx93