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

Siglo monitor "is not allowed to send messages" #82

Closed
jjs10 opened this issue Sep 2, 2021 · 5 comments
Closed

Siglo monitor "is not allowed to send messages" #82

jjs10 opened this issue Sep 2, 2021 · 5 comments

Comments

@jjs10
Copy link

jjs10 commented Sep 2, 2021

I was testing SMS notifications from my PinePhone running Mobian to my Infinitime watch and did not receive notification. I believe this is the corresponding error message from journalctl:

Sep 02 15:08:55 mobian systemd[665]: siglo.service: Failed with result 'exit-code'.
Sep 02 15:08:55 mobian systemd[665]: siglo.service: Main process exited, code=exited, status=1/FAILURE
Sep 02 15:08:55 mobian dbus-daemon[697]: [session uid=1000 pid=697] Monitoring connection :1.123 (uid=1000 pid=2409 comm="/usr/bin/python3 /usr/local/bin/siglo --start ") is not allowed to send messages; closing it. Please fix the monitor to not do that. (message type="error" interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" destination=":1.79")
Sep 02 15:08:55 mobian siglo[2409]: {'category': 'SMS', 'sender': dbus.String('New message from Test Account'), 'message': dbus.String('Test SMS Message')}
Sep 02 15:07:44 mobian dbus-daemon[697]: [session uid=1000 pid=697] Connection :1.123 (uid=1000 pid=2409 comm="/usr/bin/python3 /usr/local/bin/siglo --start ") became a monitor.
Sep 02 15:07:44 mobian siglo[2409]: [f1:25:1c:7d:a1:48] Connection failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Is there a security setting that is needed to allow siglo to send messages?

@Yasumoto
Copy link
Contributor

Yasumoto commented Sep 2, 2021

I think you're running into #80 :

#80 (comment)

@jjs10
Copy link
Author

jjs10 commented Sep 2, 2021

I think you're running into #80 :

#80 (comment)

Possibly, I built from source instead of through flatpack and #80 sounded like it was specific to flatpack.

@jwillikers
Copy link
Contributor

jwillikers commented Sep 3, 2021

@jjs10 Does running siglo --start directly from the command-line produce the same errors? I bet the Systemd service unit needs modified to work better with DBus.

@jjs10
Copy link
Author

jjs10 commented Sep 3, 2021

@jjs10 Does running siglo --start directly from the command-line produce the same errors? I bet the Systemd service unit needs modified to work better with DBus.

I just tried it using the siglo --start and not the systemd service and I get the same error message from journalctl and the siglo process dies when I received an SMS.

@jjs10
Copy link
Author

jjs10 commented Sep 29, 2021

This issue went away for me after I upgraded the watch to InfiniTime 1.6. I'm guessing it was related to the improvements to BLE they made on the watch itself.

@jjs10 jjs10 closed this as completed Sep 29, 2021
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

3 participants