The vMware has internet. The browser can reach any website also the "http://time.jsontest.com". It was not possible for me to paste your code in NodeRed. I tried to rebuild the code in this way: [
{
"id": "8bb1e01ca545be55",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "5b540730dbbf58f6",
"type": "inject",
"z": "8bb1e01ca545be55",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payloadType": "date",
"x": 180,
"y": 200,
"wires": [
[
"dccd0e4f6e9a1556"
]
]
},
{
"id": "1d23585a8cfa4c47",
"type": "debug",
"z": "8bb1e01ca545be55",
"name": "debug2",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 560,
"y": 200,
"wires": []
},
{
"id": "dccd0e4f6e9a1556",
"type": "http request",
"z": "8bb1e01ca545be55",
"name": "",
"method": "GET",
"ret": "txt",
"paytoqs": "ignore",
"url": "http://time.jsontest.com",
"tls": "",
"persist": false,
"proxy": "",
"authType": "",
"senderr": false,
"credentials": {},
"x": 370,
"y": 200,
"wires": [
[
"1d23585a8cfa4c47"
]
]
}
] But the request throws an error. RequestError: connect ECONNREFUSED 192.168.100.80:3128 : https://time.jsontest.co
... View more