GSConnect / gnome-shell-extension-gsconnect

KDE Connect implementation for GNOME
GNU General Public License v2.0
3.22k stars 259 forks source link

My computer does not receive any notification from phone apps anymore #860

Closed Elvith closed 4 years ago

Elvith commented 4 years ago

Describe the bug

When I receive a Signal message, or a K9mail mail, or anything else that triggers a notification on my phone, the computer does not display a notification. It did worked a few days ago but suddenly stopped working. I believe that both GSConnect (on the computer) and KDE Connect (on the phone) settings are correct and therefore the problem is not due to an unchecked box but is a bug indeed.

Steps To Reproduce:

  1. Wait for a notification on your phone
  2. See that there is no notification on your computer

Expected behavior

I expect to receive notifications on my computer.

Support Log Below is the part of a log when I received Signal messages and no notifications were received by my computer. I can provide previous lines of the log if you need them.

mai 15 11:56:25 dbus-daemon[1366]: [session uid=1000 pid=1366] Failed to activate service 'org.freedesktop.Tracker1.Miner.Extract': timed out (service_start_timeout=120000ms)
mai 15 11:56:26 dbus-daemon[1366]: [session uid=1000 pid=1366] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.1' (uid=1000 pid=1364 comm="/usr/libexec/tracker-miner-fs ")
mai 15 11:56:26 systemd[1342]: Starting Tracker metadata extractor...
mai 15 11:56:26 tracker-extract[22954]: Set scheduler policy to SCHED_IDLE
mai 15 11:56:26 tracker-extract[22954]: Setting priority nice level to 19
mai 15 11:56:26 dbus-daemon[1366]: [session uid=1000 pid=1366] Successfully activated service 'org.freedesktop.Tracker1.Miner.Extract'
mai 15 11:56:26 systemd[1342]: Started Tracker metadata extractor.
mai 15 11:56:27 systemd[1342]: tracker-extract.service: Main process exited, code=killed, status=11/SEGV
mai 15 11:56:27 systemd[1342]: tracker-extract.service: Failed with result 'signal'.
mai 15 11:56:27 systemd[1342]: tracker-extract.service: Scheduled restart job, restart counter is at 1.
mai 15 11:56:27 systemd[1342]: Stopped Tracker metadata extractor.
mai 15 11:56:27 systemd[1342]: Starting Tracker metadata extractor...
mai 15 11:56:27 tracker-extract[23003]: Set scheduler policy to SCHED_IDLE
mai 15 11:56:27 tracker-extract[23003]: Setting priority nice level to 19
mai 15 11:56:27 systemd[1342]: Started Tracker metadata extractor.
mai 15 11:56:27 systemd[1342]: tracker-extract.service: Main process exited, code=killed, status=11/SEGV
mai 15 11:56:27 systemd[1342]: tracker-extract.service: Failed with result 'signal'.
mai 15 11:56:28 systemd[1342]: tracker-extract.service: Scheduled restart job, restart counter is at 2.
mai 15 11:56:28 systemd[1342]: Stopped Tracker metadata extractor.
mai 15 11:56:28 systemd[1342]: Starting Tracker metadata extractor...
mai 15 11:56:28 tracker-extract[23050]: Set scheduler policy to SCHED_IDLE
mai 15 11:56:28 tracker-extract[23050]: Setting priority nice level to 19
mai 15 11:56:28 systemd[1342]: Started Tracker metadata extractor.
mai 15 11:56:28 systemd[1342]: tracker-extract.service: Main process exited, code=killed, status=11/SEGV
mai 15 11:56:28 systemd[1342]: tracker-extract.service: Failed with result 'signal'.
mai 15 11:56:28 systemd[1342]: tracker-extract.service: Scheduled restart job, restart counter is at 3.
mai 15 11:56:28 systemd[1342]: Stopped Tracker metadata extractor.
mai 15 11:56:28 systemd[1342]: Starting Tracker metadata extractor...
mai 15 11:56:28 tracker-extract[23098]: Set scheduler policy to SCHED_IDLE
mai 15 11:56:28 tracker-extract[23098]: Setting priority nice level to 19
mai 15 11:56:28 systemd[1342]: Started Tracker metadata extractor.
mai 15 11:56:29 systemd[1342]: tracker-extract.service: Main process exited, code=killed, status=11/SEGV
mai 15 11:56:29 systemd[1342]: tracker-extract.service: Failed with result 'signal'.
mai 15 11:56:29 dbus-daemon[1366]: [session uid=1000 pid=1366] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.1' (uid=1000 pid=1364 comm="/usr/libexec/tracker-miner-fs ")
mai 15 11:56:29 systemd[1342]: tracker-extract.service: Scheduled restart job, restart counter is at 4.
mai 15 11:56:29 systemd[1342]: Stopped Tracker metadata extractor.
mai 15 11:56:29 systemd[1342]: Starting Tracker metadata extractor...
mai 15 11:56:29 tracker-extract[23146]: Set scheduler policy to SCHED_IDLE
mai 15 11:56:29 tracker-extract[23146]: Setting priority nice level to 19
mai 15 11:56:29 dbus-daemon[1366]: [session uid=1000 pid=1366] Successfully activated service 'org.freedesktop.Tracker1.Miner.Extract'
mai 15 11:56:29 systemd[1342]: Started Tracker metadata extractor.
mai 15 11:56:30 systemd[1342]: tracker-extract.service: Main process exited, code=killed, status=11/SEGV
mai 15 11:56:30 systemd[1342]: tracker-extract.service: Failed with result 'signal'.
mai 15 11:56:30 systemd[1342]: tracker-extract.service: Scheduled restart job, restart counter is at 5.
mai 15 11:56:30 systemd[1342]: Stopped Tracker metadata extractor.
mai 15 11:56:30 systemd[1342]: tracker-extract.service: Start request repeated too quickly.
mai 15 11:56:30 systemd[1342]: tracker-extract.service: Failed with result 'signal'.
mai 15 11:56:30 systemd[1342]: Failed to start Tracker metadata extractor.
mai 15 11:56:31 dbus-daemon[1366]: [session uid=1000 pid=1366] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.1' (uid=1000 pid=1364 comm="/usr/libexec/tracker-miner-fs ")
mai 15 11:56:31 systemd[1342]: tracker-extract.service: Start request repeated too quickly.
mai 15 11:56:31 systemd[1342]: tracker-extract.service: Failed with result 'signal'.
mai 15 11:56:31 systemd[1342]: Failed to start Tracker metadata extractor.

System Details (please complete the following information):

GSConnect environment (if applicable):

Elvith commented 4 years ago

PS : I should have added that I tried unpairing/re-pairing the phone twice and I also tried this morning to reinstall GSConnect. None of it had any effect on the bug.

andyholmes commented 4 years ago

Was this log created using the Generate Support Log feature? There doesn't seem to be anything related to GSConnect here at all.

Elvith commented 4 years ago

Yes, it was. So obviously I did not get the informative part… Sorry about that. Below are the four preceding minutes from the same log. I redacted the parts that are not related to GSConnect.

mai 15 11:50:25 org.gnome.Shell.Extensions.GSConnect[5487]: [/service/protocol/core.js:send:344]: A0001: {
                                                              "id": 1589536225296,
                                                              "type": "kdeconnect.systemvolume",
                                                              "body": {
                                                                "sinkList": [
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1",
                                                                    "description": "HDMI / DisplayPort 2 (Audio interne Digital Stereo (HDMI 2))",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  },
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_1b.0.analog-stereo",
                                                                    "description": "Haut-parleurs (Audio interne Stéréo analogique)",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  }
                                                                ]
                                                              }
                                                            }
mai 15 11:50:27 org.gnome.Shell.Extensions.GSConnect[5487]: [/service/protocol/core.js:send:344]: A0001: {
                                                              "id": 1589536227278,
                                                              "type": "kdeconnect.systemvolume",
                                                              "body": {
                                                                "sinkList": [
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1",
                                                                    "description": "HDMI / DisplayPort 2 (Audio interne Digital Stereo (HDMI 2))",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  },
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_1b.0.analog-stereo",
                                                                    "description": "Haut-parleurs (Audio interne Stéréo analogique)",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  }
                                                                ]
                                                              }
                                                            }
mai 15 11:50:32 org.gnome.Shell.Extensions.GSConnect[5487]: [/service/protocol/core.js:send:344]: A0001: {
                                                              "id": 1589536232281,
                                                              "type": "kdeconnect.systemvolume",
                                                              "body": {
                                                                "sinkList": [
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1",
                                                                    "description": "HDMI / DisplayPort 2 (Audio interne Digital Stereo (HDMI 2))",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  },
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_1b.0.analog-stereo",
                                                                    "description": "Haut-parleurs (Audio interne Stéréo analogique)",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  }
                                                                ]
                                                              }
                                                            }
[…]
mai 15 11:52:13 org.gnome.Shell.Extensions.GSConnect[5487]: [/service/protocol/core.js:send:344]: A0001: {
                                                              "id": 1589536333108,
                                                              "type": "kdeconnect.systemvolume",
                                                              "body": {
                                                                "sinkList": [
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1",
                                                                    "description": "HDMI / DisplayPort 2 (Audio interne Digital Stereo (HDMI 2))",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  },
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_1b.0.analog-stereo",
                                                                    "description": "Haut-parleurs (Audio interne Stéréo analogique)",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  }
                                                                ]
                                                              }
                                                            }
[…]
mai 15 11:52:15 org.gnome.Shell.Extensions.GSConnect[5487]: [/service/protocol/core.js:send:344]: A0001: {
                                                              "id": 1589536335086,
                                                              "type": "kdeconnect.systemvolume",
                                                              "body": {
                                                                "sinkList": [
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1",
                                                                    "description": "HDMI / DisplayPort 2 (Audio interne Digital Stereo (HDMI 2))",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  },
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_1b.0.analog-stereo",
                                                                    "description": "Haut-parleurs (Audio interne Stéréo analogique)",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  }
                                                                ]
                                                              }
                                                            }
[…]
mai 15 11:52:20 org.gnome.Shell.Extensions.GSConnect[5487]: [/service/protocol/core.js:send:344]: A0001: {
                                                              "id": 1589536340091,
                                                              "type": "kdeconnect.systemvolume",
                                                              "body": {
                                                                "sinkList": [
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1",
                                                                    "description": "HDMI / DisplayPort 2 (Audio interne Digital Stereo (HDMI 2))",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  },
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_1b.0.analog-stereo",
                                                                    "description": "Haut-parleurs (Audio interne Stéréo analogique)",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  }
                                                                ]
                                                              }
                                                            }
[…]
mai 15 11:54:40 org.gnome.Shell.Extensions.GSConnect[5487]: [/service/protocol/core.js:send:344]: A0001: {
                                                              "id": 1589536480437,
                                                              "type": "kdeconnect.systemvolume",
                                                              "body": {
                                                                "sinkList": [
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1",
                                                                    "description": "HDMI / DisplayPort 2 (Audio interne Digital Stereo (HDMI 2))",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  },
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_1b.0.analog-stereo",
                                                                    "description": "Haut-parleurs (Audio interne Stéréo analogique)",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  }
                                                                ]
                                                              }
                                                            }
mai 15 11:54:42 org.gnome.Shell.Extensions.GSConnect[5487]: [/service/protocol/core.js:send:344]: A0001: {
                                                              "id": 1589536482418,
                                                              "type": "kdeconnect.systemvolume",
                                                              "body": {
                                                                "sinkList": [
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1",
                                                                    "description": "HDMI / DisplayPort 2 (Audio interne Digital Stereo (HDMI 2))",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  },
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_1b.0.analog-stereo",
                                                                    "description": "Haut-parleurs (Audio interne Stéréo analogique)",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  }
                                                                ]
                                                              }
                                                            }
mai 15 11:54:47 org.gnome.Shell.Extensions.GSConnect[5487]: [/service/protocol/core.js:send:344]: A0001: {
                                                              "id": 1589536487422,
                                                              "type": "kdeconnect.systemvolume",
                                                              "body": {
                                                                "sinkList": [
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1",
                                                                    "description": "HDMI / DisplayPort 2 (Audio interne Digital Stereo (HDMI 2))",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  },
                                                                  {
                                                                    "name": "alsa_output.pci-0000_00_1b.0.analog-stereo",
                                                                    "description": "Haut-parleurs (Audio interne Stéréo analogique)",
                                                                    "muted": false,
                                                                    "volume": 65536,
                                                                    "maxVolume": 65536
                                                                  }
                                                                ]
                                                              }
                                                            }
andyholmes commented 4 years ago

Doesn't look like the phone has sent any notifications to GSConnect, so the problem must be elsewhere.

Elvith commented 4 years ago

Ok, so I did a full purge of both GSConnect on the computer and KDE Connect on the phone, rebooted them both, reinstalled both apps, and now notifications are received by the computer again. I think for some reason KDE Connect was not authorized anymore by the phone to access notifications. Therefore the problem was not related to GSConnect, as you thought.

Sorry for the disturbance.