Skip to main content
1-Visitor
May 28, 2018
Question

Anomaly Detection Calibration Fails

  • May 28, 2018
  • 10 replies
  • 4038 views

Hello everyone,

 

while trying to follow this guide I had a lot of problems which I was able to solve thanks to this community, but now I am facing the next one:

 

While trying to create an anomaly alert, it fails after a long time of Calibration. As I suspect from the log files, it seems that the data is collected properly during Calibration but it fails to switch to training mode.

 

Also I checked the ports for the training and result standalones and the ones I used for them are free. I also get the expected results described in the guide when visting http://localhost:8082/results/models and http://localhost:8084/training.

 

Attached you can find the output of the command prompts where I executed the Jar Files. (One of them is very large, sorry for that)

 

Any help is appreciated very much!

 

Best Regards,

Dominik

 

Edit: Maybe it is the similar case like here?

10 replies

5-Regular Member
May 28, 2018

@drieder

 

Thank you for opening this Thread here. Could you please confirm if you are using TWX version 8.0, or any other?

 

You can follow this article: https://www.ptc.com/en/support/article?n=CS271378&posno=2&q=calibrating%20fails&source=search

 

Regards,

Mohit

drieder1-VisitorAuthor
1-Visitor
May 28, 2018

Hello Mohit,

 

Thank you for your reply.

 

I am working with TWx Analytics 8.2. In my training-standalone-single.yml file I didn't see anything about "file storage". this is how my yml file looks likeScreenshot (32).png

 

Regards,

Dominik

16-Pearl
May 30, 2018

Hi,

 

I think that you problem is related to windows permissions.

If you have a look a the results log file you will see this error.

 

Failed to upload results document: Could not create folder "file:///C:/Users/d.rieder/Desktop/ThingWorxProjekt/Analytics/AnomalyMicroservices-Windows/AnomalyMicroservices-Windows/Usersd.riederDesktopThingWorxProjektAnalyticsAnomalyMicroservices-WindowsAnomalyMicroservices-Windows iles"

 

Try to run the jar files from an Admin command prompt or change the folder permissions.