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



浏览: 24962    关注: 0   

2 回复    点击回复以查看完整回复和评论。