cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Mashups not loading preview - how to diagnose the issue

stevel
1-Newbie

Mashups not loading preview - how to diagnose the issue

I have been following the ThingWorx 5.0 Fundamentals Workbook in order to understand ThingWorx and progress to being able to connect to and configure an Edge Microserver.

However, along the way, at various times I am unable to use the View Mashup button.

It does not appear to be a specific Mashup that won't show, but all of them.

How do I go about diagnosing this issue? Where are the appropriate log files that might indicate what the errors are?

I'm not expecting an answer to how to get the Mashups working (though that would be nice), I'm expecting to enhance my knowledge of how to diagnose an issue when ThingWorx and it's components aren't behaving as I might expect

Regards

Steve

4 REPLIES 4
adam11
5-Regular Member
(To:stevel)

Hi Steve,

I don't know that the log files will be particularly helpful in troubleshooting the issue you describe, but in general, you will want to look at the Application and Script Log (located in ThingworxStorage/logs). These log files are accessible from within ThingWorx as well (see the Monitoring menu of Composer). In addition to our logs, most web browsers come with developer tools that you can use to troubleshoot Services and Mashups.


It may be best to open a formal support case for this issue. Are you seeing this behavior consistently? Have you tried clearing your browser's cache?


– Adam



Hi Steve,
The only thing that springs in my mind when reading about your problem is that maybe you're pressing the "View Mashup" button exactly after you pressed the Save button, so that the Mashup is in a "Saving" state when trying to view it. To explain better, when you press the View button, the System first saves it, and then tries to open it. If it's currently in the process of saving it, then it will popup a very short message saying "Already saving" and it will not open it.
Other familiar problem that I see all the time, but I don't think it is related to your case, is that the Chrome browser blocks by default the new popup window which is spawned by the View Mashup button. See if there is a small message on the right side of the address bar when trying to open a mashup...but again, it might not be the case.

Hope it helps.
Vladimir



paic
1-Newbie
(To:stevel)

Long shot, you aren't having them blocked as pop-ups are they? (red x in address bar)

Please otherwise try the following <your server name>/Thingworx/Mashups/NameOfAMashup to launch one direct.

stevel
1-Newbie
(To:stevel)

Thanks for your comments and tips.

Interestingly, when I first opened the composer this morning, I was able to use the view mashup button successfully on the first attempt, but not subsequent attempts.


I did find that there was a popup blocker in place so I've removed that and it seems to work consistently now. I really should have been able to work that one out myself.


The direct launch also works.


And now I know where to look for logging info.


So all in all, a useful set of replies - thanks again



Top Tags