Cancel
Showing results for 
Search instead for 
Did you mean: 

mindconnect-nodejs : Network Error unable to upload data using starter-js project

Siemens Experimenter Siemens Experimenter
Siemens Experimenter

Trying to user starter-js project after setup when I run index.js I am getting this error message .

 

[2019-07-21T17:17:36.892Z] Iteration : 0
Error: Network error occured request to https://southgate.eu2-rc.mindsphere.io/api/agentmanagement/v3/oauth/token failed, reason: connect ETIMEDOUT 13.95.129.43:443 (hint: possible cause for this error is invalid date/time on the device)
at MindConnectAgent.<anonymous> (D:\hack\starterts\starterjs\node_modules\@mindconnect\mindconnect-nodejs\dist\src\api\agent-auth.js:253:23)
at Generator.throw (<anonymous>)
at rejected (D:\hack\starterts\starterjs\node_modules\@mindconnect\mindconnect-nodejs\dist\src\api\agent-auth.js:5:65)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)

2 REPLIES 2

Re: mindconnect-nodejs : Network Error unable to upload data using starter-js project

Genius
Genius

@SunilPrasad , did you already check this?

"hint: possible cause for this error is invalid date/time on the device"

@darthsn0wcat do you know more?

Re: mindconnect-nodejs : Network Error unable to upload data using starter-js project

The client can’t establish the connection to MindSphere. Please verify that your proxy settings are set correctly. 

 

https://opensource.mindsphere.io/docs/node-red-contrib-mindconnect/getting-started.html#tab1anchor7