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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Publishing of AR beginners tutorial

georgeanderson
12-Amethyst

Publishing of AR beginners tutorial

I tried creating and publishing the AR experience described in the beginners tutorial. Unfortunately, it fails when I try publishing. Any advice?

7 REPLIES 7

Could you please share twx-studio log to track the issue? Also, please share the error message displayed in the browser when you publish the experience.

error message in browser = "Publish failed"

 

Trace Log:

[03/20/2018 12:28:42] debug: [twx-studio:projectSettings] write project settings My_Project
[03/20/2018 12:28:42] debug: [twx-studio:projectSettings] write project settings My_Project
[03/20/2018 12:28:42] debug: [twx-studio:projectHelper] BEGIN buildApp My_Project_1521563322333
[03/20/2018 12:28:42] debug: [twx-studio:projectHelper] write settings
[03/20/2018 12:28:42] debug: [twx-studio:projectSettings] write project settings My_Project
[03/20/2018 12:28:42] debug: [twx-studio:projectHelper] copy runtime extensions
[03/20/2018 12:28:42] debug: [twx-studio:projectSettings] write project settings My_Project
[03/20/2018 12:28:42] debug: [twx-studio:projectHelper] packageThemeSet
[03/20/2018 12:28:42] debug: [twx-studio:themeManager] generating studio-designtime-vars.scss
[03/20/2018 12:28:42] debug: [twx-studio:themeManager] generating studio-runtime-vars.scss
[03/20/2018 12:28:42] debug: [twx-studio:themeManager] processThemes
[03/20/2018 12:28:42] debug: [twx-studio:themeManager] Making theme:  twx-light , includePaths:  C:\Users\andersg\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\node_modules\ves-ar-extension\src\src-scaffold\ionic\scss
[03/20/2018 12:28:42] debug: [twx-studio:themeManager] Building twx-light-theme-designtime.css
[03/20/2018 12:28:42] debug: [twx-studio:themeManager] Making theme:  twx-dark , includePaths:  C:\Users\andersg\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\node_modules\ves-ar-extension\src\src-scaffold\ionic\scss
[03/20/2018 12:28:42] debug: [twx-studio:themeManager] Building twx-dark-theme-designtime.css
[03/20/2018 12:28:42] debug: [twx-studio:themeManager] Building twx-dark-theme.css
[03/20/2018 12:28:42] debug: [twx-studio:themeManager] Building twx-light-theme.css
[03/20/2018 12:28:43] debug: [twx-studio:themeManager] building system-widget-extensions-designtime.css
[03/20/2018 12:28:43] debug: [twx-studio:themeManager] building app-designtime.css
[03/20/2018 12:28:43] debug: [twx-studio:themeManager] building app.css
[03/20/2018 12:28:43] debug: [twx-studio:themeManager] building system-widget-extensions.css
[03/20/2018 12:28:43] debug: [twx-studio:themeManager] copying css files for selected theme twx-light
[03/20/2018 12:28:43] debug: [twx-studio:sockets] EMIT reloadCSS ynUM4qgaiGccYWN_AAAc
[03/20/2018 12:28:43] debug: [twx-studio:projectHelper] onBuild
[03/20/2018 12:28:43] info: [twx-studio:projectHelper] Building ves-ar-extension app: My Project
[03/20/2018 12:28:43] debug: [twx-studio:ar-extension:gulp-shared] clean
[03/20/2018 12:28:43] debug: [twx-studio:projectHelper] pathDir C:\Users\andersg\Documents\ThingWorxStudio\Projects\My_Project
[03/20/2018 12:28:43] debug: [twx-studio:projectHelper] scaffoldDir C:\Users\andersg\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\node_modules\ves-ar-extension\src\src-scaffold
[03/20/2018 12:28:43] debug: [twx-studio:projectHelper] copySrc
[03/20/2018 12:28:43] debug: [twx-studio:ar-extension:gulp-shared] copySrc
[03/20/2018 12:28:44] debug: [twx-studio:projectHelper] buildApp
[03/20/2018 12:28:44] debug: [twx-studio:ar-extension:gulp-shared] build
[03/20/2018 12:28:44] debug: [twx-studio:ar-extension:gulp-shared] compile view contents  Home
[03/20/2018 12:28:44] debug: [twx-studio:ar-extension:gulp-shared] Working with view named C:\Users\andersg\Documents\ThingWorxStudio\Projects\My_Project\dist\phone\app\components\Home.html which exists? [true]
[03/20/2018 12:28:44] debug: [twx-studio:projectHelper] END buildApp My_Project_1521563322333
[03/20/2018 12:28:44] debug: [twx-studio:sockets] EMIT updateProjectResource ynUM4qgaiGccYWN_AAAc
[03/20/2018 12:28:44] info: [twx-studio:projectSettings] Notify preview windows:  private-room-My_Project
[03/20/2018 12:28:44] debug: [twx-studio:sockets] EMIT reload private-room-My_Project
[03/20/2018 12:28:44] .[0mGET /api/switch .[32m200 .[0m0.202 ms - -.[0m
[03/20/2018 12:28:44] debug: [twx-studio:basic] Authenticate using: thingworxServer=https://8qhnxls7.studio-trial.thingworx.io, sslValidate=false
[03/20/2018 12:28:44] .[0mPOST /api/publish/ .[32m200 .[0m116.083 ms - 15.[0m
[03/20/2018 12:28:44] info: [twx-studio:ves-publish:1521563324886:My Project] Zipping  C:\Users\andersg\Documents\ThingWorxStudio\Projects\My_Project\dist\phone
[03/20/2018 12:28:44] debug: [twx-studio:ves-publish:1521563324886:My Project] zip progress 1 of 194 files
[03/20/2018 12:28:44] debug: [twx-studio:sockets] EMIT publishProgress all
[03/20/2018 12:28:45] debug: [twx-studio:ves-publish:1521563324886:My Project] zip progress 18 of 194 files
[03/20/2018 12:28:45] debug: [twx-studio:sockets] EMIT publishProgress all
[03/20/2018 12:28:45] debug: [twx-studio:ves-publish:1521563324886:My Project] zip progress 49 of 194 files
[03/20/2018 12:28:45] debug: [twx-studio:sockets] EMIT publishProgress all
[03/20/2018 12:28:45] debug: [twx-studio:ves-publish:1521563324886:My Project] zip progress 89 of 194 files
[03/20/2018 12:28:45] debug: [twx-studio:sockets] EMIT publishProgress all
[03/20/2018 12:28:45] debug: [twx-studio:ves-publish:1521563324886:My Project] zip progress 177 of 194 files
[03/20/2018 12:28:45] debug: [twx-studio:sockets] EMIT publishProgress all
[03/20/2018 12:28:45] debug: [twx-studio:ves-publish:1521563324886:My Project] zip progress 178 of 194 files
[03/20/2018 12:28:45] debug: [twx-studio:sockets] EMIT publishProgress all
[03/20/2018 12:28:45] info: [twx-studio:ves-publish:1521563324886:My Project] zip size 5747949 bytes (approximately 5 MB)
[03/20/2018 12:28:45] debug: [twx-studio:ves-publish:1521563324886:My Project] archiver has been finalized and the output file descriptor has closed.
[03/20/2018 12:28:45] info: [twx-studio:ves-publish:1521563324886:My Project] Starting Upload
[03/20/2018 12:28:45] debug: [twx-studio:ves-publish:1521563324886:My Project] Publish to: https://8qhnxls7.studio-trial.thingworx.io/ExperienceService/content/projects?replace=true
[03/20/2018 12:28:45] debug: [twx-studio:sockets] EMIT publishProgress all
[03/20/2018 12:28:45] debug: [twx-studio:ves-publish:1521563324886:My Project]  0 bytes
[03/20/2018 12:28:45] info: [twx-studio:ves-publish:1521563324886:My Project] zip size 5747949 byte[03/20/2018 12:28:45] error: [twx-studio:ves-publish:1521563324886:My Project] Response body 
[03/20/2018 12:28:45] error: [twx-studio:ves-publish:1521563324886:My Project] Failed to upload to the Experience Service.
ngworx.io/ExperienceService/content/projects?replace=true
e.html which exists? [true]
affold\ion[03/20/2018 12:28:45] error: [twx-studio:ves-publish:1521563324886:My Project] Failed to upload to the Experience Service.
[03/20/2018 12:28:45] error: [twx-studio:projectHelper] publishTask error for project My_Project statusCode=302, message=
[03/20/2018 12:28:45] debug: [twx-studio:sockets] EMIT publishComplete all
[03/20/2018 12:28:45] error: [twx-studio:index] unhandledRejection statusCode=302, message=
[03/20/2018 12:28:46] debug: [twx-studio:ves-publish:1521563324886:My Project] 2% 131072 bytes

Thank you for sharing the log! Could you also please confirm if you are able to validate the Experience Service URL? To review this: Open the project in Studio -> click on Info tab -> ExperienceService -> Validate. 

Yes, but only if "allow self-signed certificates" is enabled.

You should be able to validate ES URL without enabling the allow self-signed certificates option. Could you please share the error message that is displayed when you validate the Experience Service without enabling allow self-signed certificates. Also, do you observe any issue when accessing the ES URL in a new browser? To verify this, key in the Experience Service URL in a browser window: https://Your Experience Service URL/ExperienceService/

Error message in brower: Failed to authenticate experience server.

when I point my browers to the Experience Service URL, I get not found error.

Announcements

Top Tags