I’m using a self hosted Gotify instance which does not have a valid certificate (internal network, so no Let’s Encrypt). The Gotify node fails to create a message because of SSL issues.
My workaround for this is to use the HTTP Request node with the “Ignore SSL issues” option enabled. But I’d like to use the Gotify node to create Gotify messages.
I’ve activated the Ignore SSL Issues in the Gotify Credentials configuration, but still getting the following error.
NodeApiError: self signed certificate
at Object.gotifyApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Gotify/GenericFunctions.js:26:15)
Interesting, if I set the option to false, I am getting a different error.
ERROR: The resource you are requesting could not be found
404 - {"error":"Not Found","errorCode":404,"errorDescription":"page not found"} - Not Found
NodeApiError: The resource you are requesting could not be found
@rob_otter The 404 error you received is unrelated to SSL/TLS. It means the resource you’re trying to access, likely the gotify server, is unavailable or cannot be reached. Can you confirm if the gotify server is reachable from your n8n host/instance?
@CristianG I’ve checked everything multiple times.
Ping works, DNS resolution works, also the manual POST HTTP request, which I’m using as a workaround works.
But thanks to your hint, I’ve found the error: the URL in the Gotify credentials configuration must not end with a slash. So after I removed the trailing slash it finally worked.
Maybe It’s worth fixing or at least mentioning it in the docs.
Since I now have a valid certificate (thanks to Let’s encrypt), I can not test the option to ignore SSL.