-
After configuring the MindConnect node with the manual, the node confirms the settings by showing the status information. SHARED_SECRET Token is retreived from MindSphere, Asset is showing "Onboarded" status. When sending data to MS using the timeseries template I get the following error: I am using Node-Red v2.1.3, @mindconnect/node-red-contrib-mindconnect version 3.12.0 So far I am not able to find the root of this error. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Can you post the content of your function node, i think you have a typo in there. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@Mbonss also , how old is this agent? the agent management service of mindsphere had a major outage few days ago, maybe the configuration settings are broken for some reason, You could offboard the agent in the mindsphere, delete the local settings by clicking on the trash can button, and then onboard the agent again. |
Beta Was this translation helpful? Give feedback.
-
I could reproduce it. The problem only occurs if you install the mindconnect node while building the docker image.
This will show the following error, and the error you are seeing is just a follow up error because the validation function can't find the AJV library.
For some reason npm has a problem to handle dependencies in the version 2.1.3 of the image when installing the library via NPM command while building docker container. This doesn't happen if you use e.g. the latest version of docker image.
It also doesn't happen if you just install the library via manage palette instead of building it via docker container. A workaround if you absolutely must use that image is to switch off the validation in the node, but I suggest just using the newer base image for your docker container. |
Beta Was this translation helpful? Give feedback.
I could reproduce it. The problem only occurs if you install the mindconnect node while building the docker image.
This will show the following error, and the error you are seeing is just a follow up error because the validation function can't find the AJV library.
For some reason npm has a problem to handle dependencies in the version 2.1.3 of the image when installing the library via NPM command while building docker container.
This doesn't happen if you use e.g. the latest v…