Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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
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
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
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
We restarted the machine when this happened the first time.
It didn't work and the profile job (another job back then) was still there.
So we re-installed Analitics and Foundation.
When we tried to create profiles again (with a smaller dataset) it happened again