<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error &amp;quot;Going away&amp;quot; when using qix.openAppSession() with OAuth2 in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2527576#M22441</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/119280"&gt;@nammaitran&lt;/a&gt;, could you please add below code for printing all the websocket events? Seems something is cutting websocket connection.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;const appSession = qix.openAppSession(appId);
const events = appSession.onWebSocketEvent((event) =&amp;gt; {
	console.log("event: ", event);
});&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 18 Aug 2025 12:24:11 GMT</pubDate>
    <dc:creator>alex_colombo</dc:creator>
    <dc:date>2025-08-18T12:24:11Z</dc:date>
    <item>
      <title>Error "Going away" when using qix.openAppSession() with OAuth2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2527261#M22433</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm trying to adapt the following example from the Qlik API documentation &lt;A href="https://qlik.dev/manage/platform-operations/private-content-bots/#210-list-all-analytics-applications-in-personal-spaces" target="_self"&gt;here&lt;/A&gt; to my use case, but I’m running into a strange error:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Error:&lt;/SPAN&gt; Failed &lt;SPAN class=""&gt;to&lt;/SPAN&gt; open app &lt;SPAN class=""&gt;393&lt;/SPAN&gt;d1c65-d852-&lt;SPAN class=""&gt;4&lt;/SPAN&gt;c30-&lt;SPAN class=""&gt;95&lt;/SPAN&gt;cc-&lt;SPAN class=""&gt;286&lt;/SPAN&gt;bc90132bf: Going away&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;It seems that the application cannot be opened with openAppSession().&lt;/P&gt;&lt;P&gt;Here’s my code:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; {auth, qix} &lt;/SPAN&gt;&lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;'@qlik/api'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;const&lt;/SPAN&gt;&lt;SPAN&gt; appId = &lt;/SPAN&gt;&lt;SPAN&gt;"XXXXXXXX"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;async&lt;/SPAN&gt;&lt;SPAN&gt; () &lt;/SPAN&gt;&lt;SPAN&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; auth.setDefaultHostConfig({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; host: &lt;/SPAN&gt;&lt;SPAN&gt;"XXXXXXXXXXXXXX.eu.qlikcloud.com"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; authType: &lt;/SPAN&gt;&lt;SPAN&gt;"oauth2"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; clientId: &lt;/SPAN&gt;&lt;SPAN&gt;"XXXXXXXXXXXXXXXXx"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; clientSecret: &lt;/SPAN&gt;&lt;SPAN&gt;"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; scope: &lt;/SPAN&gt;&lt;SPAN&gt;"user_default admin.apps admin_classic"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;const&lt;/SPAN&gt;&lt;SPAN&gt; app = &lt;/SPAN&gt;&lt;SPAN&gt;await&lt;/SPAN&gt;&lt;SPAN&gt; qix.openAppSession(appId).getDoc();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;const&lt;/SPAN&gt;&lt;SPAN&gt; sheets = &lt;/SPAN&gt;&lt;SPAN&gt;await&lt;/SPAN&gt;&lt;SPAN&gt; app.getSheetList();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;let&lt;/SPAN&gt;&lt;SPAN&gt; sheet &lt;/SPAN&gt;&lt;SPAN&gt;of&lt;/SPAN&gt;&lt;SPAN&gt; sheets) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; console.log(sheet.qMeta.title, sheet.qMeta.privileges, &lt;/SPAN&gt;&lt;SPAN&gt;`Current publish status is:&lt;/SPAN&gt;&lt;SPAN&gt;${&lt;/SPAN&gt;&lt;SPAN&gt;sheet.qMeta.published&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;`&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; process.exit();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;})();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;What I’ve checked so far:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The app exists and I can open it manually in Qlik Cloud.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The OAuth2 credentials and scopes seem correct.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I am the owner of the app.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Does openAppSession() work with OAuth2 client credentials, or is it only supported for certain authentication flows?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Could the "Going away" error indicate a websocket connection problem or missing scope?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there specific permissions needed to call getDoc() in this context?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Has anyone encountered this error before, and how did you resolve it?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 19:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2527261#M22433</guid>
      <dc:creator>nammaitran</dc:creator>
      <dc:date>2025-08-13T19:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Going away" when using qix.openAppSession() with OAuth2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2527576#M22441</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/119280"&gt;@nammaitran&lt;/a&gt;, could you please add below code for printing all the websocket events? Seems something is cutting websocket connection.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;const appSession = qix.openAppSession(appId);
const events = appSession.onWebSocketEvent((event) =&amp;gt; {
	console.log("event: ", event);
});&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 18 Aug 2025 12:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2527576#M22441</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2025-08-18T12:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Going away" when using qix.openAppSession() with OAuth2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2527606#M22442</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/145804"&gt;@alex_colombo&lt;/a&gt;, thanks a lot for your reply&lt;/P&gt;&lt;P&gt;I added the code you suggested for printing WebSocket events, and here’s what I got:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;event: { eventType: 'opened', appId: '393d1c65-d852-4c30-95cc-286bc90132bf' }

event: {
eventType: 'suspended',
appId: '393d1c65-d852-4c30-95cc-286bc90132bf',
initiator: 'network',
code: 1001,
reason: ''
}

event: {
eventType: 'closed',
appId: '393d1c65-d852-4c30-95cc-286bc90132bf',
code: 1001,
reason: '',
wasClean: true
...
}&lt;/LI-CODE&gt;&lt;P&gt;So the connection opens, then immediately gets suspended and finally closed with code 1001 (going away).&lt;/P&gt;&lt;P&gt;To be honest, I’m not entirely sure how to interpret this. From what I understand:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The WebSocket handshake is successful (opened)&lt;/LI&gt;&lt;LI&gt;Something on the network or server side causes the session to suspend (suspended, initiator: network)&lt;/LI&gt;&lt;LI&gt;The connection then closes cleanly (closed, code 1001)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any hints on how to debug this further would be really helpful.&lt;/P&gt;&lt;P&gt;Thanks again for your support!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Full log:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error: Failed to open app 393d1c65-d852-4c30-95cc-286bc90132bf: Going away.
    at file:///C:/Qlik/CLI/node_modules/@qlik/api/chunks/qix-bnv1_Kxc.js:356:36
    at async file:///C:/Qlik/CLI/get_private_sheets.mjs:19:15 {
  code: -1,
  enigmaError: true,
  original: CloseEvent {
    [Symbol(kTarget)]: &amp;lt;ref *1&amp;gt; WebSocket {
      _events: [Object: null prototype] {
        open: [Function: onOpen] {
          [Symbol(kIsForOnEventAttribute)]: true,
          [Symbol(kListener)]: [Function: bound onOpen]
        },
        close: [Function: onClose] {
          [Symbol(kIsForOnEventAttribute)]: true,
          [Symbol(kListener)]: [Function: bound onClose]
        },
        error: [Function: onError] {
          [Symbol(kIsForOnEventAttribute)]: true,
          [Symbol(kListener)]: [Function: bound onError]
        },
        message: [Function: onMessage] {
          [Symbol(kIsForOnEventAttribute)]: true,
          [Symbol(kListener)]: [Function: bound onMessage]
        }
      },
      _eventsCount: 4,
      _maxListeners: undefined,
      _binaryType: 'nodebuffer',
      _closeCode: 1001,
      _closeFrameReceived: true,
      _closeFrameSent: true,
      _closeMessage: Buffer(0) [Uint8Array] [],
      _closeTimer: Timeout {
        _idleTimeout: -1,
        _idlePrev: null,
        _idleNext: null,
        _idleStart: 1010,
        _onTimeout: null,
        _timerArgs: undefined,
        _repeat: null,
        _destroyed: true,
        [Symbol(refed)]: true,
        [Symbol(kHasPrimitive)]: false,
        [Symbol(asyncId)]: 53,
        [Symbol(triggerId)]: 32,
        [Symbol(kAsyncContextFrame)]: undefined
      },
      _errorEmitted: false,
      _extensions: {},
      _paused: false,
      _protocol: '',
      _readyState: 3,
      _receiver: Receiver {
        _events: [Object: null prototype] {},
        _writableState: WritableState {
          highWaterMark: 16384,
          length: 0,
          corked: 0,
          onwrite: [Function: bound onwrite],
          writelen: 0,
          bufferedIndex: 0,
          pendingcb: 0,
          [Symbol(kState)]: 1091466620,
          [Symbol(kBufferedValue)]: null,
          [Symbol(kWriteCbValue)]: null
        },
        _maxListeners: undefined,
        _allowSynchronousEvents: true,
        _binaryType: 'nodebuffer',
        _extensions: {},
        _isServer: false,
        _maxPayload: 104857600,
        _skipUTF8Validation: false,
        _bufferedBytes: 0,
        _buffers: [],
        _compressed: false,
        _payloadLength: 2,
        _mask: undefined,
        _fragmented: 0,
        _masked: false,
        _fin: true,
        _opcode: 8,
        _totalPayloadLength: 0,
        _messageLength: 0,
        _fragments: [],
        _errored: false,
        _loop: false,
        _state: 0,
        _eventsCount: 0,
        [Symbol(shapeMode)]: false,
        [Symbol(kCapture)]: false,
        [Symbol(websocket)]: [Circular *1]
      },
      _sender: Sender {
        _extensions: {},
        _socket: TLSSocket {
          _tlsOptions: {
            allowHalfOpen: undefined,
            pipe: false,
            secureContext: [SecureContext],
            isServer: false,
            requestCert: true,
            rejectUnauthorized: true,
            session: undefined,
            ALPNProtocols: undefined,
            requestOCSP: undefined,
            enableTrace: undefined,
            pskCallback: undefined,
            highWaterMark: undefined,
            onread: undefined,
            signal: undefined
          },
          _secureEstablished: true,
          _securePending: false,
          _newSessionPending: false,
          _controlReleased: true,
          secureConnecting: false,
          _SNICallback: null,
          servername: 'xxxxxxxxxx.eu.qlikcloud.com',
          alpnProtocol: false,
          authorized: true,
          authorizationError: null,
          encrypted: true,
          _events: [Object: null prototype] {
            close: [Function: onSocketCloseDestroySSL],
            end: [Function: onReadableStreamEnd],
            error: [Function: socketOnError],
            newListener: [Array],
            connect: undefined,
            secure: [Function: onConnectSecure],
            data: undefined,
            drain: undefined
          },
          _eventsCount: 5,
          connecting: false,
          _hadError: false,
          _parent: null,
          _host: 'xxxxxxxxxx.eu.qlikcloud.com',
          _closeAfterHandlingError: false,
          _readableState: ReadableState {
            highWaterMark: 16384,
            buffer: [],
            bufferIndex: 0,
            length: 0,
            pipes: [],
            awaitDrainWriters: null,
            [Symbol(kState)]: 60295028
          },
          _writableState: WritableState {
            highWaterMark: 16384,
            length: 0,
            corked: 0,
            onwrite: [Function: bound onwrite],
            writelen: 0,
            bufferedIndex: 0,
            pendingcb: 0,
            [Symbol(kState)]: 1091450228,
            [Symbol(kBufferedValue)]: null,
            [Symbol(kWriteCbValue)]: null
          },
          allowHalfOpen: false,
          _maxListeners: undefined,
          _sockname: null,
          _pendingData: null,
          _pendingEncoding: '',
          server: undefined,
          _server: null,
          ssl: null,
          _requestCert: true,
          _rejectUnauthorized: true,
          parser: null,
          _httpMessage: null,
          autoSelectFamilyAttemptedAddresses: [ '2a05:d018:1703:a204:4a99:1a97:d796:8111:443' ],
          timeout: 0,
          write: [Function: writeAfterFIN],
          [Symbol(alpncallback)]: null,
          [Symbol(res)]: null,
          [Symbol(verified)]: true,
          [Symbol(pendingSession)]: null,
          [Symbol(async_id_symbol)]: 32,
          [Symbol(kHandle)]: null,
          [Symbol(lastWriteQueueSize)]: 0,
          [Symbol(timeout)]: null,
          [Symbol(kBuffer)]: null,
          [Symbol(kBufferCb)]: null,
          [Symbol(kBufferGen)]: null,
          [Symbol(shapeMode)]: true,
          [Symbol(kCapture)]: false,
          [Symbol(kSetNoDelay)]: true,
          [Symbol(kSetKeepAlive)]: false,
          [Symbol(kSetKeepAliveInitialDelay)]: 0,
          [Symbol(kBytesRead)]: 784,
          [Symbol(kBytesWritten)]: 1042,
          [Symbol(connect-options)]: {
            rejectUnauthorized: true,
            ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
            checkServerIdentity: [Function: checkServerIdentity],
            minDHSize: 1024,
            allowSynchronousEvents: true,
            autoPong: true,
            protocolVersion: 13,
            maxPayload: 104857600,
            skipUTF8Validation: false,
            perMessageDeflate: true,
            followRedirects: false,
            maxRedirects: 10,
            headers: [Object],
            socketPath: undefined,
            hostname: undefined,
            protocol: undefined,
            timeout: undefined,
            method: 'GET',
            host: 'xxxxxxxxxxxx.eu.qlikcloud.com',
            path: undefined,
            port: 443,
            createConnection: [Function: tlsConnect],
            defaultPort: 443,
            _defaultAgent: [Agent],
            servername: 'xxxxxxxxxxxxx.eu.qlikcloud.com',
            singleUse: true
          },
          [Symbol(websocket)]: undefined
        },
        _firstFragment: true,
        _compress: false,
        _bufferedBytes: 0,
        _queue: [],
        _state: 0,
        onerror: [Function: senderOnError],
        [Symbol(websocket)]: [Circular *1]
      },
      _socket: TLSSocket {
        _tlsOptions: {
          allowHalfOpen: undefined,
          pipe: false,
          secureContext: SecureContext { context: SecureContext {} },
          isServer: false,
          requestCert: true,
          rejectUnauthorized: true,
          session: undefined,
          ALPNProtocols: undefined,
          requestOCSP: undefined,
          enableTrace: undefined,
          pskCallback: undefined,
          highWaterMark: undefined,
          onread: undefined,
          signal: undefined
        },
        _secureEstablished: true,
        _securePending: false,
        _newSessionPending: false,
        _controlReleased: true,
        secureConnecting: false,
        _SNICallback: null,
        servername: 'xxxxxxxxxxxxxx.eu.qlikcloud.com',
        alpnProtocol: false,
        authorized: true,
        authorizationError: null,
        encrypted: true,
        _events: [Object: null prototype] {
          close: [Function: onSocketCloseDestroySSL],
          end: [Function: onReadableStreamEnd],
          error: [Function: socketOnError],
          newListener: [ [Function: keylogNewListener], [Function: newListener] ],
          connect: undefined,
          secure: [Function: onConnectSecure],
          data: undefined,
          drain: undefined
        },
        _eventsCount: 5,
        connecting: false,
        _hadError: false,
        _parent: null,
        _host: 'xxxxxxxxxxx.eu.qlikcloud.com',
        _closeAfterHandlingError: false,
        _readableState: ReadableState {
          highWaterMark: 16384,
          buffer: [],
          bufferIndex: 0,
          length: 0,
          pipes: [],
          awaitDrainWriters: null,
          [Symbol(kState)]: 60295028
        },
        _writableState: WritableState {
          highWaterMark: 16384,
          length: 0,
          corked: 0,
          onwrite: [Function: bound onwrite],
          writelen: 0,
          bufferedIndex: 0,
          pendingcb: 0,
          [Symbol(kState)]: 1091450228,
          [Symbol(kBufferedValue)]: null,
          [Symbol(kWriteCbValue)]: null
        },
        allowHalfOpen: false,
        _maxListeners: undefined,
        _sockname: null,
        _pendingData: null,
        _pendingEncoding: '',
        server: undefined,
        _server: null,
        ssl: null,
        _requestCert: true,
        _rejectUnauthorized: true,
        parser: null,
        _httpMessage: null,
        autoSelectFamilyAttemptedAddresses: [ '2a05:d018:1703:a204:4a99:1a97:d796:8111:443' ],
        timeout: 0,
        write: [Function: writeAfterFIN],
        [Symbol(alpncallback)]: null,
        [Symbol(res)]: null,
        [Symbol(verified)]: true,
        [Symbol(pendingSession)]: null,
        [Symbol(async_id_symbol)]: 32,
        [Symbol(kHandle)]: null,
        [Symbol(lastWriteQueueSize)]: 0,
        [Symbol(timeout)]: null,
        [Symbol(kBuffer)]: null,
        [Symbol(kBufferCb)]: null,
        [Symbol(kBufferGen)]: null,
        [Symbol(shapeMode)]: true,
        [Symbol(kCapture)]: false,
        [Symbol(kSetNoDelay)]: true,
        [Symbol(kSetKeepAlive)]: false,
        [Symbol(kSetKeepAliveInitialDelay)]: 0,
        [Symbol(kBytesRead)]: 784,
        [Symbol(kBytesWritten)]: 1042,
        [Symbol(connect-options)]: {
          rejectUnauthorized: true,
          ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
          checkServerIdentity: [Function: checkServerIdentity],
          minDHSize: 1024,
          allowSynchronousEvents: true,
          autoPong: true,
          protocolVersion: 13,
          maxPayload: 104857600,
          skipUTF8Validation: false,
          perMessageDeflate: true,
          followRedirects: false,
          maxRedirects: 10,
          headers: {
            Authorization: 'Bearer &amp;lt;redacted&amp;gt;',
            'Sec-WebSocket-Version': 13,
            'Sec-WebSocket-Key': 'lEIEfofesnDrWsYJmLFIzg==',
            Connection: 'Upgrade',
            Upgrade: 'websocket',
            'Sec-WebSocket-Extensions': 'permessage-deflate; client_max_window_bits'
          },
          socketPath: undefined,
          hostname: undefined,
          protocol: undefined,
          timeout: undefined,
          method: 'GET',
          host: 'xxxxx.eu.qlikcloud.com',
          path: undefined,
          port: 443,
          createConnection: [Function: tlsConnect],
          defaultPort: 443,
          _defaultAgent: Agent {
            _events: [Object: null prototype],
            _eventsCount: 2,
            _maxListeners: undefined,
            defaultPort: 443,
            protocol: 'https:',
            options: [Object: null prototype],
            requests: [Object: null prototype] {},
            sockets: [Object: null prototype] {},
            freeSockets: [Object: null prototype] {},
            keepAliveMsecs: 1000,
            keepAlive: true,
            maxSockets: Infinity,
            maxFreeSockets: 256,
            scheduling: 'lifo',
            maxTotalSockets: Infinity,
            totalSocketCount: 0,
            maxCachedSessions: 100,
            _sessionCache: [Object],
            [Symbol(shapeMode)]: false,
            [Symbol(kCapture)]: false
          },
          servername: 'xxxxxxxxxxxx.eu.qlikcloud.com',
          singleUse: true
        },
        [Symbol(websocket)]: undefined
      },
      _bufferedAmount: 0,
      _isServer: false,
      _redirects: 0,
      _autoPong: true,
      _url: 'wss://xxxxxxxxxxx.eu.qlikcloud.com/app/393d1c65-d852-4c30-95cc-286bc90132bf?reloadUri=wss%3A%2F%2Fxxxxxxxxxxx.eu.qlikcloud.com%2Fsense%2Fapp%2F393d1c65-d852-4c30-95cc-286bc90132bf',
      _req: null,
      [Symbol(shapeMode)]: false,
      [Symbol(kCapture)]: false
    },
    [Symbol(kType)]: 'close',
    [Symbol(kCode)]: 1001,
    [Symbol(kReason)]: '',
    [Symbol(kWasClean)]: true
  }
}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 18 Aug 2025 15:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2527606#M22442</guid>
      <dc:creator>nammaitran</dc:creator>
      <dc:date>2025-08-18T15:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Going away" when using qix.openAppSession() with OAuth2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2528008#M22453</link>
      <description>&lt;P&gt;This is wierd, seems something is cutting websocket connection. Where are you running this code? It is on your local machine or deployed somewhere?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 09:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2528008#M22453</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2025-08-21T09:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Going away" when using qix.openAppSession() with OAuth2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2528015#M22456</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/145804"&gt;@alex_colombo&lt;/a&gt;&amp;nbsp;I'm running it on my local machine&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 10:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2528015#M22456</guid>
      <dc:creator>nammaitran</dc:creator>
      <dc:date>2025-08-21T10:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Going away" when using qix.openAppSession() with OAuth2</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2528016#M22457</link>
      <description>&lt;P&gt;could you please share your OAuth client configuration?&lt;/P&gt;
&lt;P&gt;Try also to remove the scope prop from&amp;nbsp;&lt;SPAN&gt;setDefaultHostConfig, or at least separate values with comma.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 10:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-quot-Going-away-quot-when-using-qix-openAppSession-with/m-p/2528016#M22457</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2025-08-21T10:15:06Z</dc:date>
    </item>
  </channel>
</rss>

