Unable Publish on Thingworx


#1

Hi, I am using a trial version of the Thingworx studio.I am trying to publish my first experience and it gives a warning “Internal Server Error”.I have attached log along with this email.

[04/30/2018 01:15:53] debug: [twx-studio:sockets] a user connected xv7GtCYn6Car3yVRAAAM
[04/30/2018 01:15:53] e[0mGET /%7B%7B::projectType.imgPath%7D%7D e[36m304 e[0m1.635 ms - -e[0m
[04/30/2018 01:15:53] e[0mGET /%7B%7B::view.imgPath%7D%7D e[36m304 e[0m1.686 ms - -e[0m
[04/30/2018 01:15:53] e[0mGET /%7B%7B$root.currentProject.thingServerQRCode%7D%7D e[36m304 e[0m1.778 ms - -e[0m
[04/30/2018 01:15:53] e[0mGET /%7B%7BviewType.imgPath%7D%7D e[36m304 e[0m2.052 ms - -e[0m
[04/30/2018 01:15:53] debug: [twx-studio:sockets] EMIT builderSettings all
[04/30/2018 01:15:53] debug: [twx-studio:sockets] EMIT updateProjects xv7GtCYn6Car3yVRAAAM
[04/30/2018 01:15:53] debug: [twx-studio:sockets] EMIT updateProjects xv7GtCYn6Car3yVRAAAM
[04/30/2018 01:15:53] debug: [twx-studio:sockets] EMIT getProjectTypes xv7GtCYn6Car3yVRAAAM
[04/30/2018 01:15:53] debug: [twx-studio:upgradeProject] upgradeIfNeeded
[04/30/2018 01:15:56] debug: [twx-studio:upgradeProject] upgradeIfNeeded aaaa
[04/30/2018 01:15:56] debug: [twx-studio:ar-extension:upgrade] No upgrade needed per version check: 8.2.2.3099 (1.24.1079) 8.2.2.3099 (1.24.1079)
[04/30/2018 01:15:56] debug: [twx-studio:upgradeProject] Project does not need an upgrade.
[04/30/2018 01:15:56] debug: [twx-studio:projectSettings] write project settings aaaa
[04/30/2018 01:15:56] e[0mGET /api/switch e[32m200 e[0m0.435 ms - -e[0m
[04/30/2018 01:15:56] debug: [twx-studio:sockets] EMIT getProjectDefinition xv7GtCYn6Car3yVRAAAM
[04/30/2018 01:15:57] debug: [twx-studio:sockets] a user connected TI0QY6hqY5n9xRxsAAAN
[04/30/2018 01:16:00] debug: [twx-studio:projectSettings] write project settings aaaa
[04/30/2018 01:16:00] debug: [twx-studio:projectSettings] write project settings aaaa
[04/30/2018 01:16:00] debug: [twx-studio:projectHelper] BEGIN buildApp aaaa_1525047360688
[04/30/2018 01:16:00] debug: [twx-studio:projectHelper] write settings
[04/30/2018 01:16:00] debug: [twx-studio:projectSettings] write project settings aaaa
[04/30/2018 01:16:00] debug: [twx-studio:projectHelper] copy runtime extensions
[04/30/2018 01:16:00] debug: [twx-studio:projectSettings] write project settings aaaa
[04/30/2018 01:16:00] debug: [twx-studio:projectHelper] packageThemeSet
[04/30/2018 01:16:00] debug: [twx-studio:themeManager] generating studio-designtime-vars.scss
[04/30/2018 01:16:00] debug: [twx-studio:themeManager] generating studio-runtime-vars.scss
[04/30/2018 01:16:00] debug: [twx-studio:themeManager] processThemes
[04/30/2018 01:16:00] debug: [twx-studio:themeManager] Making theme: twx-light , includePaths: C:\Users\Abhinesh\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\node_modules\ves-ar-extension\src\src-scaffold\ionic\scss
[04/30/2018 01:16:00] debug: [twx-studio:themeManager] Building twx-light-theme-designtime.css
[04/30/2018 01:16:00] debug: [twx-studio:themeManager] Making theme: twx-dark , includePaths: C:\Users\Abhinesh\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\node_modules\ves-ar-extension\src\src-scaffold\ionic\scss
[04/30/2018 01:16:00] debug: [twx-studio:themeManager] Building twx-dark-theme-designtime.css
[04/30/2018 01:16:01] debug: [twx-studio:themeManager] Building twx-light-theme.css
[04/30/2018 01:16:01] debug: [twx-studio:themeManager] Building twx-dark-theme.css
[04/30/2018 01:16:02] debug: [twx-studio:themeManager] building system-widget-extensions-designtime.css
[04/30/2018 01:16:02] debug: [twx-studio:themeManager] building app-designtime.css
[04/30/2018 01:16:02] debug: [twx-studio:themeManager] building app.css
[04/30/2018 01:16:02] debug: [twx-studio:themeManager] building system-widget-extensions.css
[04/30/2018 01:16:02] debug: [twx-studio:themeManager] copying css files for selected theme twx-light
[04/30/2018 01:16:02] debug: [twx-studio:sockets] EMIT reloadCSS xv7GtCYn6Car3yVRAAAM
[04/30/2018 01:16:02] debug: [twx-studio:projectHelper] onBuild
[04/30/2018 01:16:02] info: [twx-studio:projectHelper] Building ves-ar-extension app: aaaa
[04/30/2018 01:16:02] debug: [twx-studio:ar-extension:gulp-shared] clean
[04/30/2018 01:16:03] debug: [twx-studio:projectHelper] pathDir C:\Users\Abhinesh\Documents\ThingWorxStudio\Projects\aaaa
[04/30/2018 01:16:03] debug: [twx-studio:projectHelper] scaffoldDir C:\Users\Abhinesh\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\node_modules\ves-ar-extension\src\src-scaffold
[04/30/2018 01:16:03] debug: [twx-studio:projectHelper] copySrc
[04/30/2018 01:16:03] debug: [twx-studio:ar-extension:gulp-shared] copySrc
[04/30/2018 01:16:04] debug: [twx-studio:projectHelper] buildApp
[04/30/2018 01:16:04] debug: [twx-studio:ar-extension:gulp-shared] build
[04/30/2018 01:16:04] debug: [twx-studio:ar-extension:gulp-shared] compile view contents Home
[04/30/2018 01:16:04] debug: [twx-studio:ar-extension:gulp-shared] not generating the grammar files for the views since there are no app events with a voice alias
[04/30/2018 01:16:04] debug: [twx-studio:ar-extension:gulp-shared] Working with view named C:\Users\Abhinesh\Documents\ThingWorxStudio\Projects\aaaa\dist\phone\app\components\Home.html which exists? [true]
[04/30/2018 01:16:04] debug: [twx-studio:projectHelper] END buildApp aaaa_1525047360688
[04/30/2018 01:16:04] debug: [twx-studio:sockets] EMIT updateProjectResource xv7GtCYn6Car3yVRAAAM
[04/30/2018 01:16:04] info: [twx-studio:projectSettings] Notify preview windows: private-room-aaaa
[04/30/2018 01:16:04] debug: [twx-studio:sockets] EMIT reload private-room-aaaa
[04/30/2018 01:16:04] e[0mGET /api/switch e[32m200 e[0m0.493 ms - -e[0m
[04/30/2018 01:16:04] debug: [twx-studio:basic] Authenticate using: thingworxServer=https://tiajtmsk.studio-trial.thingworx.io, sslValidate=true
[04/30/2018 01:16:04] debug: [twx-studio:basic] Failed to authenticate experience server https://tiajtmsk.studio-trial.thingworx.io null Error: tunneling socket could not be established, cause=socket hang up
[04/30/2018 01:16:04] at ClientRequest.onError (C:\Users\Abhinesh\AppData\Roaming\ThingworxStudio\studio-download.vuforia.io\node_modules\tunnel-agent\index.js:177:17)
[04/30/2018 01:16:04] at Object.onceWrapper (events.js:316:30)
[04/30/2018 01:16:04] at emitOne (events.js:115:13)
[04/30/2018 01:16:04] at ClientRequest.emit (events.js:210:7)
[04/30/2018 01:16:04] at TLSSocket.socketOnEnd (_http_client.js:421:9)
[04/30/2018 01:16:04] at emitNone (events.js:110:20)
[04/30/2018 01:16:04] at TLSSocket.emit (events.js:207:7)
[04/30/2018 01:16:04] at endReadableNT (_stream_readable.js:1057:12)
[04/30/2018 01:16:04] at _combinedTickCallback (internal/process/next_tick.js:138:11)
[04/30/2018 01:16:04] at process._tickDomainCallback (internal/process/next_tick.js:218:9)
[04/30/2018 01:16:04] e[0mPOST /api/publish/ e[31m500 e[0m446.265 ms - 42e[0m
[04/30/2018 01:16:08] debug: [twx-studio:sockets] user disconnected TI0QY6hqY5n9xRxsAAAN
[04/30/2018 01:16:08] debug: [twx-studio:sockets] user disconnected xv7GtCYn6Car3yVRAAAM
Thanks a lot

Abhinesh


#2

Hello @Abhinesh161,

Unfortunately, since your question is unrelated to any of the courses currently available on IoT University we are unable to help you. Please visit the ThingWorx Community website and post your questions there: https://community.ptc.com/t5/ThingWorx-Studio/bd-p/twxstudio