Gotify notifications

Jabberwock

New Member
Sep 1, 2023
6
1
3
Hi,
I setup the Gotify integration for notifications on my PVE and on my PBS servers. On PVE everything works fine, on PBS I receive the error
"Could not test target: could not notify via endpoint(s): Gotify: https://192.168.xxx.xxx/message: Connection Failed: tls connection init failed: presented server name type wasn't supported (500) "
when I test the setup via WebUI.

But everythig works if I use this command in a terminal on PBS:

Code:
curl "https://192.168.xxx.xxx/message?token=APGP2tMwNYHMd.D" -F "title=Test Gotify server" -F "message=Testing Gotify" -F "priority=5"

In the syslog I see this

pbs proxmox-backup-api[1058]: Sending fatal alert BadCertificate
everytime I execute a test.

Any idea?

Regards.
 
Hello Jabberwock,

I'm wondering, is this a self-signed TLS certificate you are using on your Gotify server?
 
Hi,

yes, it is self-signed. The same certificate works for another machine with PVE and works for PBS when I use curl in the terminal, but does not work when I use PBS webUI on the same computer.

Regards,
Jabberwock
 
Last edited:
A new update.

I downloaed gotify-cli on PBS, configured with https server address and token and used it to push a message to Gotify server: it worked without problem.
So I think there is something wrong with PBS Gotify plugin, but I'm stuck as I don't know what to check: in the webUI I do not see any other options, by terminal I do not know what I have to search.

Any other idea?

Edit: I controlled proxmox-widget-toolkit.js file on PBS, but I don't see anything wrong.
 
Last edited: