XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    New install some people can't login

    Scheduled Pinned Locked Moved Xen Orchestra
    1 Posts 1 Posters 421 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mike.smith
      last edited by mike.smith

      Hello, I did a fresh install to see if it would solve this issue and another but they persist. When a coworker goes to login he gets kicked right back out to the login page. below is the information shown in the console. I did some googling and found mention that it could be because of nodejs and some issues with macos Bigsur and chrome. Not sure how true that is because I am using macOS bigsur with chrome no problem and my boss is as well. However, my coworkers machine and others give the same message. Different browsers cause the same message as well.

      2021-02-26T15:23:07.268Z xo:main INFO Setting up / → /home/localtech/xen-orchestra/packages/xo-web/dist
      2021-02-26T15:23:18.812Z xo:main INFO + WebSocket connection (::ffff:10.0.57.217)
      2021-02-26T15:23:18.978Z xo:xo-server ERROR unhandled error event {
        error: RangeError: Invalid WebSocket frame: invalid opcode 7
            at Receiver.getInfo (/home/localtech/xen-orchestra/packages/xo-server/node_modules/ws/lib/receiver.js:226:14)
            at Receiver.startLoop (/home/localtech/xen-orchestra/packages/xo-server/node_modules/ws/lib/receiver.js:131:22)
            at Receiver._write (/home/localtech/xen-orchestra/packages/xo-server/node_modules/ws/lib/receiver.js:78:10)
            at writeOrBuffer (internal/streams/writable.js:358:12)
            at Receiver.Writable.write (internal/streams/writable.js:303:10)
            at Socket.socketOnData (/home/localtech/xen-orchestra/packages/xo-server/node_modules/ws/lib/websocket.js:900:35)
            at Socket.apply (events.js:315:20)
            at Socket.patchedEmit (/home/localtech/xen-orchestra/@xen-orchestra/log/src/configure.js:92:17)
            at Socket.EventEmitter.emit (domain.js:467:12)
            at addChunk (internal/streams/readable.js:309:12)
            at readableAddChunk (internal/streams/readable.js:284:9)
            at Socket.Readable.push (internal/streams/readable.js:223:10)
            at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
            at TCP.callbackTrampoline (internal/async_hooks.js:131:14) {
          [Symbol(status-code)]: 1002
        }
      }
      2021-02-26T15:23:18.980Z xo:main INFO - WebSocket connection (::ffff:10.0.57.217)
      2021-02-26T15:23:18.999Z xo:main INFO + WebSocket connection (::ffff:10.0.57.217)
      2021-02-26T15:23:19.005Z xo:xo-server ERROR unhandled error event {
        error: RangeError: Invalid WebSocket frame: invalid opcode 7
            at Receiver.getInfo (/home/localtech/xen-orchestra/packages/xo-server/node_modules/ws/lib/receiver.js:226:14)
            at Receiver.startLoop (/home/localtech/xen-orchestra/packages/xo-server/node_modules/ws/lib/receiver.js:131:22)
            at Receiver._write (/home/localtech/xen-orchestra/packages/xo-server/node_modules/ws/lib/receiver.js:78:10)
            at writeOrBuffer (internal/streams/writable.js:358:12)
            at Receiver.Writable.write (internal/streams/writable.js:303:10)
            at Socket.socketOnData (/home/localtech/xen-orchestra/packages/xo-server/node_modules/ws/lib/websocket.js:900:35)
            at Socket.apply (events.js:315:20)
            at Socket.patchedEmit (/home/localtech/xen-orchestra/@xen-orchestra/log/src/configure.js:92:17)
            at Socket.EventEmitter.emit (domain.js:467:12)
            at addChunk (internal/streams/readable.js:309:12)
            at readableAddChunk (internal/streams/readable.js:284:9)
            at Socket.Readable.push (internal/streams/readable.js:223:10)
            at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
            at TCP.callbackTrampoline (internal/async_hooks.js:131:14) {
          [Symbol(status-code)]: 1002
        }
      }
      2021-02-26T15:23:19.007Z xo:main INFO - WebSocket connection (::ffff:10.0.57.217)
      2021-02-26T15:23:30.793Z xo:main INFO + WebSocket connection (::ffff:10.0.57.221)
      2021-02-26T15:23:39.430Z xo:main INFO + WebSocket connection (::ffff:10.0.63.129)
      2021-02-26T15:23:39.437Z xo:authentification ERROR no such user 6831d1e8-be05-4cdf-9ca1-3e7a48b1499e {
        error: XoError: no such user 6831d1e8-be05-4cdf-9ca1-3e7a48b1499e
            at factory (/home/localtech/xen-orchestra/packages/xo-common/src/api-errors.js:21:32)
            at _default._getUser (/home/localtech/xen-orchestra/packages/xo-server/src/xo-mixins/subjects.js:177:13)
            at _default.getUser (/home/localtech/xen-orchestra/packages/xo-server/src/xo-mixins/subjects.js:186:19)
            at _default._authenticateUser (/home/localtech/xen-orchestra/packages/xo-server/src/xo-mixins/authentication.js:117:17)
            at _default.authenticateUser (/home/localtech/xen-orchestra/packages/xo-server/src/xo-mixins/authentication.js:152:20)
            at Object.signIn (/home/localtech/xen-orchestra/packages/xo-server/src/api/session.js:10:32)
            at Api.callApiMethod (/home/localtech/xen-orchestra/packages/xo-server/src/xo-mixins/api.js:304:20) {
          code: 1,
          data: { id: '6831d1e8-be05-4cdf-9ca1-3e7a48b1499e', type: 'user' }
        }
      }
      2021-02-26T15:23:39.474Z xo:api WARN (unknown user) | session.signIn(...) [39ms] =!> XoError: invalid credentials
      2021-02-26T15:23:39.671Z xo:main INFO - WebSocket connection (::ffff:10.0.63.129
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post