Closed sjkeerthi closed 9 years ago
Put the xo-server
log when you access console, and also open your browser Console (F12) to see if you get any error messages.
Error xo-server
xo:wsProxy client closed +7ms
xo:main - WebSocket connection +2s
xo:main - WebSocket connection +5s
xo:wsProxy client closed +1ms
xo:main + WebSocket connection +1m
xo:api session.signInWithToken(...) +214ms
use session.signIn() instead
xo:api session.signInWithToken(...) → object +4ms
xo:api xo.getAllObjects(...) +17ms
xo:api xo.getAllObjects(...) → object +4ms
xo:api acl.getCurrent(...) +4ms
xo:api acl.getCurrent(...) → object +4ms
xo:api host.listMissingPatches(...) +2s
xo:api Error: host.listMissingPatches(...) → TypeError: Cannot read property 'patches' of undefined +2ms
TypeError: Cannot read property 'patches' of undefined
at Xapi.listMissingPoolPatchesOnHost$ (/source/xapi.js:316:5)
at tryCatch (/opt/xo-server/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.Gp.(anonymous function) as next
at tryCatch (/opt/xo-server/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.step (/opt/xo-server/node_modules/babel-runtime/regenerator/runtime.js:116:22)
From previous event:
at JsonRpcPeer$exec (/opt/xo-server/node_modules/@julien-f/json-rpc/index.js:121:22)
From previous event:
at JsonRpcPeer._write (/opt/xo-server/node_modules/@julien-f/json-rpc/index.js:56:8)
at doWrite (/opt/xo-server/node_modules/@julien-f/json-rpc/node_modules/readable-stream/lib/_stream_writable.js:237:10)
at writeOrBuffer (/opt/xo-server/node_modules/@julien-f/json-rpc/node_modules/readable-stream/lib/_stream_writable.js:227:5)
at JsonRpcPeer.Writable.write (/opt/xo-server/node_modules/@julien-f/json-rpc/node_modules/readable-stream/lib/_stream_writable.js:194:11)
at WebSocket.
F12 Browser output
WebSocket connection to 'ws://localhost/api/updater' failed: WebSocket is closed before the connection is established
On one hand, don't take any attention on the updater
stuff, this is only for XOA (not the source install).
On the other hand, you have multiple errors in your xo-server
. Make the same operations you made for xo-web
(clean the node_modules
folder etc.)
Tried it still could see the ERROR
xo:perf blocked for 776ms +1ms
xo:api Error: host.listMissingPatches(...) → TypeError: Cannot read property 'patches' of undefined +2s
xo:perf blocked for 149ms +12ms
TypeError: Cannot read property 'patches' of undefined
at Xapi.listMissingPoolPatchesOnHost$ (/source/xapi.js:316:5)
at tryCatch (/opt/xo-server/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.Gp.(anonymous function) as next
at tryCatch (/opt/xo-server/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.step (/opt/xo-server/node_modules/babel-runtime/regenerator/runtime.js:116:22)
From previous event:
at JsonRpcPeer$exec (/opt/xo-server/node_modules/@julien-f/json-rpc/index.js:121:22)
From previous event:
at JsonRpcPeer._write (/opt/xo-server/node_modules/@julien-f/json-rpc/index.js:56:8)
at doWrite (/opt/xo-server/node_modules/@julien-f/json-rpc/node_modules/readable-stream/lib/_stream_writable.js:237:10)
at writeOrBuffer (/opt/xo-server/node_modules/@julien-f/json-rpc/node_modules/readable-stream/lib/_stream_writable.js:227:5)
at JsonRpcPeer.Writable.write (/opt/xo-server/node_modules/@julien-f/json-rpc/node_modules/readable-stream/lib/_stream_writable.js:194:11)
at WebSocket.
Upgrade your npm
version (if not already done) with npm i -g npm
.
Rebuild your dependencies (just in case) with npm rebuild
in your xo-server
folder.
Closing until further news
Still could see same issue on 4.5
Patch error is "normal" with Dundee (not in the public list of patches in Citrix website), and not related to consoles.
About the console: make sure you made the cleanup in xo-web
folder (node_modules
)
I could not able to view the console of VM and xenserver after I installed xo-web.
Tested Browser
Chrome Version 43.0.2357.81 (64-bit)
Firefox 38.
Do I missing anything during installation.