Open ra1qcw opened 8 months ago
Hi, since this is basically a 1-file project, I suspect the issue is either network related or there was a change within Apprise or Gotify why it doesn't work for you. First intuitions to help debugging it:
debug=True
to the Apprise
object to get even more logs.
Debug param for Apprise: https://github.com/caronc/apprise/blob/master/apprise/Apprise.py#L58
Apply it here: https://github.com/immanuelfodor/rocketchat-push-gateway/blob/master/push.py#L12Sorry, but I can't understand, how to get apprise logs ( Tryed to change gataway = Apprise(debug=True) , but no more info in the logs. Tryed to change gotify server in yml to WRONG but result is the same. :( Can you advice how to get Apprise logs?
upd: installed apprise cli, this is work:
apprise -vv -t 'test' -b 'my test notification body' gotify://10.1.1.142:85/1234567890
I found a solution! :)
I thinked what fresh apprise can use fresh urllib3 and just changed
urllib3==1.24.2 # requests 2.21.0 has requirement urllib3<1.25,>=1.21.1
to
urllib3
in requirements.txt
Thank You!
Oh, I'm happy that you managed to get it working! I'll make the change to the requirements to provide the fix for everyone.
Trying to use gateway. Chat->Gateway = OK Curl->Gotify=OK Gateway->Gotify= don't work :(
apprise-config.yml
This Curl is working
curl "http://10.1.1.142:85/message?token=123123123" -F "title=my title" -F "message=my message" -F "priority=5"
Gateway log:
What can I do in this situation?