Hi,
As you can find below, I got 404 error when I called thing's services from mobile.
I installed Experience Service on-premise and not using SSL.
I can get data from thingworx core to call services of things by using below url.
(http://xxx:2019/ExperienceService/content/projects/myproject/index-desktop.html)
But when I used mobile/tablet(iOS, Android) with thingview application or chrome browser, I got 404 error in Experience Service server log.
Since I can find logs in Experience Service server, I think the connection between Experience and mobile is ok but there is something wrong between Experience Service and thingworx.
What am I missing?? configuration or anything else??
Solved! Go to Solution.
If you choose Public Access type, then we need to assign the visibility and run time permissions for the es-public access user in ThingWorx composer to that particular Thing. For example, In ThingWorx composer, open the required Thing -> click on Visibility and add es-public-access-org -> Click on Run Time and add es-public-access user.
Click on save and test the experience in ThingWorx view app. Let me know if it helps to resolve the issue.
Hi,
Have you configured the ES URL in the ThingWorx view App settings?
@ytella yes, I did. that is why I can get the logs in ES server. (404 error)
And for your information I can see the 3D model in thingview but I cannot retrieve any data from thing's service.
Could you please confirm Access type of the experience? To verify this, click on the Info section in ThingWorx Studio and review the Access field as shown below:
@ytella Thank you for reply.
Since I cannot access to the server now I cannot check it now but as I remember, it was public.
And I remembered that I configured public access to Thingworx when I installed.
Then if I select "Requires Authentication" it should be working? or if I select "public" for access type, then what should I check??
If you choose Public Access type, then we need to assign the visibility and run time permissions for the es-public access user in ThingWorx composer to that particular Thing. For example, In ThingWorx composer, open the required Thing -> click on Visibility and add es-public-access-org -> Click on Run Time and add es-public-access user.
Click on save and test the experience in ThingWorx view app. Let me know if it helps to resolve the issue.