Netro API throught NODE-RED error: EAI_AGAIN

Jose Lao
Actualizado 2022-08-13 23:04:43 UTC
Tema: Hogar conectado

There is any reason from the server side that I can get data using the API with the url using Chrome, but I get the message below trying to get the data using Node-Red?:

"RequestError: getaddrinfo EAI_AGAIN api.netrohome.com : https://api.netrohome.com/npa/v1/sensor_data.json?key=xxxxxxxxxxxx"

(xxxxxx is my the serial number)

I have to say that I successfully got the data using Node-Red with the first 5 or 10 petitions, but after that seems that I got a DNS block or permission denied using Node-Red, because if I use Chrome or Safari I'm able to get the data and the status OK.

Jose



Ver: 24808    Seguir: 0   

2 Respuestas    Haga clic en la respuesta para ver la respuesta completa y los comentarios.