Closed eng56 closed 5 years ago
Well, the MQTT broker address is in the Connectors section.
Thank you for your answer, I think my question was not clear: I have a server with a websited hosted on it like: https://mydomain.com/nodered. My LoriXone is set up with Mosquitto and gotthardp. I'm trying to forward my data from my gateway to my nodered. I have tried with a MQTT node and also with a post request, both are not working. I have read and I have tried to do what you explain in your doc/Connectors and doc/Troubeshooting
Thank you for your time
This what I have done for POST, I have also a nodered running on the same network than my LoriXone, if I replace https://mydomain.com/nodered. by mqtt://localhost:1883 It working perfectly.
And where is your nodered accessible? This site says it may work with HTTP and port 1880.
My nodered is accessible via Internet, just have to browse to my http://domain.com/nodered. I'm already making POST with Sigfox or TTN, and it's working well. Thank you for your help
Well, it's hard to debug remotely, but:
http
instead https
as it's simpler\
slash at the beginning of the Publish Uplinks and others (as described here)debug.log
to see if there are any errors or warningsYes I know and I'm sorry, thank you again for your help.
. I'm using http
. It should be /
instead of \
no ?
.For the debug I have an error of unknown_deveui
, it's mean that the DevEUI is not correctly configured but I still have this error if I remove the connector and I let only the connector that is working (mqtt on local node red).
Thank you
--
Yeah, /
, sorry for the confusion.
I am lost a bit now. We should fix one error at a time. Please, get it working with MQTT (you must not see unknown_deveui
) and then just change the URL and the /
.
No problem. With MQTT set up to a local node red it's working. This the config that is working:
When I try to make a POST on my local node-red or on another node red in a distant server it's not working with this config: (I'm letting subscribed and received topic in blank because I just want to receive data)
I hope that you have server 0.6.x, your HTTP connector is Enabled and there is no Failed flag. Right? Is there anything in the nodered/server logs showing a HTTP error? Would you be able to operate https://www.wireshark.org/ to see what HTTP traffic is sent where?
I have set up my LoraW One yesterday so I think I have the last version.
I have this error when I'm trying to make a post to my distant server (i don't have it with my local nodered):
http_error{ 301,<<" http://mywebsite.com/nodered/public/lorawantest">>,<<"/nodered/public/lorawantest/lora/aiq/up">>}
Yes I know how tu use wireshark, I'am on the same Wifi Network than my LoriXOne do I need to install WireShark on it or can I use it directly on my computer ? I'm really gratefull for your help
Problem found: my server cannot handle "301" (sent by nodered) as already reported by #534 Can nodered be convinced to not send it? :-)
Ok thank you for your answer so it means that for the moment it's impossible to make a POST from Gotthardp to node red ?
Unless nodered can be convinced to not send it.
Ok thank you again for your help and your time
Hello, I have a server where I'm running Node Red, I have just installed a LoriXOne gateway and I have set up gotthardp on it. I'm using the MQTT broker on node red with the following server adress: localhost:1883 , when I run it locally that's working. When I'm switching to another server who is not on the same network I need to change "localhost" by the server adress. How can I find it on gotthardp ?
I'm sorry if my question is stupid but I'm really stuck,
Thank you,