Start a new topic
Solved

Loading world from url keep shows "Loading..."

 Hi

I am using New Studio (Beta), I export my collection,

1 - I copied files into my project, I load world from device, it's working fine

2 - I uploaded same files into my own hosting, I tried to load it by url, it keep showing 'loading...' on screen, then I tried to open same url in wikitude app, and result is the same

this is url to my hosting http://www.daivatech.com/ar/experience/index.html


1 person has this problem

Hello Reza,

Uploading files on your own server should work. Are you following exactly the steps described in the article here? Also, since you are uploading them to your server, please make sure that the files are publicly accessible when you load them.

Regarding the Wikitude app, we are currently updating it and once this is done, we will let you know so that you can test your New Studio project with it.

Thanks
Eva

 

Hi Eva

Yes, I have done exactly what is mentioned in that link, 
After hours of investigation I solved it by this way

1. Changing "isCloud" to true in project.js

2. Adding ClientToken in project.js


Then it will work in both Wikitude app and also my own application.

Would you confirm this solution with technical team?

p.s 
This is the original copy without any changes
 http://www.daivatech.com/ar/experience/index.html

and this is the modified one as I described it on above
 http://www.jarchee.ca/ar/test3/index.html

Hello Reza,

Your 'solution' what is actually doing is bypassing your server and it is loading everything on our server. This is something that will no longer be available so it will not work. May I ask which SDK version are you testing with?

Thanks
Eva

 

Hi Eva

I am using SDK 6.1.0
It seems that wikitude has updated the target manager, and my work around doesn't work any more

All in all the latest state is:
When I export project and upload it to my host, and I try to open it from "wikitude app" by project url, it keeps showing "loading..."

Please feel free to test it on your device,

 

http://www.jarchee.ca/ar/kidsbook2/index.html


I attach my device screen recording about my issue.




p.s There is a bug in Target manager (beta studio) the position and scale of videos will be reset every time you open the target in designer
Also movies are not play, they will be displayed as image

 

mp4

We just applied a fix in the target manager.

Please place your augmentations accordingly and export it again.


For "specialists":

In case you encounter any issues, feel free to apply WebView Debugging (e.g via Chrome) and enable the Logger (line 91 in tools.js) to better understand what happens under the hood.


Best regards

Hey

I am really exhausted, my issue still exists, it's the simplest scenario ever, I have recorded a video, and provided link to sample, but still I don't get answer if it's a bug on your side or I am missing something.

Steps:
1. create a collection and target in targetmanager.wikitude.com
2. export project
3. upload exported project to my site
4. open wikitude app
5. enter url in developer menu

Expected result:
- loading world and detecting target

Actual behavior
- It keep showing "Loading..."

Would you please ensure that same scenario is working on your side, if it's working on you side something is wrong with my work , other wise it's a bug

 

Hello,


we tested your project on our servers and we don't have any problems with it. You can test it by opening the URL in the SDK Examples app: http://tinyurl.com/wt-test21 (be aware that this link is only valid for 14 days). We exported your project unzipped the result and uploaded the files on our server. There must be an issue on your server.


Regards,

Christian

Christian

Thanks for response and help, yes the url you provided is working, but how can I investigate what is wrong with my own host, I already tried 2 different hosts and the result is the same (I did same as you, I downloaded the zip file, extract, copy to host), I would appreciate if you give me some hints how should I find the issue, also I can give you ftp access to the hosting files if it's needed.

Thanks

We noticed that your server returns an error when loading the tracker file because of the wtc file extension: http://www.jarchee.ca/ar/kidsbook2/augmentation-trackers/4.1/tracker.wtc


We will improve the error logs on our side to identify such errors easier in the future. Thank's for the report.

Thanks for fast response, 
I add "binary/octet-stream" mime type for wtc files in my hosting, now if I get "http://www.jarchee.ca/ar/kidsbook2/augmentation-trackers/4.1/tracker.wtc" browser doesn't show error and start downloading file,
But in wikitude app I get "Connection Error" message, 
Is "binary/octet-stream" correct mime type? (Also I tried text/html )

Also I tried "application/octet-stream" as MimeType and same error


binary/octet-stream should be the correct MimeType

Now it's "binary/octet-stream" and still I get "Connection Error" message on Wikitude app,

Login or Signup to post a comment