Closed ihatethecloud closed 1 week ago
please, can be more descriptive and paste the full and exact notification URL you are using, without your passwords etc obviously?
ntfy://sometopic
100% works, I cant follow what you're saying here, are YOU adding the avatar_url
or? its kind of confusing (the system will add it in some cases)
Ntfy seems to dislike the ?avatar_url added by changedetection after the topic
@ihatethecloud can you test with a "public" channel with only like ntfy://some-cdio-test
? (and subscribe to that)
I suspect it gets confused when the username+password is added - which is why i wrote that we need to see your full notification information there
Running the ntfy container locally to test
docker run -p 80:80 -it binwiederhier/ntfy serve
echo hello|apprise "ntfy://username:password@localhost/topic?avatar_url=https://raw.githubusercontent.com/dgtlmoon/changedetection.io/master/changedetectionio/static/images/avatar-256x256.png"
I can see via tcpdump that it works
POST / HTTP/1.1
Host: localhost
User-Agent: Apprise
Accept-Encoding: gzip, deflate, br
Accept: */*
Connection: keep-alive
Content-Type: application/json
X-Icon: https://raw.githubusercontent.com/dgtlmoon/changedetection.io/master/changedetectionio/static/images/avatar-256x256.png
Content-Length: 38
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
2]{"topic": "topic", "message": "hello"}{
2]HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json
Date: Mon, 09 Sep 2024 09:44:27 GMT
Content-Length: 242
{"id":"nUxk12sMKzfN","time":1725875067,"expires":1725918267,"event":"message","topic":"topic","message":"hello","icon":"https://raw.githubusercontent.com/dgtlmoon/changedetection.io/master/changedetectionio/static/images/avatar-256x256.png"}
when i test from the notification/changedetection.io settings page
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json
Date: Mon, 09 Sep 2024 09:45:37 GMT
Content-Length: 767
{"id":"AJoeZ4Uh45Jr","time":1725875137,"expires":1725918337,"event":"message","topic":"topic","title":"ChangeDetection.io Notification - https://www.pulltheplugpatches.com/collections/embroidered-backpatches/products/cannibal-corpse-butchered-at-birth-1","message":"https://www.pulltheplugpatches.com/collections/embroidered-backpatches/products/cannibal-corpse-butchered-at-birth-1 had a change.\n---\n(changed) Example text: change detection is cool\n(changed) Example text: some more examples\n(into) Example text: change detection is fantastic\n(into) Example text: even more examples\n(into) Example text: a lot more examples\n---","icon":"https://raw.githubusercontent.com/dgtlmoon/changedetection.io/master/changedetectionio/static/images/avatar-256x256.png"}
it's also a success
so I dont know what you mean by 'ntfy broken' unfortunately
can you provide more info?
Describe the bug
appended to each notification line
Works fine with telegram but breaks ntfy.
Version v0.46.04
To Reproduce
Steps to reproduce the behavior:
Expected behavior Notification sent via ntfy