Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
To evaluate AR in our company we had setup an own Thingworxs and Experience-Service on a local mashine.
All is working so far besides loading the experience in Vuforia View.
The error ist "Error loading Experience (14)"
If I do an GET with Postman like
http://localhost:2019/ExperienceService/id-resolution/resolutions?key=urn:vuforia:vumark:34563:1
I get the desired Experience
{ "value": "http://localhost:2019/ExperienceService/content/projects/test/index.html?expId=1&vumark=34563%3A1", "resourcetype": "Experience", "title": "test", "requires": [ "AR-tracking", "w320dp" ], "designedfor": [], "project": { "version": "1.0.0" } }
The Vuforia View log says
09:02:47.288 [Debug] 002 js - INFO: recognized ThingCode: 34563:1 09:02:47.288 [Debug] 002 js - cordovaWindowsProxy.exec called with IdentityService.queryIdentityService(["urn:vuforia:vumark:34563:1","notnull",true,true]): 09:02:47.288 [Warning] 013 cpp - irsplugin.cpp : TGXEngine::IRSPlugin::queryIdentityService::<lambda_10650a0b10a78726543d404e191f93df>::operator () (0050): queryIdentityService action called: [urn:vuforia:vumark:34563:1, notnull, true, true] 09:03:11.774 [Debug] 012 cpp - vuforiamanager.cpp : TGX::VuforiaManager::resumeIfNeeded (0320): VuforiaManager not paused, skipping 09:03:11.775 [Debug] 012 cpp - vuforiamanager.cpp : TGX::VuforiaManager::handleOrientationChange (0376): Performing... 09:03:11.775 [Debug] 012 cpp - cameramanager.cpp : TGX::CameraManager::reconfigureBackground (0155): Correcting rendering background size to handle missmatch between screen and video aspect ratios. 09:03:11.775 [Debug] 012 cpp - cameramanager.cpp : TGX::CameraManager::reconfigureBackground (0171): Configure Video Background : Video (1280,720), Screen (1200,852), mSize (1514,852) 09:03:11.775 [Debug] 012 cpp - vuforiamanager.cpp : TGX::VuforiaManager::handleOrientationChange (0386): Finished 09:03:11.775 [Debug] 021 cpp - vuforiabackgrounddx.cpp : VuforiaBackgroundDX::DrawBackground (0137): Video background texture size is 1280 x 720 09:03:11.776 [Debug] 021 cpp - vuforiabackgrounddx.cpp : VuforiaBackgroundDX::initTexture (0424): Video texture setup done. 09:03:11.776 [Debug] 021 cpp - vuforiabackgrounddx.cpp : VuforiaBackgroundDX::initMesh (0501): Video background mesh initialized. 09:03:21.104 [Debug] 018 cpp - irsplugin.cpp : TGXEngine::IRSPlugin::OnError (0035): IdentityResolutionPlugin experience fetching error: EXCEPTION, statusCode: 0 09:03:21.110 [Error] 002 cs - MainNotifications.cs : logError (0126): Error loading Experience (14)
Anyone an idea?
If I use the trial Experience-Server URL, everything works fine.
For the test we are using the Vuforia-View Windows app and a webcam.
Solved! Go to Solution.
I think I found the answer myself.
localhost calls out of Windows Store apps is blocked cause they are running in a sandbox.
I found also a solution for the problem:
https://docs.microsoft.com/en-us/previous-versions/windows/apps/hh780593(v=win.10)
Hi @feil ,
Could you please provide the device details that you are using to view the experience? Are you able to access the ES URL from the device where the view app is installed? Also, please review if the ES URL(http://<Es-URL-hostname>:2019) is configured under the Vuforia View app settings.
I think this must have something to do with the configurations of the experience-service. In the logs it seems that he recognize the thinkmark bit could not fetch it
IdentityResolutionPlugin experience fetching error: EXCEPTION, statusCode: 0
Could someone help me with the configuration.json to correctly set it?
Both the thingworxs-Server and the Experience-Service are running on the same machine (http://localhost).
The publishing works fine, and if I use the trial-ES-URL in the View-App, it's also working fine.
I also see a PUT-request in the ES-console while publishing, but nothing when I try to load the experience via the view app.
Thanks.
Hello Fell,
In Vuforia Experience Service, in configuration.json file, in domain_id_resolver, what is the value used ?
Best regards,
Samuel
http://localhost:2019/ExperienceService/id-resolution/resolutions/
When I compare loading the experience from trial server and ES-Server running on localhost I see that on localhost there is no http request task created!
trial ES:
irsplugin.cpp : TGXEngine::IRSPlugin::queryIdentityService::<lambda_10650a0b10a78726543d404e191f93df>::operator () (0050): queryIdentityService action called: [urn:vuforia:vumark:34563:1, notnull, true, true] irsplugin.cpp : TGXEngine::IRSPlugin::queryIdentityService::<lambda_10650a0b10a78726543d404e191f93df>::()::<lambda_4ee79046fa1f980db1c940789983fb2d>::operator () (0084): Created Http Request Task
localhost ES:
irsplugin.cpp : TGXEngine::IRSPlugin::queryIdentityService::<lambda_10650a0b10a78726543d404e191f93df>::operator () (0050): queryIdentityService action called: [urn:vuforia:vumark:34563:1, notnull, true, true] irsplugin.cpp : TGXEngine::IRSPlugin::OnError (0035): IdentityResolutionPlugin experience fetching error: EXCEPTION, statusCode: 0
Could this be aproblem with windows 10 or Vuforia View in connection with localhost???
I think I found the answer myself.
localhost calls out of Windows Store apps is blocked cause they are running in a sandbox.
I found also a solution for the problem:
https://docs.microsoft.com/en-us/previous-versions/windows/apps/hh780593(v=win.10)