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

GCM notifications not working #17

Open
gonzaloabad opened this issue Mar 13, 2019 · 3 comments
Open

GCM notifications not working #17

gonzaloabad opened this issue Mar 13, 2019 · 3 comments

Comments

@gonzaloabad
Copy link

Hello,

After all, thanks for the efforts. They are really appreciated.

On a cleanly built docker image, and after sending GCM ID from the mobile App, an error occurs when trying to send GCM notification. After enabling as much as log as possible, only this log is relevant to the issue:

2019-03-13 14:06:42.592 [7f72b4b4e700] Notification sent (gcm) => Failed
2019-03-13 14:06:42.601 [7f72b4b4e700] Active notification Subsystems: (0/13)
2019-03-13 14:06:42.581 [7f72b4b4e700] Status: Notification: Domoticz test
2019-03-13 14:06:42.592 [7f72b4b4e700] Error: GCM: Could not send message, HTTP Error

e-mail notifications also fail in this system.

My system is an APU-4c2 running:

  • Linux Arch
  • Linux version 4.19.20-1-lts
  • Docker version 18.09.1-ce, build 4c52b901c6
  • docker-compose version 1.23.2, build unknown

docker-compose script as follows:

 domoticz:
  image: joshuacox/mkdomoticz
  hostname: domoticz
  container_name: domoticz
  privileged: true
  volumes:
  - ./domoticz/config:/config
  ports:
   - "8081:8080"
  restart: always

Thanks in advance

@joshuacox
Copy link
Owner

I am not certain as I don't use GCM, but do you think this is an issue with the docker container? Or how it was built? Or is this an issue with domoticz itself? Or perhaps there is a package missing from the container's OS? Like wget? curl is already included.

@gonzaloabad
Copy link
Author

Seems to be an issue related to libssl's version. linuxserver/domoticz docker image is able to send notifications if it helps

@joshuacox
Copy link
Owner

Problem is that linuxserver's image is built using alpine https://github.com/linuxserver/docker-domoticz

whereas this one is built using debian-stretch, and was made to built locally using local-stretch like explained here

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