技术文章 - CS394762
Experience Service 安装失败,出现 FATAL AxiosError: connect ECONNREFUSED in ES 安装日志
已修改: 03-Aug-2023
适用于
- Vuforia Experience Service 9.8.0 to 9.14.0.0
- Thingworx installed using MED-61111-CD-092_SP14_ThingWorx-Foundation-Installer-postgresql-windows-9-2-14
- On the same machine, trying to install ES with installer MED-61226-CD-111_F000_ExperienceService-9-11-3-ab018e3-windows-installer
说明
- Experience Service 安装失败,ES 安装日志中出现以下错误(对于 Windows,位于 %userprofile%/AppData/Local/Temp/<version>-installLog.log)
[xxxx-xx-xxTxx:xx:xx] 実行中にエラーが起きました E:\ptc\studio-es/../.staging/nodejs/node twx-access-configurator.js -o configureAuth --config E:\ptc\studio-es/../.staging/configuration.json --TAC.url http://localhost:8080/Thingworx --TAC.adminUser Administrator --TAC.adminPwd "xxx" : xxxx-xx-xxTxx:xx:xx.xxxZ tac:public.access.cfg Operations length: 1
xxxx-xx-xxTxx:xx:xx.xxxZ tac:public.access.cfg Operations: configureAuth
xxxx-xx-xxTxx:xx:xx.xxxZ tac:public.access.cfg Found TWX proxy configuration by target: {
target: 'http://localhost:8080/Thingworx',
autoRewrite: true,
protocolRewrite: 'http',
secure: true,
appKey: '',
denylist: { file: 'proxyDenyList.json', redirect: '' },
changeOrigin: true
}
xxxx-xx-xxTxx:xx:xx.xxxZ tac:public.access.cfg in configureAuth
xxxx-xx-xxTxx:xx:xx.xxxZ tac:public.access.cfg in ensureUserAndAppKey, skip: false
xxxx-xx-xxTxx:xx:xx.xxxZ tac:public.access.cfg in checkUser
xxxx-xx-xxTxx:xx:xx.xxxZ tac:rest user GET request, url: http://localhost:8080/Thingworx/Users/es-authorization
xxxx-xx-xxTxx:xx:xx.xxxZ tac:public.access.cfg Fatal Error
FATAL AxiosError: connect ECONNREFUSED ::1:8080
at AxiosError.from (E:\ptc\.staging\node_modules\axios\dist\node\axios.cjs:785:14)
at RedirectableRequest.handleRequestError (E:\ptc\.staging\node_modules\axios\dist\node\axios.cjs:2733:25)
at RedirectableRequest.emit (node:events:513:28)
at eventHandlers.<computed> (E:\ptc\.staging\node_modules\follow-redirects\index.js:14:24)
at ClientRequest.emit (node:events:513:28)
at Socket.socketErrorListener (node:_http_client:502:9)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
...
cause: Error: connect ECONNREFUSED ::1:8080
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 8080
}
}
xxxx-xx-xxTxx:xx:xx.xxxZ インストール後の処理を実行中に問題が発生しました。インストールが正しく完了していない可能性があります- 通过ES机器上的浏览器,可以通过URL成功访问thingworx Composer:http://localhost:8080/Thingworx
这是文章 394762 的 PDF 版本,可能已过期。最新版本 CS394762