mindsphere / mindconnect-nodejs

NodeJS Library for Industrial IoT Connectivity - TypeScript SDK for Industrial IoT - Command Line Interface - Development Proxy - typescript-sdk is waiting for your contributions!
https://developer.siemens.com/industrial-iot-open-source/index.html
MIT License
68 stars 23 forks source link

Agent Data Source Configuration fetch error #312

Closed Rashmitha677 closed 2 years ago

Rashmitha677 commented 2 years ago

Hello,

I received the below error:

Agent Data Source Configuration fetch error : Error: Network error occurred request to https://southgate.eu1.mindsphere.io/api/agentmanagement/v3/oauth/token failed, reason: getaddrinfo EAI_AGAIN southgate.eu1.mindsphere.io:443 (hint: possible cause for this error is invalid date/time on the device) see also: https://opensource.mindsphere.io/docs/mindconnect-nodejs/troubleshooting.html at MindConnectAgent. (/home/sc2040/MindConnect/node_modules/@mindconnect/mindconnect-nodejs/dist/src/api/agent-auth.js:299:23) at throw (native) at rejected (/home/sc2040/MindConnect/node_modules/@mindconnect/mindconnect-nodejs/dist/src/api/agent-auth.js:6:65) at process._tickCallback (internal/process/next_tick.js:109:7)

I had to generate new onboarding key to establish a connection to Mindsphere. Could you please let us know what could have caused the issue?