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

Gateway to Gotify don't work #7

Open
ra1qcw opened this issue Oct 24, 2023 · 4 comments
Open

Gateway to Gotify don't work #7

ra1qcw opened this issue Oct 24, 2023 · 4 comments

Comments

@ra1qcw
Copy link

ra1qcw commented Oct 24, 2023

Trying to use gateway.
Chat->Gateway = OK
Curl->Gotify=OK
Gateway->Gotify= don't work :(

apprise-config.yml

urls:
  - gotify://10.1.1.142:85/123123123:
    - tag: push-gw-admin, 890890890809809890890809809809

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:

New notification received
Forwarded the received notification, tag=890890890809809890890809809809
"POST /push/gcm/send HTTP/1.1" 200 3 "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"

What can I do in this situation?

@immanuelfodor
Copy link
Owner

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:

@ra1qcw
Copy link
Author

ra1qcw commented Oct 25, 2023

Sorry, 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

@ra1qcw
Copy link
Author

ra1qcw commented Oct 25, 2023

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!

@immanuelfodor
Copy link
Owner

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.

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