Hello everyone,
I have set up the change detection application to monitor changes on some websites. When those changes occur, I would like to send a notification to an ntfy service (also hosted on the same cloudron).
ChangeDetection support such feature with apprise. So I can put this in settings > Notifications and it should work: ntfys://<token>@<ntfy_hostname>/changedetection
However, I am getting the following errors:
2024/09/09 15:08:56,000 - SENDING - null
2024-09-09 15:09:01,045 - DEBUG - Socket Exception: HTTPSConnectionPool(host='<ntfy_hostname>', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f723024ba90>, 'Connection to <ntfy_hostname> timed out. (connect timeout=4.0)'))
2024-09-09 15:09:01,045 - WARNING - A Connection error occurred sending ntfy:https://<ntfy_hostname> notification.
2024-09-09 15:08:56,706 - DEBUG - ntfy Headers: {'User-Agent': 'changedetection.io', 'Authorization': 'Bearer <token>', 'Content-Type': 'application/json', 'X-Icon': 'https://raw.githubusercontent.com/dgtlmoon/changedetection.io/master/changedetectionio/static/images/avatar-256x256.png'}
2024-09-09 15:08:56,706 - DEBUG - ntfy Payload: {'topic': 'changedetection', 'title': 'ChangeDetection.io Notification - https://changedetection.io/CHANGELOG.txt', 'message': 'https://changedetection.io/CHANGELOG.txt had a change.\n---\n\n---'}
2024-09-09 15:08:56,706 - DEBUG - ntfy POST URL: https://<ntfy_hostname>(cert_verify=True)
2024-09-09 15:08:56,705 - DEBUG - Loaded ntfy URL: ntfys://t...3@<ntfy_hostname>/changedetection?priority=default&mode=private&image=yes&auth=token&avatar_url=https%3A%2F%2Fraw.githubusercontent.com%2Fdgtlmoon%2Fchangedetection.io%2Fmaster%2Fchangedetectionio%2Fstatic%2Fimages%2Favatar-256x256.png&format=text&overflow=upstream&rto=4.0&cto=4.0&verify=yes
It's worth noting that I can publish notifications without any issue from ntfy client directly. I have also tried with apprise CLI, and it also works fine:
apprise -vv -t "Test Title" -b "Test Body" ntfys://<token>@<hostname>/changedetection
My cloudron is hosted on a server at home and I have a pihole for local DNS on the same network.
Could I please get some help to troubleshoot this issue?
Thank you