knowgoio / knowgo-vehicle-simulator

An interactive multi-platform Connected Car simulator for generating and streaming realistic vehicle telemetry.
https://knowgoio.github.io/knowgo-vehicle-simulator/docs
MIT License
33 stars 7 forks source link

Urgent! simulator with http request not longer working on Node-Red #5

Open Cat2794 opened 2 years ago

Cat2794 commented 2 years ago

Hello,

I have been using your simulator for the last approximately 3 weeks now and I was using a default node in Node-Red called http request to get/post information from the Rest API using the localhost:8086 URL and the specific endpoints mentioned on your website. This has worked great and all the requests were successful. Recently in the past couple of days I have discovered that the connection is not longer working. It gives me the following error when I try to access the URL from Node-Red although if I paste the link directly into the browser, the get result is successful as well as in Postman, the result is successful. image I will also attach my node settings and mention that for the KnowGo Vehicle Simulator I have the option for Unauthenticated REST API Access ticked but I have also tried generating a Bearer token and the result is still the same as in the image above. image The flow itself is a very simple one for testing containing an inject node, http request node and a debug node. image Other troubleshooting steps I have taken is reinstalling the simulator, reinstalling Node-Red, trying all sorts of steps mentioned online in regards to the ECONNREFUSED error message such as disabling firewall, flushing dns, trying to access Node-Red in incognito mode, also I checked the netstat command to look for the specific 8086 port used by the API and I couldn't find it using any of the additional options netstat has, and so on but none of these steps actually solved the issue. Do you have any ideas as to why this has happened? It was working perfectly fine until now I was able to successfully call the API from Node-Red and I am not really sure what might have happened. Thank you in advance.

Kind regards, Adriana

pmundt commented 2 years ago

Thanks for the report. I've tried to recreate the problem with a local Node-RED instance using your configuration, but it all works for me. Can you perhaps give some more information about your setup? Are you running Node-RED locally or via a Docker image? Which OS are you using, and where did you obtain your copy of the simulator from?