Page 1 of 1

No connection to http in node

Posted: Thu Mar 26, 2020 9:44 pm
by BerndQIOT
Hi everybody,
I'm new in this forum. Hope my question is not to stupid. I have connected some sensors to qiot (Version 2.0.003 (2019-09-04)) using node red mqtt and it works fine (publish and subscribe). Now I like to establish a http connection via HTTP IN node in order to send some information to a web browser. When I'm typing 'http://<ip>:23000/3a35d8d46dbf11ea8991653b6530244e/data' into web browsers address bar, I'm always getting in return 'Not found'. The string /3a35d8d46dbf11ea8991653b6530244e/data comes from HTTP IN node.
Can anybody tell what I'm doing wrong?
Thanks for your support, Bernd

Re: No connection to http in node

Posted: Thu Jul 30, 2020 4:01 pm
by klbik
Hi,
i`m facing the same issue. I`m just trying to implement simple HTTP IN node. In pure Node-Red is easy and its work without problems. But with QNAP and its QIoT suite i`m not able to get it done. I tried different combination of URL, but i got still nothing (still getting 'Not found'). I also did not find anything helpful on the internet about this.
Please help.
Regards,
Slavomir

Re: No connection to http in node

Posted: Fri Sep 11, 2020 6:35 pm
by klbik
Hi,

i consulted this question with Qnap support and i got response: the link for the http In node will be: http://{NAS_IP}:{NAS_PORT}/qiotnode/{COPIED_RED_URL}/http_test , where http_test is node URL, in real world it should look like this: http://{NAS_IP}:8080/qiotnode/a6bf8ca0c4d911eaa83fdb2db5fb2b95/http_test
The similar link is for the websocket: ws://{NAS_IP}:{NAS_PORT}/qiotnode/{COPIED_RED_URL}/ws_test

Slavomir