Netro API throught NODE-RED error: EAI_AGAIN

Jose Lao
更新時間 2022-08-13 23:04:43 UTC
話題: 智能庭院

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



瀏覽: 24819    關注: 0   

2 回覆    點擊回覆以查看完整回覆和評論。