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

Error in profile creation in Analytics GUI - RetrieveResult()

  • May 15, 2018
  • 1 reply
  • 2421 views

I am getting the following flow of events:

 

14/05/2018, 15:15:07
Start/Request profile of Dataset

 

2018-05-14 15:15:21.298
GetProfilesAMS: Error calling RetrieveResult(): JavaException: com.thingworx.common.exceptions.GenericHTTPException: [ProfilingMicroserver] could not retrieve result for jobId [15ac9974-3fa7-449e-b05d-9aa8f6b7778c]: Unable to retrieve results at results:/profiles/15ac9974-3fa7-449e-b05d-9aa8f6b7778c. Received response: {"code":404,"message":"Could not retrieve result [15ac9974-3fa7-449e-b05d-9aa8f6b7778c]"}

 

This last message is constantly surging. Basically it seems analytics is stuck in trying to get results. Until today (1 day later) I have a running profile job request.

 

When I try to delete:

 

2018-05-14 15:51:00.745
DeleteProfileAMS: ERROR deleting signal job: jobId=15ac9974-3fa7-449e-b05d-9aa8f6b7778c: JavaException: com.thingworx.common.exceptions.GenericHTTPException: Cannot delete a job in queued or pending state

 

Which is expected, but now every other profile request gets pending. Also, I'd probably encounter the same error if I tried. I already have had this exact problem and re-installed foundation and analytics.


Is there something we might have done wrong, possibly in installing ?

Thank you for you time,

Bernardo

1 reply

19-Tanzanite
May 15, 2018

Hi Bernardo

 

Could you possibly provide more data as below:

- what release of ThingWorx and ThingWorx Analytics

- which Os are they on

- ThingWorx log files

- ThingWorx Analytics log files (see https://www.ptc.com/en/support/article?n=CS268761 )

- ThingWorx Analytics Config files

 

Thank you

Christophe

 

 

1-Visitor
May 15, 2018

Thingworkx - 8.1.1-b108
Analytics - 8.1.040000

 

Acessing in Windows through port 8080 to a Linux Machine

 

Thingworkx log files don't show much more than what I already have written 

 

Config an Analytics Logs are attached to this answer

 

Thank you for all your time,

Bernardo

19-Tanzanite
May 15, 2018

Hi Bernardo

 

I would suggest to stop ThingWorx Analytics Server and restart it.

This might lead to failing this profile job and so get rid of it.

 

If you still have issue, please send all the logs:

- a zip of <ThingWorxAnalytics>/data/logs folder

- /tmp/edge.log file created by journalctl --unit twas-edge-ms  > /tmp/edge.log

- a zip of /usr/local/nginx/logs

- a zip of <ThingWorxAnalyticsServer>/config

 

Thanks

Christophe