Closed alexsahka closed 1 year ago
The red bubble means that you are missing a required configuration-node. Is the message receive node working for you? Or only the sende node?
Both, Neither send nor receive working.
My self-hosted Gotify server, working just fine with the https://flows.nodered.org/node/node-red-contrib-gotify
App token and Gotify-server field outline are red.
It is important to have trailing slash in Gotify-Server address.
https://gotify.example.com/
-> works
https://gotify.example.com
-> displays error message in node-red's log: "Error: getaddrinfo ENOTFOUND gotify.toomyem.netmessage
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)"
This could be quite easily fixed by changing the line from send.js:
axios.post(config.server+"message?token="+config.token,msg.payload);
to:
axios.post(config.server+"/message?token="+config.token,msg.payload);
It is important to have trailing slash in Gotify-Server address.
I have tried with/without trailing slash with the same result. The app token and the Gotify-server field still outline in red.
I think this is interference with the https://flows.nodered.org/node/node-red-contrib-gotify which is installed in the NodeRed
Just confirmed the interference with the https://flows.nodered.org/node/node-red-contrib-gotify Installed the nr-gotify-push on testing Nodered and everything is working
I think these two nodes share the same folder = /node_modules/nr-gotify/
Can not connect to the self-hosted Gotify server.
![image](https://user-images.githubusercontent.com/7469537/180276477-0b232daa-b671-4a31-8756-2ced74736995.png)
Node red connects with the gotify-notification
![image](https://user-images.githubusercontent.com/7469537/180276384-18e53e31-de0b-42f4-93ea-7f64e2f3e891.png)