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

How to clear the Agent session #304

Closed nandishmb closed 2 years ago

nandishmb commented 3 years ago
  1. Run the test demo with one agentconfig.json in a machine (1st attempt) - works fine - agent onboarded
  2. Run the same test with different agentconfig.json in same machine (no other change) - invalid token error - new agent not onboarded

How to clear the session?

sn0wcat commented 3 years ago

https://opensource.mindsphere.io/docs/mindconnect-nodejs/troubleshooting.html#tab1anchor5

How to reset agent configuration If you have problems with your agent:

1.Stop the agent. 2.Move or delete the content of the .mc folder (the json files with configuration and authentication settings). 3.Offboard the agent. 4.Create new settings for the mindconnect library.