Artawower / orgnote

Zettelkasten environment for productive people
GNU General Public License v3.0
335 stars 3 forks source link

[Bug] correct decryption key is required #12

Open SemyonSinchenko opened 3 months ago

SemyonSinchenko commented 3 months ago

Thank you for the bug report

Bug description and steps to reproduce

I checked it three times: I'm using the same gpgPassword in both web app config and in ~/.config/orgnote/config.json.

But I'm getting an error correct decryption key is required if I try to open any non-public note, that I sync from PC via orgnote-cli.

On PC I have orgnote-cli@0.11.0 version. I tried to make npm update -g but it changes nothing.

Debug info

OrgNote: 0.19.3 Language: en-US

Screen: Screen resolution: 1920x1200 Screen color depth: 24 Device pixel ratio: 1.25

Encryption: Type: gpgPassword Password provided: true

Env: API URL: https://org-note.com/api/v1/ AUTH URL: MODE: production

Quasar info: chrome: true version: 127.0.0.0 versionNumber: 127 linux: true desktop: true webkit: true name: chrome platform: linux standalone: false

Additional context

No response

SemyonSinchenko commented 3 months ago

I have the following local config:

[                                                                                                                                                                       
    {                                                                                                                                                                        
        "name": "Main",                                                                                                                                                      
        "remoteAddress": "https://org-note.com/api/v1",                                                                                                                      
        "token": "***",                                                                                                                     
        "rootFolder": "~/Nextcloud/ORG/orgnote",                                                                                                                             
        "logPath": "~/var/logs/orgnote.log",                                                                                                                                 
        "backupCount": 2,                                                                                                                                                    
        "backupDir": "~/Nextcloud/Backup/Orgnote",                                                                                                                           
        "encrypt": "gpgPassword",                                                                                                                                            
        "gpgPassword": "***"                                                                                                                                            
    }                                                                                                                                                                        
]
Artawower commented 3 months ago

Thanks for the bug report! Yes, I see the issue caused by a failed migration in the latest release. Already started working on a fix, will be fixed in orgnote-cli and client side

Artawower commented 3 months ago

I think I fixed this in today's release (0.20.0) and also in orgnote-cli@0.11.1, I haven't tested this in production yet, will do a test this weekend. You may have to run force synchronization to get it working again

SemyonSinchenko commented 3 months ago

I'm getting this in emacs (orgnote-sync) after npm update -g:

[line 64]: LOG FILE ALREADY EXISTS ~/var/logs/orgnote.log

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^
AxiosError: Request failed with status code 404
    at settle (file:///usr/local/lib/node_modules/orgnote-cli/dist/index.js:59908:12)
    at RedirectableRequest.handleResponse (file:///usr/local/lib/node_modules/orgnote-cli/dist/index.js:61073:9)
    at RedirectableRequest.emit (node:events:530:35)
    at RedirectableRequest._processResponse (file:///usr/local/lib/node_modules/orgnote-cli/dist/index.js:26848:10)
    at RedirectableRequest._onNativeResponse (file:///usr/local/lib/node_modules/orgnote-cli/dist/index.js:26541:12)
    at Object.onceWrapper (node:events:633:26)
    at ClientRequest.emit (node:events:518:28)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:698:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
    at TLSSocket.socketOnData (node:_http_client:540:22)
    at Axios.request (file:///usr/local/lib/node_modules/orgnote-cli/dist/index.js:62352:41)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_BAD_REQUEST',
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    adapter: [ 'xhr', 'http', 'fetch' ],
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 15000,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    env: {
      FormData: [Function: FormData] {
        LINE_BREAK: '\r\n',
        DEFAULT_CONTENT_TYPE: 'application/octet-stream'
      },
      Blob: [class Blob]
    },
    validateStatus: [Function: validateStatus],
    headers: Object [AxiosHeaders] {
      Accept: 'application/json, text/plain, */*',
      'Content-Type': undefined,
      Authorization: 'Bearer ***',
      'User-Agent': 'axios/1.7.3',
      'Accept-Encoding': 'gzip, compress, deflate, br'
    },
    baseURL: 'https://org-note.com/api/v1',
    responseType: 'stream',
    method: 'get',
    url: '/media/66179fa5c36955345b961611/./static/paimon-architecture.png',
    data: undefined
  },
  request: <ref *3> ClientRequest {
    _events: [Object: null prototype] {
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      socket: [Function (anonymous)],
      timeout: [Function (anonymous)],
      finish: [Function: requestOnFinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: false,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: true,
    maxRequestsOnConnectionReached: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: false,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    strictContentLength: false,
    _contentLength: 0,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    _closed: false,
    socket: <ref *1> 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: 'org-note.com',
      alpnProtocol: false,
      authorized: true,
      authorizationError: null,
      encrypted: true,
      _events: [Object: null prototype] {
        close: [
          [Function: onSocketCloseDestroySSL],
          [Function: bound onceWrapper] {
            listener: [Function (anonymous)]
          },
          [Function: onClose],
          [Function: socketCloseListener]
        ],
        end: [ [Function: onReadableStreamEnd], [Function: socketOnEnd] ],
        error: [Function: socketErrorListener],
        newListener: [Function: keylogNewListener],
        connect: undefined,
        secure: [Function: onConnectSecure],
        session: [Function (anonymous)],
        free: [Function: onFree],
        timeout: [
          [Function: onTimeout],
          [Function: bound onceWrapper] {
            listener: [Function: emitRequestTimeout]
          },
          [Function: destroy],
          [Function: responseOnTimeout]
        ],
        agentRemove: [Function: onRemove],
        data: [Function: socketOnData],
        drain: [Function: ondrain]
      },
      _eventsCount: 11,
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'org-note.com',
      _closeAfterHandlingError: false,
      _readableState: ReadableState {
        highWaterMark: 16384,
        buffer: [],
        bufferIndex: 0,
        length: 0,
        pipes: [],
        awaitDrainWriters: null,
        [Symbol(kState)]: 194521348
      },
      _writableState: WritableState {
        highWaterMark: 16384,
        length: 0,
        corked: 0,
        onwrite: [Function: bound onwrite],
        writelen: 0,
        bufferedIndex: 0,
        pendingcb: 0,
        [Symbol(kState)]: 17563908,
        [Symbol(kBufferedValue)]: null,
        [Symbol(kWriteCbValue)]: [Function: bound onFinish]
      },
      allowHalfOpen: false,
      _maxListeners: undefined,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: undefined,
      _server: null,
      ssl: <ref *2> TLSWrap {
        _parent: TCP {
          reading: [Getter/Setter],
          onconnection: null,
          [Symbol(owner_symbol)]: [Circular *1]
        },
        _parentWrap: null,
        _secureContext: SecureContext { context: SecureContext {} },
        reading: true,
        onkeylog: [Function: onkeylog],
        onhandshakestart: {},
        onhandshakedone: [Function (anonymous)],
        onocspresponse: [Function: onocspresponse],
        onnewsession: [Function: onnewsessionclient],
        onerror: [Function: onerror],
        [Symbol(owner_symbol)]: [Circular *1],
        [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
      },
      _requestCert: true,
      _rejectUnauthorized: true,
      timeout: 15000,
      parser: HTTPParser {
        '0': null,
        '1': [Function: parserOnHeaders],
        '2': [Function: parserOnHeadersComplete],
        '3': [Function: parserOnBody],
        '4': [Function: parserOnMessageComplete],
        '5': null,
        '6': null,
        _headers: [],
        _url: '',
        socket: [Circular *1],
        incoming: IncomingMessage {
          _events: {
            close: [Array],
            error: [Array],
            data: [Function: ondata],
            end: [Array],
            readable: undefined,
            finish: [Array]
          },
          _readableState: ReadableState {
            highWaterMark: 16384,
            buffer: [],
            bufferIndex: 0,
            length: 0,
            pipes: [Array],
            awaitDrainWriters: null,
            [Symbol(kState)]: 194521356
          },
          _maxListeners: undefined,
          socket: [Circular *1],
          httpVersionMajor: 1,
          httpVersionMinor: 1,
          httpVersion: '1.1',
          complete: false,
          rawHeaders: [
            'Date',
            'Fri, 09 Aug 2024 07:03:28 GMT',
            'Content-Type',
            'text/plain; charset=utf-8',
            'Transfer-Encoding',
            'chunked',
            'Connection',
            'keep-alive',
            'Vary',
            'Origin, Accept-Encoding',
            'Access-Control-Allow-Origin',
            '*',
            'CF-Cache-Status',
            'BYPASS',
            'Report-To',
            '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=59k4jqEmhmk84gwoq60iw1qACpYk%2FQJaEhSyZ6XZAMWIXKwYeg39RcHtgKu%2BIPr93u2Xv%2FL4%2FboQ2eHZX0%2BCRd6V%2BcMeOUAb4wt07We5gOYnFSFCAH7y8300ejmJGTU%3D"}],"group":"cf-nel","max_age":604800}',
            'NEL',
            '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
            'Server',
            'cloudflare',
            'CF-RAY',
            '8b05e2f51b1e5aa7-VIE',
            'Content-Encoding',
            'br',
            'alt-svc',
            'h3=":443"; ma=86400'
          ],
          rawTrailers: [],
          joinDuplicateHeaders: undefined,
          aborted: false,
          upgrade: false,
          url: '',
          method: null,
          statusCode: 404,
          statusMessage: 'Not Found',
          client: [Circular *1],
          _consuming: true,
          _dumped: false,
          req: [Circular *3],
          _eventsCount: 5,
          responseUrl: 'https://org-note.com/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png',
          redirects: [],
          [Symbol(shapeMode)]: true,
          [Symbol(kCapture)]: false,
          [Symbol(kHeaders)]: {
            date: 'Fri, 09 Aug 2024 07:03:28 GMT',
            'content-type': 'text/plain; charset=utf-8',
            'transfer-encoding': 'chunked',
            connection: 'keep-alive',
            vary: 'Origin, Accept-Encoding',
            'access-control-allow-origin': '*',
            'cf-cache-status': 'BYPASS',
            'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=59k4jqEmhmk84gwoq60iw1qACpYk%2FQJaEhSyZ6XZAMWIXKwYeg39RcHtgKu%2BIPr93u2Xv%2FL4%2FboQ2eHZX0%2BCRd6V%2BcMeOUAb4wt07We5gOYnFSFCAH7y8300ejmJGTU%3D"}],"group":"cf-nel","max_age":604800}',
            nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
            server: 'cloudflare',
            'cf-ray': '8b05e2f51b1e5aa7-VIE',
            'alt-svc': 'h3=":443"; ma=86400'
          },
          [Symbol(kHeadersCount)]: 26,
          [Symbol(kTrailers)]: null,
          [Symbol(kTrailersCount)]: 0
        },
        outgoing: [Circular *3],
        maxHeaderPairs: 2000,
        _consumed: false,
        onIncoming: [Function: parserOnIncomingClient],
        joinDuplicateHeaders: undefined,
        [Symbol(resource_symbol)]: HTTPClientAsyncResource {
          type: 'HTTPINCOMINGMESSAGE',
          req: [Circular *3]
        }
      },
      _httpMessage: [Circular *3],
      autoSelectFamilyAttemptedAddresses: [ '104.21.88.54:443' ],
      [Symbol(alpncallback)]: null,
      [Symbol(res)]: <ref *2> TLSWrap {
        _parent: TCP {
          reading: [Getter/Setter],
          onconnection: null,
          [Symbol(owner_symbol)]: [Circular *1]
        },
        _parentWrap: null,
        _secureContext: SecureContext { context: SecureContext {} },
        reading: true,
        onkeylog: [Function: onkeylog],
        onhandshakestart: {},
        onhandshakedone: [Function (anonymous)],
        onocspresponse: [Function: onocspresponse],
        onnewsession: [Function: onnewsessionclient],
        onerror: [Function: onerror],
        [Symbol(owner_symbol)]: [Circular *1],
        [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
      },
      [Symbol(verified)]: true,
      [Symbol(pendingSession)]: null,
      [Symbol(async_id_symbol)]: 65,
      [Symbol(kHandle)]: <ref *2> TLSWrap {
        _parent: TCP {
          reading: [Getter/Setter],
          onconnection: null,
          [Symbol(owner_symbol)]: [Circular *1]
        },
        _parentWrap: null,
        _secureContext: SecureContext { context: SecureContext {} },
        reading: true,
        onkeylog: [Function: onkeylog],
        onhandshakestart: {},
        onhandshakedone: [Function (anonymous)],
        onocspresponse: [Function: onocspresponse],
        onnewsession: [Function: onnewsessionclient],
        onerror: [Function: onerror],
        [Symbol(owner_symbol)]: [Circular *1],
        [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
      },
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: <ref *4> Timeout {
        _idleTimeout: 15000,
        _idlePrev: TimersList {
          _idleNext: [Circular *4],
          _idlePrev: [Circular *4],
          expiry: 15270,
          id: -9007199254740990,
          msecs: 15000,
          priorityQueuePosition: 2
        },
        _idleNext: TimersList {
          _idleNext: [Circular *4],
          _idlePrev: [Circular *4],
          expiry: 15270,
          id: -9007199254740990,
          msecs: 15000,
          priorityQueuePosition: 2
        },
        _idleStart: 603,
        _onTimeout: [Function: bound ],
        _timerArgs: undefined,
        _repeat: null,
        _destroyed: false,
        [Symbol(refed)]: false,
        [Symbol(kHasPrimitive)]: false,
        [Symbol(asyncId)]: 70,
        [Symbol(triggerId)]: 66
      },
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(shapeMode)]: true,
      [Symbol(kCapture)]: false,
      [Symbol(kSetNoDelay)]: false,
      [Symbol(kSetKeepAlive)]: true,
      [Symbol(kSetKeepAliveInitialDelay)]: 60,
      [Symbol(kBytesRead)]: 0,
      [Symbol(kBytesWritten)]: 0,
      [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,
        maxRedirects: 21,
        maxBodyLength: Infinity,
        protocol: 'https:',
        path: null,
        method: 'POST',
        headers: [Object: null prototype] {
          Accept: 'application/json, text/plain, */*',
          'Content-Type': 'application/json',
          Authorization: 'Bearer ***',
          'User-Agent': 'axios/1.7.3',
          'Content-Length': '110',
          'Accept-Encoding': 'gzip, compress, deflate, br'
        },
        agents: { http: undefined, https: undefined },
        auth: undefined,
        family: undefined,
        beforeRedirect: [Function: dispatchBeforeRedirect],
        beforeRedirects: { proxy: [Function: beforeRedirect] },
        hostname: 'org-note.com',
        port: 443,
        agent: undefined,
        nativeProtocols: {
          'http:': {
            _connectionListener: [Function: connectionListener],
            METHODS: [Array],
            STATUS_CODES: [Object],
            Agent: [Function],
            ClientRequest: [Function: ClientRequest],
            IncomingMessage: [Function: IncomingMessage],
            OutgoingMessage: [Function: OutgoingMessage],
            Server: [Function: Server],
            ServerResponse: [Function: ServerResponse],
            createServer: [Function: createServer],
            validateHeaderName: [Function],
            validateHeaderValue: [Function],
            get: [Function: get],
            request: [Function: request],
            setMaxIdleHTTPParsers: [Function: setMaxIdleHTTPParsers],
            maxHeaderSize: [Getter],
            globalAgent: [Getter/Setter]
          },
          'https:': {
            Agent: [Function: Agent],
            globalAgent: [Agent],
            Server: [Function: Server],
            createServer: [Function: createServer],
            get: [Function: get],
            request: [Function: request]
          }
        },
        pathname: '/api/v1/notes/sync',
        _defaultAgent: Agent {
          _events: [Object: null prototype] {
            free: [Function (anonymous)],
            newListener: [Function: maybeEnableKeylog]
          },
          _eventsCount: 2,
          _maxListeners: undefined,
          defaultPort: 443,
          protocol: 'https:',
          options: [Object: null prototype] {
            keepAlive: true,
            scheduling: 'lifo',
            timeout: 5000,
            noDelay: true,
            path: null
          },
          requests: [Object: null prototype] {},
          sockets: [Object: null prototype] {
            'org-note.com:443:::::::::::::::::::::': [Array]
          },
          freeSockets: [Object: null prototype] {},
          keepAliveMsecs: 1000,
          keepAlive: true,
          maxSockets: Infinity,
          maxFreeSockets: 256,
          scheduling: 'lifo',
          maxTotalSockets: Infinity,
          totalSocketCount: 1,
          maxCachedSessions: 100,
          _sessionCache: { map: [Object], list: [Array] },
          [Symbol(shapeMode)]: false,
          [Symbol(kCapture)]: false
        },
        host: 'org-note.com',
        keepAlive: true,
        scheduling: 'lifo',
        timeout: 5000,
        noDelay: true,
        servername: 'org-note.com',
        _agentKey: 'org-note.com:443:::::::::::::::::::::',
        encoding: null,
        keepAliveInitialDelay: 1000
      }
    },
    _header: 'GET /api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'Authorization: Bearer ***' +
      'User-Agent: axios/1.7.3\r\n' +
      'Accept-Encoding: gzip, compress, deflate, br\r\n' +
      'Host: org-note.com\r\n' +
      'Connection: keep-alive\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: nop],
    agent: Agent {
      _events: [Object: null prototype] {
        free: [Function (anonymous)],
        newListener: [Function: maybeEnableKeylog]
      },
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 443,
      protocol: 'https:',
      options: [Object: null prototype] {
        keepAlive: true,
        scheduling: 'lifo',
        timeout: 5000,
        noDelay: true,
        path: null
      },
      requests: [Object: null prototype] {},
      sockets: [Object: null prototype] {
        'org-note.com:443:::::::::::::::::::::': [
          <ref *1> TLSSocket {
            _tlsOptions: [Object],
            _secureEstablished: true,
            _securePending: false,
            _newSessionPending: false,
            _controlReleased: true,
            secureConnecting: false,
            _SNICallback: null,
            servername: 'org-note.com',
            alpnProtocol: false,
            authorized: true,
            authorizationError: null,
            encrypted: true,
            _events: [Object: null prototype],
            _eventsCount: 11,
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: 'org-note.com',
            _closeAfterHandlingError: false,
            _readableState: [ReadableState],
            _writableState: [WritableState],
            allowHalfOpen: false,
            _maxListeners: undefined,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: undefined,
            _server: null,
            ssl: [TLSWrap],
            _requestCert: true,
            _rejectUnauthorized: true,
            timeout: 15000,
            parser: [HTTPParser],
            _httpMessage: [Circular *3],
            autoSelectFamilyAttemptedAddresses: [Array],
            [Symbol(alpncallback)]: null,
            [Symbol(res)]: [TLSWrap],
            [Symbol(verified)]: true,
            [Symbol(pendingSession)]: null,
            [Symbol(async_id_symbol)]: 65,
            [Symbol(kHandle)]: [TLSWrap],
            [Symbol(lastWriteQueueSize)]: 0,
            [Symbol(timeout)]: [Timeout],
            [Symbol(kBuffer)]: null,
            [Symbol(kBufferCb)]: null,
            [Symbol(kBufferGen)]: null,
            [Symbol(shapeMode)]: true,
            [Symbol(kCapture)]: false,
            [Symbol(kSetNoDelay)]: false,
            [Symbol(kSetKeepAlive)]: true,
            [Symbol(kSetKeepAliveInitialDelay)]: 60,
            [Symbol(kBytesRead)]: 0,
            [Symbol(kBytesWritten)]: 0,
            [Symbol(connect-options)]: [Object]
          }
        ]
      },
      freeSockets: [Object: null prototype] {},
      keepAliveMsecs: 1000,
      keepAlive: true,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'lifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 1,
      maxCachedSessions: 100,
      _sessionCache: {
        map: {
          'org-note.com:443:::::::::::::::::::::': Buffer(1297) [Uint8Array] [
             48, 130,   5,  13,   2,   1,   1,   2,   2,   3,   4,   4,
              2,  19,   2,   4,  32, 118, 224,  58, 239, 161, 250, 225,
            202, 236,  34, 109,  45,  73,  52,  30, 122, 228, 148, 112,
            247,  69, 166,  69,   6, 152, 146, 216, 166,  37,  27,  44,
            226,   4,  48, 176, 253, 181,  12, 248, 247,  65, 196, 109,
            191, 110, 108,  66, 107, 149,  90, 134,  48,  31, 199, 156,
            134,  84, 204,  91,  97, 141,   5,  28,  61,  81,  51, 237,
            104, 245,   4, 102, 100, 154, 241,  22,  55,  25,  95, 160,
            241,  58,  68, 161,
            ... 1197 more items
          ]
        },
        list: [ 'org-note.com:443:::::::::::::::::::::' ]
      },
      [Symbol(shapeMode)]: false,
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'GET',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    joinDuplicateHeaders: undefined,
    path: '/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png',
    _ended: false,
    res: <ref *5> IncomingMessage {
      _events: {
        close: [
          [Function (anonymous)],
          [Function: onclose],
          [Function: onclose]
        ],
        error: [
          [Function: onerror],
          [Function: onError],
          [Function: onerror]
        ],
        data: [Function: ondata],
        end: [
          [Function: responseOnEnd],
          [Function: onend],
          [Function: bound onceWrapper] { listener: [Function: unpipe] },
          [Function: bound onceWrapper] { listener: [Function: endFn] },
          [Function: onend]
        ],
        readable: undefined,
        finish: [ [Function: onfinish], [Function: onfinish] ]
      },
      _readableState: ReadableState {
        highWaterMark: 16384,
        buffer: [],
        bufferIndex: 0,
        length: 0,
        pipes: [
          BrotliDecompress {
            _writeState: [Uint32Array],
            _events: [Object],
            _readableState: [ReadableState],
            _writableState: [WritableState],
            allowHalfOpen: true,
            _maxListeners: undefined,
            _eventsCount: 6,
            bytesWritten: 0,
            _handle: [BrotliDecoder],
            _outBuffer: [Buffer [Uint8Array]],
            _outOffset: 0,
            _chunkSize: 16384,
            _defaultFlushFlag: 1,
            _finishFlushFlag: 1,
            _defaultFullFlushFlag: 1,
            _info: undefined,
            _maxOutputLength: 4294967296,
            [Symbol(shapeMode)]: true,
            [Symbol(kCapture)]: false,
            [Symbol(kCallback)]: null,
            [Symbol(kError)]: null
          }
        ],
        awaitDrainWriters: null,
        [Symbol(kState)]: 194521356
      },
      _maxListeners: undefined,
      socket: <ref *1> 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: 'org-note.com',
        alpnProtocol: false,
        authorized: true,
        authorizationError: null,
        encrypted: true,
        _events: [Object: null prototype] {
          close: [
            [Function: onSocketCloseDestroySSL],
            [Function],
            [Function: onClose],
            [Function: socketCloseListener]
          ],
          end: [ [Function: onReadableStreamEnd], [Function: socketOnEnd] ],
          error: [Function: socketErrorListener],
          newListener: [Function: keylogNewListener],
          connect: undefined,
          secure: [Function: onConnectSecure],
          session: [Function (anonymous)],
          free: [Function: onFree],
          timeout: [
            [Function: onTimeout],
            [Function],
            [Function: destroy],
            [Function: responseOnTimeout]
          ],
          agentRemove: [Function: onRemove],
          data: [Function: socketOnData],
          drain: [Function: ondrain]
        },
        _eventsCount: 11,
        connecting: false,
        _hadError: false,
        _parent: null,
        _host: 'org-note.com',
        _closeAfterHandlingError: false,
        _readableState: ReadableState {
          highWaterMark: 16384,
          buffer: [],
          bufferIndex: 0,
          length: 0,
          pipes: [],
          awaitDrainWriters: null,
          [Symbol(kState)]: 194521348
        },
        _writableState: WritableState {
          highWaterMark: 16384,
          length: 0,
          corked: 0,
          onwrite: [Function: bound onwrite],
          writelen: 0,
          bufferedIndex: 0,
          pendingcb: 0,
          [Symbol(kState)]: 17563908,
          [Symbol(kBufferedValue)]: null,
          [Symbol(kWriteCbValue)]: [Function: bound onFinish]
        },
        allowHalfOpen: false,
        _maxListeners: undefined,
        _sockname: null,
        _pendingData: null,
        _pendingEncoding: '',
        server: undefined,
        _server: null,
        ssl: <ref *2> TLSWrap {
          _parent: TCP {
            reading: [Getter/Setter],
            onconnection: null,
            [Symbol(owner_symbol)]: [Circular *1]
          },
          _parentWrap: null,
          _secureContext: SecureContext { context: SecureContext {} },
          reading: true,
          onkeylog: [Function: onkeylog],
          onhandshakestart: {},
          onhandshakedone: [Function (anonymous)],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onerror: [Function: onerror],
          [Symbol(owner_symbol)]: [Circular *1],
          [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
        },
        _requestCert: true,
        _rejectUnauthorized: true,
        timeout: 15000,
        parser: HTTPParser {
          '0': null,
          '1': [Function: parserOnHeaders],
          '2': [Function: parserOnHeadersComplete],
          '3': [Function: parserOnBody],
          '4': [Function: parserOnMessageComplete],
          '5': null,
          '6': null,
          _headers: [],
          _url: '',
          socket: [Circular *1],
          incoming: [Circular *5],
          outgoing: [Circular *3],
          maxHeaderPairs: 2000,
          _consumed: false,
          onIncoming: [Function: parserOnIncomingClient],
          joinDuplicateHeaders: undefined,
          [Symbol(resource_symbol)]: HTTPClientAsyncResource {
            type: 'HTTPINCOMINGMESSAGE',
            req: [Circular *3]
          }
        },
        _httpMessage: [Circular *3],
        autoSelectFamilyAttemptedAddresses: [ '104.21.88.54:443' ],
        [Symbol(alpncallback)]: null,
        [Symbol(res)]: <ref *2> TLSWrap {
          _parent: TCP {
            reading: [Getter/Setter],
            onconnection: null,
            [Symbol(owner_symbol)]: [Circular *1]
          },
          _parentWrap: null,
          _secureContext: SecureContext { context: SecureContext {} },
          reading: true,
          onkeylog: [Function: onkeylog],
          onhandshakestart: {},
          onhandshakedone: [Function (anonymous)],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onerror: [Function: onerror],
          [Symbol(owner_symbol)]: [Circular *1],
          [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
        },
        [Symbol(verified)]: true,
        [Symbol(pendingSession)]: null,
        [Symbol(async_id_symbol)]: 65,
        [Symbol(kHandle)]: <ref *2> TLSWrap {
          _parent: TCP {
            reading: [Getter/Setter],
            onconnection: null,
            [Symbol(owner_symbol)]: [Circular *1]
          },
          _parentWrap: null,
          _secureContext: SecureContext { context: SecureContext {} },
          reading: true,
          onkeylog: [Function: onkeylog],
          onhandshakestart: {},
          onhandshakedone: [Function (anonymous)],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onerror: [Function: onerror],
          [Symbol(owner_symbol)]: [Circular *1],
          [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
        },
        [Symbol(lastWriteQueueSize)]: 0,
        [Symbol(timeout)]: <ref *4> Timeout {
          _idleTimeout: 15000,
          _idlePrev: TimersList {
            _idleNext: [Circular *4],
            _idlePrev: [Circular *4],
            expiry: 15270,
            id: -9007199254740990,
            msecs: 15000,
            priorityQueuePosition: 2
          },
          _idleNext: TimersList {
            _idleNext: [Circular *4],
            _idlePrev: [Circular *4],
            expiry: 15270,
            id: -9007199254740990,
            msecs: 15000,
            priorityQueuePosition: 2
          },
          _idleStart: 603,
          _onTimeout: [Function: bound ],
          _timerArgs: undefined,
          _repeat: null,
          _destroyed: false,
          [Symbol(refed)]: false,
          [Symbol(kHasPrimitive)]: false,
          [Symbol(asyncId)]: 70,
          [Symbol(triggerId)]: 66
        },
        [Symbol(kBuffer)]: null,
        [Symbol(kBufferCb)]: null,
        [Symbol(kBufferGen)]: null,
        [Symbol(shapeMode)]: true,
        [Symbol(kCapture)]: false,
        [Symbol(kSetNoDelay)]: false,
        [Symbol(kSetKeepAlive)]: true,
        [Symbol(kSetKeepAliveInitialDelay)]: 60,
        [Symbol(kBytesRead)]: 0,
        [Symbol(kBytesWritten)]: 0,
        [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,
          maxRedirects: 21,
          maxBodyLength: Infinity,
          protocol: 'https:',
          path: null,
          method: 'POST',
          headers: [Object: null prototype] {
            Accept: 'application/json, text/plain, */*',
            'Content-Type': 'application/json',
            Authorization: 'Bearer ***',
            'User-Agent': 'axios/1.7.3',
            'Content-Length': '110',
            'Accept-Encoding': 'gzip, compress, deflate, br'
          },
          agents: { http: undefined, https: undefined },
          auth: undefined,
          family: undefined,
          beforeRedirect: [Function: dispatchBeforeRedirect],
          beforeRedirects: { proxy: [Function: beforeRedirect] },
          hostname: 'org-note.com',
          port: 443,
          agent: undefined,
          nativeProtocols: { 'http:': [Object], 'https:': [Object] },
          pathname: '/api/v1/notes/sync',
          _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: 1,
            maxCachedSessions: 100,
            _sessionCache: [Object],
            [Symbol(shapeMode)]: false,
            [Symbol(kCapture)]: false
          },
          host: 'org-note.com',
          keepAlive: true,
          scheduling: 'lifo',
          timeout: 5000,
          noDelay: true,
          servername: 'org-note.com',
          _agentKey: 'org-note.com:443:::::::::::::::::::::',
          encoding: null,
          keepAliveInitialDelay: 1000
        }
      },
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: false,
      rawHeaders: [
        'Date',
        'Fri, 09 Aug 2024 07:03:28 GMT',
        'Content-Type',
        'text/plain; charset=utf-8',
        'Transfer-Encoding',
        'chunked',
        'Connection',
        'keep-alive',
        'Vary',
        'Origin, Accept-Encoding',
        'Access-Control-Allow-Origin',
        '*',
        'CF-Cache-Status',
        'BYPASS',
        'Report-To',
        '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=59k4jqEmhmk84gwoq60iw1qACpYk%2FQJaEhSyZ6XZAMWIXKwYeg39RcHtgKu%2BIPr93u2Xv%2FL4%2FboQ2eHZX0%2BCRd6V%2BcMeOUAb4wt07We5gOYnFSFCAH7y8300ejmJGTU%3D"}],"group":"cf-nel","max_age":604800}',
        'NEL',
        '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
        'Server',
        'cloudflare',
        'CF-RAY',
        '8b05e2f51b1e5aa7-VIE',
        'Content-Encoding',
        'br',
        'alt-svc',
        'h3=":443"; ma=86400'
      ],
      rawTrailers: [],
      joinDuplicateHeaders: undefined,
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 404,
      statusMessage: 'Not Found',
      client: <ref *1> 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: 'org-note.com',
        alpnProtocol: false,
        authorized: true,
        authorizationError: null,
        encrypted: true,
        _events: [Object: null prototype] {
          close: [
            [Function: onSocketCloseDestroySSL],
            [Function],
            [Function: onClose],
            [Function: socketCloseListener]
          ],
          end: [ [Function: onReadableStreamEnd], [Function: socketOnEnd] ],
          error: [Function: socketErrorListener],
          newListener: [Function: keylogNewListener],
          connect: undefined,
          secure: [Function: onConnectSecure],
          session: [Function (anonymous)],
          free: [Function: onFree],
          timeout: [
            [Function: onTimeout],
            [Function],
            [Function: destroy],
            [Function: responseOnTimeout]
          ],
          agentRemove: [Function: onRemove],
          data: [Function: socketOnData],
          drain: [Function: ondrain]
        },
        _eventsCount: 11,
        connecting: false,
        _hadError: false,
        _parent: null,
        _host: 'org-note.com',
        _closeAfterHandlingError: false,
        _readableState: ReadableState {
          highWaterMark: 16384,
          buffer: [],
          bufferIndex: 0,
          length: 0,
          pipes: [],
          awaitDrainWriters: null,
          [Symbol(kState)]: 194521348
        },
        _writableState: WritableState {
          highWaterMark: 16384,
          length: 0,
          corked: 0,
          onwrite: [Function: bound onwrite],
          writelen: 0,
          bufferedIndex: 0,
          pendingcb: 0,
          [Symbol(kState)]: 17563908,
          [Symbol(kBufferedValue)]: null,
          [Symbol(kWriteCbValue)]: [Function: bound onFinish]
        },
        allowHalfOpen: false,
        _maxListeners: undefined,
        _sockname: null,
        _pendingData: null,
        _pendingEncoding: '',
        server: undefined,
        _server: null,
        ssl: <ref *2> TLSWrap {
          _parent: TCP {
            reading: [Getter/Setter],
            onconnection: null,
            [Symbol(owner_symbol)]: [Circular *1]
          },
          _parentWrap: null,
          _secureContext: SecureContext { context: SecureContext {} },
          reading: true,
          onkeylog: [Function: onkeylog],
          onhandshakestart: {},
          onhandshakedone: [Function (anonymous)],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onerror: [Function: onerror],
          [Symbol(owner_symbol)]: [Circular *1],
          [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
        },
        _requestCert: true,
        _rejectUnauthorized: true,
        timeout: 15000,
        parser: HTTPParser {
          '0': null,
          '1': [Function: parserOnHeaders],
          '2': [Function: parserOnHeadersComplete],
          '3': [Function: parserOnBody],
          '4': [Function: parserOnMessageComplete],
          '5': null,
          '6': null,
          _headers: [],
          _url: '',
          socket: [Circular *1],
          incoming: [Circular *5],
          outgoing: [Circular *3],
          maxHeaderPairs: 2000,
          _consumed: false,
          onIncoming: [Function: parserOnIncomingClient],
          joinDuplicateHeaders: undefined,
          [Symbol(resource_symbol)]: HTTPClientAsyncResource {
            type: 'HTTPINCOMINGMESSAGE',
            req: [Circular *3]
          }
        },
        _httpMessage: [Circular *3],
        autoSelectFamilyAttemptedAddresses: [ '104.21.88.54:443' ],
        [Symbol(alpncallback)]: null,
        [Symbol(res)]: <ref *2> TLSWrap {
          _parent: TCP {
            reading: [Getter/Setter],
            onconnection: null,
            [Symbol(owner_symbol)]: [Circular *1]
          },
          _parentWrap: null,
          _secureContext: SecureContext { context: SecureContext {} },
          reading: true,
          onkeylog: [Function: onkeylog],
          onhandshakestart: {},
          onhandshakedone: [Function (anonymous)],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onerror: [Function: onerror],
          [Symbol(owner_symbol)]: [Circular *1],
          [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
        },
        [Symbol(verified)]: true,
        [Symbol(pendingSession)]: null,
        [Symbol(async_id_symbol)]: 65,
        [Symbol(kHandle)]: <ref *2> TLSWrap {
          _parent: TCP {
            reading: [Getter/Setter],
            onconnection: null,
            [Symbol(owner_symbol)]: [Circular *1]
          },
          _parentWrap: null,
          _secureContext: SecureContext { context: SecureContext {} },
          reading: true,
          onkeylog: [Function: onkeylog],
          onhandshakestart: {},
          onhandshakedone: [Function (anonymous)],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onerror: [Function: onerror],
          [Symbol(owner_symbol)]: [Circular *1],
          [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
        },
        [Symbol(lastWriteQueueSize)]: 0,
        [Symbol(timeout)]: <ref *4> Timeout {
          _idleTimeout: 15000,
          _idlePrev: TimersList {
            _idleNext: [Circular *4],
            _idlePrev: [Circular *4],
            expiry: 15270,
            id: -9007199254740990,
            msecs: 15000,
            priorityQueuePosition: 2
          },
          _idleNext: TimersList {
            _idleNext: [Circular *4],
            _idlePrev: [Circular *4],
            expiry: 15270,
            id: -9007199254740990,
            msecs: 15000,
            priorityQueuePosition: 2
          },
          _idleStart: 603,
          _onTimeout: [Function: bound ],
          _timerArgs: undefined,
          _repeat: null,
          _destroyed: false,
          [Symbol(refed)]: false,
          [Symbol(kHasPrimitive)]: false,
          [Symbol(asyncId)]: 70,
          [Symbol(triggerId)]: 66
        },
        [Symbol(kBuffer)]: null,
        [Symbol(kBufferCb)]: null,
        [Symbol(kBufferGen)]: null,
        [Symbol(shapeMode)]: true,
        [Symbol(kCapture)]: false,
        [Symbol(kSetNoDelay)]: false,
        [Symbol(kSetKeepAlive)]: true,
        [Symbol(kSetKeepAliveInitialDelay)]: 60,
        [Symbol(kBytesRead)]: 0,
        [Symbol(kBytesWritten)]: 0,
        [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,
          maxRedirects: 21,
          maxBodyLength: Infinity,
          protocol: 'https:',
          path: null,
          method: 'POST',
          headers: [Object: null prototype] {
            Accept: 'application/json, text/plain, */*',
            'Content-Type': 'application/json',
            Authorization: 'Bearer ***',
            'User-Agent': 'axios/1.7.3',
            'Content-Length': '110',
            'Accept-Encoding': 'gzip, compress, deflate, br'
          },
          agents: { http: undefined, https: undefined },
          auth: undefined,
          family: undefined,
          beforeRedirect: [Function: dispatchBeforeRedirect],
          beforeRedirects: { proxy: [Function: beforeRedirect] },
          hostname: 'org-note.com',
          port: 443,
          agent: undefined,
          nativeProtocols: { 'http:': [Object], 'https:': [Object] },
          pathname: '/api/v1/notes/sync',
          _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: 1,
            maxCachedSessions: 100,
            _sessionCache: [Object],
            [Symbol(shapeMode)]: false,
            [Symbol(kCapture)]: false
          },
          host: 'org-note.com',
          keepAlive: true,
          scheduling: 'lifo',
          timeout: 5000,
          noDelay: true,
          servername: 'org-note.com',
          _agentKey: 'org-note.com:443:::::::::::::::::::::',
          encoding: null,
          keepAliveInitialDelay: 1000
        }
      },
      _consuming: true,
      _dumped: false,
      req: [Circular *3],
      _eventsCount: 5,
      responseUrl: 'https://org-note.com/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png',
      redirects: [],
      [Symbol(shapeMode)]: true,
      [Symbol(kCapture)]: false,
      [Symbol(kHeaders)]: {
        date: 'Fri, 09 Aug 2024 07:03:28 GMT',
        'content-type': 'text/plain; charset=utf-8',
        'transfer-encoding': 'chunked',
        connection: 'keep-alive',
        vary: 'Origin, Accept-Encoding',
        'access-control-allow-origin': '*',
        'cf-cache-status': 'BYPASS',
        'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=59k4jqEmhmk84gwoq60iw1qACpYk%2FQJaEhSyZ6XZAMWIXKwYeg39RcHtgKu%2BIPr93u2Xv%2FL4%2FboQ2eHZX0%2BCRd6V%2BcMeOUAb4wt07We5gOYnFSFCAH7y8300ejmJGTU%3D"}],"group":"cf-nel","max_age":604800}',
        nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
        server: 'cloudflare',
        'cf-ray': '8b05e2f51b1e5aa7-VIE',
        'alt-svc': 'h3=":443"; ma=86400'
      },
      [Symbol(kHeadersCount)]: 26,
      [Symbol(kTrailers)]: null,
      [Symbol(kTrailersCount)]: 0
    },
    aborted: false,
    timeoutCb: [Function: emitRequestTimeout],
    upgradeOrConnect: false,
    parser: <ref *6> HTTPParser {
      '0': null,
      '1': [Function: parserOnHeaders],
      '2': [Function: parserOnHeadersComplete],
      '3': [Function: parserOnBody],
      '4': [Function: parserOnMessageComplete],
      '5': null,
      '6': null,
      _headers: [],
      _url: '',
      socket: <ref *1> 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: 'org-note.com',
        alpnProtocol: false,
        authorized: true,
        authorizationError: null,
        encrypted: true,
        _events: [Object: null prototype] {
          close: [
            [Function: onSocketCloseDestroySSL],
            [Function],
            [Function: onClose],
            [Function: socketCloseListener]
          ],
          end: [ [Function: onReadableStreamEnd], [Function: socketOnEnd] ],
          error: [Function: socketErrorListener],
          newListener: [Function: keylogNewListener],
          connect: undefined,
          secure: [Function: onConnectSecure],
          session: [Function (anonymous)],
          free: [Function: onFree],
          timeout: [
            [Function: onTimeout],
            [Function],
            [Function: destroy],
            [Function: responseOnTimeout]
          ],
          agentRemove: [Function: onRemove],
          data: [Function: socketOnData],
          drain: [Function: ondrain]
        },
        _eventsCount: 11,
        connecting: false,
        _hadError: false,
        _parent: null,
        _host: 'org-note.com',
        _closeAfterHandlingError: false,
        _readableState: ReadableState {
          highWaterMark: 16384,
          buffer: [],
          bufferIndex: 0,
          length: 0,
          pipes: [],
          awaitDrainWriters: null,
          [Symbol(kState)]: 194521348
        },
        _writableState: WritableState {
          highWaterMark: 16384,
          length: 0,
          corked: 0,
          onwrite: [Function: bound onwrite],
          writelen: 0,
          bufferedIndex: 0,
          pendingcb: 0,
          [Symbol(kState)]: 17563908,
          [Symbol(kBufferedValue)]: null,
          [Symbol(kWriteCbValue)]: [Function: bound onFinish]
        },
        allowHalfOpen: false,
        _maxListeners: undefined,
        _sockname: null,
        _pendingData: null,
        _pendingEncoding: '',
        server: undefined,
        _server: null,
        ssl: <ref *2> TLSWrap {
          _parent: TCP {
            reading: [Getter/Setter],
            onconnection: null,
            [Symbol(owner_symbol)]: [Circular *1]
          },
          _parentWrap: null,
          _secureContext: SecureContext { context: SecureContext {} },
          reading: true,
          onkeylog: [Function: onkeylog],
          onhandshakestart: {},
          onhandshakedone: [Function (anonymous)],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onerror: [Function: onerror],
          [Symbol(owner_symbol)]: [Circular *1],
          [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
        },
        _requestCert: true,
        _rejectUnauthorized: true,
        timeout: 15000,
        parser: [Circular *6],
        _httpMessage: [Circular *3],
        autoSelectFamilyAttemptedAddresses: [ '104.21.88.54:443' ],
        [Symbol(alpncallback)]: null,
        [Symbol(res)]: <ref *2> TLSWrap {
          _parent: TCP {
            reading: [Getter/Setter],
            onconnection: null,
            [Symbol(owner_symbol)]: [Circular *1]
          },
          _parentWrap: null,
          _secureContext: SecureContext { context: SecureContext {} },
          reading: true,
          onkeylog: [Function: onkeylog],
          onhandshakestart: {},
          onhandshakedone: [Function (anonymous)],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onerror: [Function: onerror],
          [Symbol(owner_symbol)]: [Circular *1],
          [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
        },
        [Symbol(verified)]: true,
        [Symbol(pendingSession)]: null,
        [Symbol(async_id_symbol)]: 65,
        [Symbol(kHandle)]: <ref *2> TLSWrap {
          _parent: TCP {
            reading: [Getter/Setter],
            onconnection: null,
            [Symbol(owner_symbol)]: [Circular *1]
          },
          _parentWrap: null,
          _secureContext: SecureContext { context: SecureContext {} },
          reading: true,
          onkeylog: [Function: onkeylog],
          onhandshakestart: {},
          onhandshakedone: [Function (anonymous)],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onerror: [Function: onerror],
          [Symbol(owner_symbol)]: [Circular *1],
          [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
        },
        [Symbol(lastWriteQueueSize)]: 0,
        [Symbol(timeout)]: <ref *4> Timeout {
          _idleTimeout: 15000,
          _idlePrev: TimersList {
            _idleNext: [Circular *4],
            _idlePrev: [Circular *4],
            expiry: 15270,
            id: -9007199254740990,
            msecs: 15000,
            priorityQueuePosition: 2
          },
          _idleNext: TimersList {
            _idleNext: [Circular *4],
            _idlePrev: [Circular *4],
            expiry: 15270,
            id: -9007199254740990,
            msecs: 15000,
            priorityQueuePosition: 2
          },
          _idleStart: 603,
          _onTimeout: [Function: bound ],
          _timerArgs: undefined,
          _repeat: null,
          _destroyed: false,
          [Symbol(refed)]: false,
          [Symbol(kHasPrimitive)]: false,
          [Symbol(asyncId)]: 70,
          [Symbol(triggerId)]: 66
        },
        [Symbol(kBuffer)]: null,
        [Symbol(kBufferCb)]: null,
        [Symbol(kBufferGen)]: null,
        [Symbol(shapeMode)]: true,
        [Symbol(kCapture)]: false,
        [Symbol(kSetNoDelay)]: false,
        [Symbol(kSetKeepAlive)]: true,
        [Symbol(kSetKeepAliveInitialDelay)]: 60,
        [Symbol(kBytesRead)]: 0,
        [Symbol(kBytesWritten)]: 0,
        [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,
          maxRedirects: 21,
          maxBodyLength: Infinity,
          protocol: 'https:',
          path: null,
          method: 'POST',
          headers: [Object: null prototype] {
            Accept: 'application/json, text/plain, */*',
            'Content-Type': 'application/json',
            Authorization: 'Bearer ***',
            'User-Agent': 'axios/1.7.3',
            'Content-Length': '110',
            'Accept-Encoding': 'gzip, compress, deflate, br'
          },
          agents: { http: undefined, https: undefined },
          auth: undefined,
          family: undefined,
          beforeRedirect: [Function: dispatchBeforeRedirect],
          beforeRedirects: { proxy: [Function: beforeRedirect] },
          hostname: 'org-note.com',
          port: 443,
          agent: undefined,
          nativeProtocols: { 'http:': [Object], 'https:': [Object] },
          pathname: '/api/v1/notes/sync',
          _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: 1,
            maxCachedSessions: 100,
            _sessionCache: [Object],
            [Symbol(shapeMode)]: false,
            [Symbol(kCapture)]: false
          },
          host: 'org-note.com',
          keepAlive: true,
          scheduling: 'lifo',
          timeout: 5000,
          noDelay: true,
          servername: 'org-note.com',
          _agentKey: 'org-note.com:443:::::::::::::::::::::',
          encoding: null,
          keepAliveInitialDelay: 1000
        }
      },
      incoming: <ref *5> IncomingMessage {
        _events: {
          close: [
            [Function (anonymous)],
            [Function: onclose],
            [Function: onclose]
          ],
          error: [
            [Function: onerror],
            [Function: onError],
            [Function: onerror]
          ],
          data: [Function: ondata],
          end: [
            [Function: responseOnEnd],
            [Function: onend],
            [Function],
            [Function],
            [Function: onend]
          ],
          readable: undefined,
          finish: [ [Function: onfinish], [Function: onfinish] ]
        },
        _readableState: ReadableState {
          highWaterMark: 16384,
          buffer: [],
          bufferIndex: 0,
          length: 0,
          pipes: [ [BrotliDecompress] ],
          awaitDrainWriters: null,
          [Symbol(kState)]: 194521356
        },
        _maxListeners: undefined,
        socket: <ref *1> 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: 'org-note.com',
          alpnProtocol: false,
          authorized: true,
          authorizationError: null,
          encrypted: true,
          _events: [Object: null prototype] {
            close: [Array],
            end: [Array],
            error: [Function: socketErrorListener],
            newListener: [Function: keylogNewListener],
            connect: undefined,
            secure: [Function: onConnectSecure],
            session: [Function (anonymous)],
            free: [Function: onFree],
            timeout: [Array],
            agentRemove: [Function: onRemove],
            data: [Function: socketOnData],
            drain: [Function: ondrain]
          },
          _eventsCount: 11,
          connecting: false,
          _hadError: false,
          _parent: null,
          _host: 'org-note.com',
          _closeAfterHandlingError: false,
          _readableState: ReadableState {
            highWaterMark: 16384,
            buffer: [],
            bufferIndex: 0,
            length: 0,
            pipes: [],
            awaitDrainWriters: null,
            [Symbol(kState)]: 194521348
          },
          _writableState: WritableState {
            highWaterMark: 16384,
            length: 0,
            corked: 0,
            onwrite: [Function: bound onwrite],
            writelen: 0,
            bufferedIndex: 0,
            pendingcb: 0,
            [Symbol(kState)]: 17563908,
            [Symbol(kBufferedValue)]: null,
            [Symbol(kWriteCbValue)]: [Function: bound onFinish]
          },
          allowHalfOpen: false,
          _maxListeners: undefined,
          _sockname: null,
          _pendingData: null,
          _pendingEncoding: '',
          server: undefined,
          _server: null,
          ssl: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          _requestCert: true,
          _rejectUnauthorized: true,
          timeout: 15000,
          parser: [Circular *6],
          _httpMessage: [Circular *3],
          autoSelectFamilyAttemptedAddresses: [ '104.21.88.54:443' ],
          [Symbol(alpncallback)]: null,
          [Symbol(res)]: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          [Symbol(verified)]: true,
          [Symbol(pendingSession)]: null,
          [Symbol(async_id_symbol)]: 65,
          [Symbol(kHandle)]: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          [Symbol(lastWriteQueueSize)]: 0,
          [Symbol(timeout)]: <ref *4> Timeout {
            _idleTimeout: 15000,
            _idlePrev: [TimersList],
            _idleNext: [TimersList],
            _idleStart: 603,
            _onTimeout: [Function: bound ],
            _timerArgs: undefined,
            _repeat: null,
            _destroyed: false,
            [Symbol(refed)]: false,
            [Symbol(kHasPrimitive)]: false,
            [Symbol(asyncId)]: 70,
            [Symbol(triggerId)]: 66
          },
          [Symbol(kBuffer)]: null,
          [Symbol(kBufferCb)]: null,
          [Symbol(kBufferGen)]: null,
          [Symbol(shapeMode)]: true,
          [Symbol(kCapture)]: false,
          [Symbol(kSetNoDelay)]: false,
          [Symbol(kSetKeepAlive)]: true,
          [Symbol(kSetKeepAliveInitialDelay)]: 60,
          [Symbol(kBytesRead)]: 0,
          [Symbol(kBytesWritten)]: 0,
          [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,
            maxRedirects: 21,
            maxBodyLength: Infinity,
            protocol: 'https:',
            path: null,
            method: 'POST',
            headers: [Object: null prototype],
            agents: [Object],
            auth: undefined,
            family: undefined,
            beforeRedirect: [Function: dispatchBeforeRedirect],
            beforeRedirects: [Object],
            hostname: 'org-note.com',
            port: 443,
            agent: undefined,
            nativeProtocols: [Object],
            pathname: '/api/v1/notes/sync',
            _defaultAgent: [Agent],
            host: 'org-note.com',
            keepAlive: true,
            scheduling: 'lifo',
            timeout: 5000,
            noDelay: true,
            servername: 'org-note.com',
            _agentKey: 'org-note.com:443:::::::::::::::::::::',
            encoding: null,
            keepAliveInitialDelay: 1000
          }
        },
        httpVersionMajor: 1,
        httpVersionMinor: 1,
        httpVersion: '1.1',
        complete: false,
        rawHeaders: [
          'Date',
          'Fri, 09 Aug 2024 07:03:28 GMT',
          'Content-Type',
          'text/plain; charset=utf-8',
          'Transfer-Encoding',
          'chunked',
          'Connection',
          'keep-alive',
          'Vary',
          'Origin, Accept-Encoding',
          'Access-Control-Allow-Origin',
          '*',
          'CF-Cache-Status',
          'BYPASS',
          'Report-To',
          '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=59k4jqEmhmk84gwoq60iw1qACpYk%2FQJaEhSyZ6XZAMWIXKwYeg39RcHtgKu%2BIPr93u2Xv%2FL4%2FboQ2eHZX0%2BCRd6V%2BcMeOUAb4wt07We5gOYnFSFCAH7y8300ejmJGTU%3D"}],"group":"cf-nel","max_age":604800}',
          'NEL',
          '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
          'Server',
          'cloudflare',
          'CF-RAY',
          '8b05e2f51b1e5aa7-VIE',
          'Content-Encoding',
          'br',
          'alt-svc',
          'h3=":443"; ma=86400'
        ],
        rawTrailers: [],
        joinDuplicateHeaders: undefined,
        aborted: false,
        upgrade: false,
        url: '',
        method: null,
        statusCode: 404,
        statusMessage: 'Not Found',
        client: <ref *1> 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: 'org-note.com',
          alpnProtocol: false,
          authorized: true,
          authorizationError: null,
          encrypted: true,
          _events: [Object: null prototype] {
            close: [Array],
            end: [Array],
            error: [Function: socketErrorListener],
            newListener: [Function: keylogNewListener],
            connect: undefined,
            secure: [Function: onConnectSecure],
            session: [Function (anonymous)],
            free: [Function: onFree],
            timeout: [Array],
            agentRemove: [Function: onRemove],
            data: [Function: socketOnData],
            drain: [Function: ondrain]
          },
          _eventsCount: 11,
          connecting: false,
          _hadError: false,
          _parent: null,
          _host: 'org-note.com',
          _closeAfterHandlingError: false,
          _readableState: ReadableState {
            highWaterMark: 16384,
            buffer: [],
            bufferIndex: 0,
            length: 0,
            pipes: [],
            awaitDrainWriters: null,
            [Symbol(kState)]: 194521348
          },
          _writableState: WritableState {
            highWaterMark: 16384,
            length: 0,
            corked: 0,
            onwrite: [Function: bound onwrite],
            writelen: 0,
            bufferedIndex: 0,
            pendingcb: 0,
            [Symbol(kState)]: 17563908,
            [Symbol(kBufferedValue)]: null,
            [Symbol(kWriteCbValue)]: [Function: bound onFinish]
          },
          allowHalfOpen: false,
          _maxListeners: undefined,
          _sockname: null,
          _pendingData: null,
          _pendingEncoding: '',
          server: undefined,
          _server: null,
          ssl: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          _requestCert: true,
          _rejectUnauthorized: true,
          timeout: 15000,
          parser: [Circular *6],
          _httpMessage: [Circular *3],
          autoSelectFamilyAttemptedAddresses: [ '104.21.88.54:443' ],
          [Symbol(alpncallback)]: null,
          [Symbol(res)]: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          [Symbol(verified)]: true,
          [Symbol(pendingSession)]: null,
          [Symbol(async_id_symbol)]: 65,
          [Symbol(kHandle)]: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          [Symbol(lastWriteQueueSize)]: 0,
          [Symbol(timeout)]: <ref *4> Timeout {
            _idleTimeout: 15000,
            _idlePrev: [TimersList],
            _idleNext: [TimersList],
            _idleStart: 603,
            _onTimeout: [Function: bound ],
            _timerArgs: undefined,
            _repeat: null,
            _destroyed: false,
            [Symbol(refed)]: false,
            [Symbol(kHasPrimitive)]: false,
            [Symbol(asyncId)]: 70,
            [Symbol(triggerId)]: 66
          },
          [Symbol(kBuffer)]: null,
          [Symbol(kBufferCb)]: null,
          [Symbol(kBufferGen)]: null,
          [Symbol(shapeMode)]: true,
          [Symbol(kCapture)]: false,
          [Symbol(kSetNoDelay)]: false,
          [Symbol(kSetKeepAlive)]: true,
          [Symbol(kSetKeepAliveInitialDelay)]: 60,
          [Symbol(kBytesRead)]: 0,
          [Symbol(kBytesWritten)]: 0,
          [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,
            maxRedirects: 21,
            maxBodyLength: Infinity,
            protocol: 'https:',
            path: null,
            method: 'POST',
            headers: [Object: null prototype],
            agents: [Object],
            auth: undefined,
            family: undefined,
            beforeRedirect: [Function: dispatchBeforeRedirect],
            beforeRedirects: [Object],
            hostname: 'org-note.com',
            port: 443,
            agent: undefined,
            nativeProtocols: [Object],
            pathname: '/api/v1/notes/sync',
            _defaultAgent: [Agent],
            host: 'org-note.com',
            keepAlive: true,
            scheduling: 'lifo',
            timeout: 5000,
            noDelay: true,
            servername: 'org-note.com',
            _agentKey: 'org-note.com:443:::::::::::::::::::::',
            encoding: null,
            keepAliveInitialDelay: 1000
          }
        },
        _consuming: true,
        _dumped: false,
        req: [Circular *3],
        _eventsCount: 5,
        responseUrl: 'https://org-note.com/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png',
        redirects: [],
        [Symbol(shapeMode)]: true,
        [Symbol(kCapture)]: false,
        [Symbol(kHeaders)]: {
          date: 'Fri, 09 Aug 2024 07:03:28 GMT',
          'content-type': 'text/plain; charset=utf-8',
          'transfer-encoding': 'chunked',
          connection: 'keep-alive',
          vary: 'Origin, Accept-Encoding',
          'access-control-allow-origin': '*',
          'cf-cache-status': 'BYPASS',
          'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=59k4jqEmhmk84gwoq60iw1qACpYk%2FQJaEhSyZ6XZAMWIXKwYeg39RcHtgKu%2BIPr93u2Xv%2FL4%2FboQ2eHZX0%2BCRd6V%2BcMeOUAb4wt07We5gOYnFSFCAH7y8300ejmJGTU%3D"}],"group":"cf-nel","max_age":604800}',
          nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
          server: 'cloudflare',
          'cf-ray': '8b05e2f51b1e5aa7-VIE',
          'alt-svc': 'h3=":443"; ma=86400'
        },
        [Symbol(kHeadersCount)]: 26,
        [Symbol(kTrailers)]: null,
        [Symbol(kTrailersCount)]: 0
      },
      outgoing: [Circular *3],
      maxHeaderPairs: 2000,
      _consumed: false,
      onIncoming: [Function: parserOnIncomingClient],
      joinDuplicateHeaders: undefined,
      [Symbol(resource_symbol)]: HTTPClientAsyncResource {
        type: 'HTTPINCOMINGMESSAGE',
        req: [Circular *3]
      }
    },
    maxHeadersCount: null,
    reusedSocket: true,
    host: 'org-note.com',
    protocol: 'https:',
    _redirectable: Writable {
      _events: {
        close: undefined,
        error: [Function: handleRequestError],
        prefinish: undefined,
        finish: undefined,
        drain: undefined,
        response: [Function: handleResponse],
        socket: [
          [Function: handleRequestSocket],
          [Function: destroyOnTimeout]
        ],
        timeout: undefined,
        abort: undefined
      },
      _writableState: WritableState {
        highWaterMark: 16384,
        length: 0,
        corked: 0,
        onwrite: [Function: bound onwrite],
        writelen: 0,
        bufferedIndex: 0,
        pendingcb: 0,
        [Symbol(kState)]: 17580812,
        [Symbol(kBufferedValue)]: null
      },
      _maxListeners: undefined,
      _options: {
        maxRedirects: 21,
        maxBodyLength: Infinity,
        protocol: 'https:',
        path: '/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png',
        method: 'GET',
        headers: [Object: null prototype] {
          Accept: 'application/json, text/plain, */*',
          Authorization: 'Bearer ***',
          'User-Agent': 'axios/1.7.3',
          'Accept-Encoding': 'gzip, compress, deflate, br'
        },
        agents: { http: undefined, https: undefined },
        auth: undefined,
        family: undefined,
        beforeRedirect: [Function: dispatchBeforeRedirect],
        beforeRedirects: { proxy: [Function: beforeRedirect] },
        hostname: 'org-note.com',
        port: '',
        agent: undefined,
        nativeProtocols: {
          'http:': {
            _connectionListener: [Function: connectionListener],
            METHODS: [Array],
            STATUS_CODES: [Object],
            Agent: [Function],
            ClientRequest: [Function: ClientRequest],
            IncomingMessage: [Function: IncomingMessage],
            OutgoingMessage: [Function: OutgoingMessage],
            Server: [Function: Server],
            ServerResponse: [Function: ServerResponse],
            createServer: [Function: createServer],
            validateHeaderName: [Function],
            validateHeaderValue: [Function],
            get: [Function: get],
            request: [Function: request],
            setMaxIdleHTTPParsers: [Function: setMaxIdleHTTPParsers],
            maxHeaderSize: [Getter],
            globalAgent: [Getter/Setter]
          },
          'https:': {
            Agent: [Function: Agent],
            globalAgent: [Agent],
            Server: [Function: Server],
            createServer: [Function: createServer],
            get: [Function: get],
            request: [Function: request]
          }
        },
        pathname: '/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png'
      },
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 0,
      _requestBodyBuffers: [],
      _eventsCount: 3,
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *3],
      _currentUrl: 'https://org-note.com/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png',
      _timeout: null,
      [Symbol(shapeMode)]: true,
      [Symbol(kCapture)]: false
    },
    [Symbol(shapeMode)]: false,
    [Symbol(kCapture)]: false,
    [Symbol(kBytesWritten)]: 0,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [ 'Accept', 'application/json, text/plain, */*' ],
      authorization: [
        'Authorization',
        'Bearer ***'
      ],
      'user-agent': [ 'User-Agent', 'axios/1.7.3' ],
      'accept-encoding': [ 'Accept-Encoding', 'gzip, compress, deflate, br' ],
      host: [ 'Host', 'org-note.com' ]
    },
    [Symbol(errored)]: null,
    [Symbol(kHighWaterMark)]: 16384,
    [Symbol(kRejectNonStandardBodyWrites)]: false,
    [Symbol(kUniqueHeaders)]: null
  },
  response: {
    status: 404,
    statusText: 'Not Found',
    headers: Object [AxiosHeaders] {
      date: 'Fri, 09 Aug 2024 07:03:28 GMT',
      'content-type': 'text/plain; charset=utf-8',
      'transfer-encoding': 'chunked',
      connection: 'keep-alive',
      vary: 'Origin, Accept-Encoding',
      'access-control-allow-origin': '*',
      'cf-cache-status': 'BYPASS',
      'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=59k4jqEmhmk84gwoq60iw1qACpYk%2FQJaEhSyZ6XZAMWIXKwYeg39RcHtgKu%2BIPr93u2Xv%2FL4%2FboQ2eHZX0%2BCRd6V%2BcMeOUAb4wt07We5gOYnFSFCAH7y8300ejmJGTU%3D"}],"group":"cf-nel","max_age":604800}',
      nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
      server: 'cloudflare',
      'cf-ray': '8b05e2f51b1e5aa7-VIE',
      'alt-svc': 'h3=":443"; ma=86400'
    },
    config: {
      transitional: {
        silentJSONParsing: true,
        forcedJSONParsing: true,
        clarifyTimeoutError: false
      },
      adapter: [ 'xhr', 'http', 'fetch' ],
      transformRequest: [ [Function: transformRequest] ],
      transformResponse: [ [Function: transformResponse] ],
      timeout: 15000,
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      env: {
        FormData: [Function: FormData] {
          LINE_BREAK: '\r\n',
          DEFAULT_CONTENT_TYPE: 'application/octet-stream'
        },
        Blob: [class Blob]
      },
      validateStatus: [Function: validateStatus],
      headers: Object [AxiosHeaders] {
        Accept: 'application/json, text/plain, */*',
        'Content-Type': undefined,
        Authorization: 'Bearer ***',
        'User-Agent': 'axios/1.7.3',
        'Accept-Encoding': 'gzip, compress, deflate, br'
      },
      baseURL: 'https://org-note.com/api/v1',
      responseType: 'stream',
      method: 'get',
      url: '/media/66179fa5c36955345b961611/./static/paimon-architecture.png',
      data: undefined
    },
    request: <ref *3> ClientRequest {
      _events: [Object: null prototype] {
        abort: [Function (anonymous)],
        aborted: [Function (anonymous)],
        connect: [Function (anonymous)],
        error: [Function (anonymous)],
        socket: [Function (anonymous)],
        timeout: [Function (anonymous)],
        finish: [Function: requestOnFinish]
      },
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: true,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      strictContentLength: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: false,
      socket: <ref *1> 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: 'org-note.com',
        alpnProtocol: false,
        authorized: true,
        authorizationError: null,
        encrypted: true,
        _events: [Object: null prototype] {
          close: [
            [Function: onSocketCloseDestroySSL],
            [Function],
            [Function: onClose],
            [Function: socketCloseListener]
          ],
          end: [ [Function: onReadableStreamEnd], [Function: socketOnEnd] ],
          error: [Function: socketErrorListener],
          newListener: [Function: keylogNewListener],
          connect: undefined,
          secure: [Function: onConnectSecure],
          session: [Function (anonymous)],
          free: [Function: onFree],
          timeout: [
            [Function: onTimeout],
            [Function],
            [Function: destroy],
            [Function: responseOnTimeout]
          ],
          agentRemove: [Function: onRemove],
          data: [Function: socketOnData],
          drain: [Function: ondrain]
        },
        _eventsCount: 11,
        connecting: false,
        _hadError: false,
        _parent: null,
        _host: 'org-note.com',
        _closeAfterHandlingError: false,
        _readableState: ReadableState {
          highWaterMark: 16384,
          buffer: [],
          bufferIndex: 0,
          length: 0,
          pipes: [],
          awaitDrainWriters: null,
          [Symbol(kState)]: 194521348
        },
        _writableState: WritableState {
          highWaterMark: 16384,
          length: 0,
          corked: 0,
          onwrite: [Function: bound onwrite],
          writelen: 0,
          bufferedIndex: 0,
          pendingcb: 0,
          [Symbol(kState)]: 17563908,
          [Symbol(kBufferedValue)]: null,
          [Symbol(kWriteCbValue)]: [Function: bound onFinish]
        },
        allowHalfOpen: false,
        _maxListeners: undefined,
        _sockname: null,
        _pendingData: null,
        _pendingEncoding: '',
        server: undefined,
        _server: null,
        ssl: <ref *2> TLSWrap {
          _parent: TCP {
            reading: [Getter/Setter],
            onconnection: null,
            [Symbol(owner_symbol)]: [Circular *1]
          },
          _parentWrap: null,
          _secureContext: SecureContext { context: SecureContext {} },
          reading: true,
          onkeylog: [Function: onkeylog],
          onhandshakestart: {},
          onhandshakedone: [Function (anonymous)],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onerror: [Function: onerror],
          [Symbol(owner_symbol)]: [Circular *1],
          [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
        },
        _requestCert: true,
        _rejectUnauthorized: true,
        timeout: 15000,
        parser: <ref *6> HTTPParser {
          '0': null,
          '1': [Function: parserOnHeaders],
          '2': [Function: parserOnHeadersComplete],
          '3': [Function: parserOnBody],
          '4': [Function: parserOnMessageComplete],
          '5': null,
          '6': null,
          _headers: [],
          _url: '',
          socket: [Circular *1],
          incoming: <ref *5> IncomingMessage {
            _events: [Object],
            _readableState: [ReadableState],
            _maxListeners: undefined,
            socket: [Circular *1],
            httpVersionMajor: 1,
            httpVersionMinor: 1,
            httpVersion: '1.1',
            complete: false,
            rawHeaders: [Array],
            rawTrailers: [],
            joinDuplicateHeaders: undefined,
            aborted: false,
            upgrade: false,
            url: '',
            method: null,
            statusCode: 404,
            statusMessage: 'Not Found',
            client: [Circular *1],
            _consuming: true,
            _dumped: false,
            req: [Circular *3],
            _eventsCount: 5,
            responseUrl: 'https://org-note.com/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png',
            redirects: [],
            [Symbol(shapeMode)]: true,
            [Symbol(kCapture)]: false,
            [Symbol(kHeaders)]: [Object],
            [Symbol(kHeadersCount)]: 26,
            [Symbol(kTrailers)]: null,
            [Symbol(kTrailersCount)]: 0
          },
          outgoing: [Circular *3],
          maxHeaderPairs: 2000,
          _consumed: false,
          onIncoming: [Function: parserOnIncomingClient],
          joinDuplicateHeaders: undefined,
          [Symbol(resource_symbol)]: HTTPClientAsyncResource {
            type: 'HTTPINCOMINGMESSAGE',
            req: [Circular *3]
          }
        },
        _httpMessage: [Circular *3],
        autoSelectFamilyAttemptedAddresses: [ '104.21.88.54:443' ],
        [Symbol(alpncallback)]: null,
        [Symbol(res)]: <ref *2> TLSWrap {
          _parent: TCP {
            reading: [Getter/Setter],
            onconnection: null,
            [Symbol(owner_symbol)]: [Circular *1]
          },
          _parentWrap: null,
          _secureContext: SecureContext { context: SecureContext {} },
          reading: true,
          onkeylog: [Function: onkeylog],
          onhandshakestart: {},
          onhandshakedone: [Function (anonymous)],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onerror: [Function: onerror],
          [Symbol(owner_symbol)]: [Circular *1],
          [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
        },
        [Symbol(verified)]: true,
        [Symbol(pendingSession)]: null,
        [Symbol(async_id_symbol)]: 65,
        [Symbol(kHandle)]: <ref *2> TLSWrap {
          _parent: TCP {
            reading: [Getter/Setter],
            onconnection: null,
            [Symbol(owner_symbol)]: [Circular *1]
          },
          _parentWrap: null,
          _secureContext: SecureContext { context: SecureContext {} },
          reading: true,
          onkeylog: [Function: onkeylog],
          onhandshakestart: {},
          onhandshakedone: [Function (anonymous)],
          onocspresponse: [Function: onocspresponse],
          onnewsession: [Function: onnewsessionclient],
          onerror: [Function: onerror],
          [Symbol(owner_symbol)]: [Circular *1],
          [Symbol(resource_symbol)]: ReusedHandle { type: 57, handle: [Circular *2] }
        },
        [Symbol(lastWriteQueueSize)]: 0,
        [Symbol(timeout)]: <ref *4> Timeout {
          _idleTimeout: 15000,
          _idlePrev: TimersList {
            _idleNext: [Circular *4],
            _idlePrev: [Circular *4],
            expiry: 15270,
            id: -9007199254740990,
            msecs: 15000,
            priorityQueuePosition: 2
          },
          _idleNext: TimersList {
            _idleNext: [Circular *4],
            _idlePrev: [Circular *4],
            expiry: 15270,
            id: -9007199254740990,
            msecs: 15000,
            priorityQueuePosition: 2
          },
          _idleStart: 603,
          _onTimeout: [Function: bound ],
          _timerArgs: undefined,
          _repeat: null,
          _destroyed: false,
          [Symbol(refed)]: false,
          [Symbol(kHasPrimitive)]: false,
          [Symbol(asyncId)]: 70,
          [Symbol(triggerId)]: 66
        },
        [Symbol(kBuffer)]: null,
        [Symbol(kBufferCb)]: null,
        [Symbol(kBufferGen)]: null,
        [Symbol(shapeMode)]: true,
        [Symbol(kCapture)]: false,
        [Symbol(kSetNoDelay)]: false,
        [Symbol(kSetKeepAlive)]: true,
        [Symbol(kSetKeepAliveInitialDelay)]: 60,
        [Symbol(kBytesRead)]: 0,
        [Symbol(kBytesWritten)]: 0,
        [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,
          maxRedirects: 21,
          maxBodyLength: Infinity,
          protocol: 'https:',
          path: null,
          method: 'POST',
          headers: [Object: null prototype] {
            Accept: 'application/json, text/plain, */*',
            'Content-Type': 'application/json',
            Authorization: 'Bearer ***',
            'User-Agent': 'axios/1.7.3',
            'Content-Length': '110',
            'Accept-Encoding': 'gzip, compress, deflate, br'
          },
          agents: { http: undefined, https: undefined },
          auth: undefined,
          family: undefined,
          beforeRedirect: [Function: dispatchBeforeRedirect],
          beforeRedirects: { proxy: [Function: beforeRedirect] },
          hostname: 'org-note.com',
          port: 443,
          agent: undefined,
          nativeProtocols: { 'http:': [Object], 'https:': [Object] },
          pathname: '/api/v1/notes/sync',
          _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: 1,
            maxCachedSessions: 100,
            _sessionCache: [Object],
            [Symbol(shapeMode)]: false,
            [Symbol(kCapture)]: false
          },
          host: 'org-note.com',
          keepAlive: true,
          scheduling: 'lifo',
          timeout: 5000,
          noDelay: true,
          servername: 'org-note.com',
          _agentKey: 'org-note.com:443:::::::::::::::::::::',
          encoding: null,
          keepAliveInitialDelay: 1000
        }
      },
      _header: 'GET /api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'Authorization: Bearer ***' +
        'User-Agent: axios/1.7.3\r\n' +
        'Accept-Encoding: gzip, compress, deflate, br\r\n' +
        'Host: org-note.com\r\n' +
        'Connection: keep-alive\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: Agent {
        _events: [Object: null prototype] {
          free: [Function (anonymous)],
          newListener: [Function: maybeEnableKeylog]
        },
        _eventsCount: 2,
        _maxListeners: undefined,
        defaultPort: 443,
        protocol: 'https:',
        options: [Object: null prototype] {
          keepAlive: true,
          scheduling: 'lifo',
          timeout: 5000,
          noDelay: true,
          path: null
        },
        requests: [Object: null prototype] {},
        sockets: [Object: null prototype] {
          'org-note.com:443:::::::::::::::::::::': [ [TLSSocket] ]
        },
        freeSockets: [Object: null prototype] {},
        keepAliveMsecs: 1000,
        keepAlive: true,
        maxSockets: Infinity,
        maxFreeSockets: 256,
        scheduling: 'lifo',
        maxTotalSockets: Infinity,
        totalSocketCount: 1,
        maxCachedSessions: 100,
        _sessionCache: {
          map: {
            'org-note.com:443:::::::::::::::::::::': [Buffer [Uint8Array]]
          },
          list: [ 'org-note.com:443:::::::::::::::::::::' ]
        },
        [Symbol(shapeMode)]: false,
        [Symbol(kCapture)]: false
      },
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      joinDuplicateHeaders: undefined,
      path: '/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png',
      _ended: false,
      res: <ref *5> IncomingMessage {
        _events: {
          close: [
            [Function (anonymous)],
            [Function: onclose],
            [Function: onclose]
          ],
          error: [
            [Function: onerror],
            [Function: onError],
            [Function: onerror]
          ],
          data: [Function: ondata],
          end: [
            [Function: responseOnEnd],
            [Function: onend],
            [Function],
            [Function],
            [Function: onend]
          ],
          readable: undefined,
          finish: [ [Function: onfinish], [Function: onfinish] ]
        },
        _readableState: ReadableState {
          highWaterMark: 16384,
          buffer: [],
          bufferIndex: 0,
          length: 0,
          pipes: [ [BrotliDecompress] ],
          awaitDrainWriters: null,
          [Symbol(kState)]: 194521356
        },
        _maxListeners: undefined,
        socket: <ref *1> 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: 'org-note.com',
          alpnProtocol: false,
          authorized: true,
          authorizationError: null,
          encrypted: true,
          _events: [Object: null prototype] {
            close: [Array],
            end: [Array],
            error: [Function: socketErrorListener],
            newListener: [Function: keylogNewListener],
            connect: undefined,
            secure: [Function: onConnectSecure],
            session: [Function (anonymous)],
            free: [Function: onFree],
            timeout: [Array],
            agentRemove: [Function: onRemove],
            data: [Function: socketOnData],
            drain: [Function: ondrain]
          },
          _eventsCount: 11,
          connecting: false,
          _hadError: false,
          _parent: null,
          _host: 'org-note.com',
          _closeAfterHandlingError: false,
          _readableState: ReadableState {
            highWaterMark: 16384,
            buffer: [],
            bufferIndex: 0,
            length: 0,
            pipes: [],
            awaitDrainWriters: null,
            [Symbol(kState)]: 194521348
          },
          _writableState: WritableState {
            highWaterMark: 16384,
            length: 0,
            corked: 0,
            onwrite: [Function: bound onwrite],
            writelen: 0,
            bufferedIndex: 0,
            pendingcb: 0,
            [Symbol(kState)]: 17563908,
            [Symbol(kBufferedValue)]: null,
            [Symbol(kWriteCbValue)]: [Function: bound onFinish]
          },
          allowHalfOpen: false,
          _maxListeners: undefined,
          _sockname: null,
          _pendingData: null,
          _pendingEncoding: '',
          server: undefined,
          _server: null,
          ssl: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          _requestCert: true,
          _rejectUnauthorized: true,
          timeout: 15000,
          parser: <ref *6> HTTPParser {
            '0': null,
            '1': [Function: parserOnHeaders],
            '2': [Function: parserOnHeadersComplete],
            '3': [Function: parserOnBody],
            '4': [Function: parserOnMessageComplete],
            '5': null,
            '6': null,
            _headers: [],
            _url: '',
            socket: [Circular *1],
            incoming: [Circular *5],
            outgoing: [Circular *3],
            maxHeaderPairs: 2000,
            _consumed: false,
            onIncoming: [Function: parserOnIncomingClient],
            joinDuplicateHeaders: undefined,
            [Symbol(resource_symbol)]: [HTTPClientAsyncResource]
          },
          _httpMessage: [Circular *3],
          autoSelectFamilyAttemptedAddresses: [ '104.21.88.54:443' ],
          [Symbol(alpncallback)]: null,
          [Symbol(res)]: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          [Symbol(verified)]: true,
          [Symbol(pendingSession)]: null,
          [Symbol(async_id_symbol)]: 65,
          [Symbol(kHandle)]: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          [Symbol(lastWriteQueueSize)]: 0,
          [Symbol(timeout)]: <ref *4> Timeout {
            _idleTimeout: 15000,
            _idlePrev: [TimersList],
            _idleNext: [TimersList],
            _idleStart: 603,
            _onTimeout: [Function: bound ],
            _timerArgs: undefined,
            _repeat: null,
            _destroyed: false,
            [Symbol(refed)]: false,
            [Symbol(kHasPrimitive)]: false,
            [Symbol(asyncId)]: 70,
            [Symbol(triggerId)]: 66
          },
          [Symbol(kBuffer)]: null,
          [Symbol(kBufferCb)]: null,
          [Symbol(kBufferGen)]: null,
          [Symbol(shapeMode)]: true,
          [Symbol(kCapture)]: false,
          [Symbol(kSetNoDelay)]: false,
          [Symbol(kSetKeepAlive)]: true,
          [Symbol(kSetKeepAliveInitialDelay)]: 60,
          [Symbol(kBytesRead)]: 0,
          [Symbol(kBytesWritten)]: 0,
          [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,
            maxRedirects: 21,
            maxBodyLength: Infinity,
            protocol: 'https:',
            path: null,
            method: 'POST',
            headers: [Object: null prototype],
            agents: [Object],
            auth: undefined,
            family: undefined,
            beforeRedirect: [Function: dispatchBeforeRedirect],
            beforeRedirects: [Object],
            hostname: 'org-note.com',
            port: 443,
            agent: undefined,
            nativeProtocols: [Object],
            pathname: '/api/v1/notes/sync',
            _defaultAgent: [Agent],
            host: 'org-note.com',
            keepAlive: true,
            scheduling: 'lifo',
            timeout: 5000,
            noDelay: true,
            servername: 'org-note.com',
            _agentKey: 'org-note.com:443:::::::::::::::::::::',
            encoding: null,
            keepAliveInitialDelay: 1000
          }
        },
        httpVersionMajor: 1,
        httpVersionMinor: 1,
        httpVersion: '1.1',
        complete: false,
        rawHeaders: [
          'Date',
          'Fri, 09 Aug 2024 07:03:28 GMT',
          'Content-Type',
          'text/plain; charset=utf-8',
          'Transfer-Encoding',
          'chunked',
          'Connection',
          'keep-alive',
          'Vary',
          'Origin, Accept-Encoding',
          'Access-Control-Allow-Origin',
          '*',
          'CF-Cache-Status',
          'BYPASS',
          'Report-To',
          '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=59k4jqEmhmk84gwoq60iw1qACpYk%2FQJaEhSyZ6XZAMWIXKwYeg39RcHtgKu%2BIPr93u2Xv%2FL4%2FboQ2eHZX0%2BCRd6V%2BcMeOUAb4wt07We5gOYnFSFCAH7y8300ejmJGTU%3D"}],"group":"cf-nel","max_age":604800}',
          'NEL',
          '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
          'Server',
          'cloudflare',
          'CF-RAY',
          '8b05e2f51b1e5aa7-VIE',
          'Content-Encoding',
          'br',
          'alt-svc',
          'h3=":443"; ma=86400'
        ],
        rawTrailers: [],
        joinDuplicateHeaders: undefined,
        aborted: false,
        upgrade: false,
        url: '',
        method: null,
        statusCode: 404,
        statusMessage: 'Not Found',
        client: <ref *1> 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: 'org-note.com',
          alpnProtocol: false,
          authorized: true,
          authorizationError: null,
          encrypted: true,
          _events: [Object: null prototype] {
            close: [Array],
            end: [Array],
            error: [Function: socketErrorListener],
            newListener: [Function: keylogNewListener],
            connect: undefined,
            secure: [Function: onConnectSecure],
            session: [Function (anonymous)],
            free: [Function: onFree],
            timeout: [Array],
            agentRemove: [Function: onRemove],
            data: [Function: socketOnData],
            drain: [Function: ondrain]
          },
          _eventsCount: 11,
          connecting: false,
          _hadError: false,
          _parent: null,
          _host: 'org-note.com',
          _closeAfterHandlingError: false,
          _readableState: ReadableState {
            highWaterMark: 16384,
            buffer: [],
            bufferIndex: 0,
            length: 0,
            pipes: [],
            awaitDrainWriters: null,
            [Symbol(kState)]: 194521348
          },
          _writableState: WritableState {
            highWaterMark: 16384,
            length: 0,
            corked: 0,
            onwrite: [Function: bound onwrite],
            writelen: 0,
            bufferedIndex: 0,
            pendingcb: 0,
            [Symbol(kState)]: 17563908,
            [Symbol(kBufferedValue)]: null,
            [Symbol(kWriteCbValue)]: [Function: bound onFinish]
          },
          allowHalfOpen: false,
          _maxListeners: undefined,
          _sockname: null,
          _pendingData: null,
          _pendingEncoding: '',
          server: undefined,
          _server: null,
          ssl: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          _requestCert: true,
          _rejectUnauthorized: true,
          timeout: 15000,
          parser: <ref *6> HTTPParser {
            '0': null,
            '1': [Function: parserOnHeaders],
            '2': [Function: parserOnHeadersComplete],
            '3': [Function: parserOnBody],
            '4': [Function: parserOnMessageComplete],
            '5': null,
            '6': null,
            _headers: [],
            _url: '',
            socket: [Circular *1],
            incoming: [Circular *5],
            outgoing: [Circular *3],
            maxHeaderPairs: 2000,
            _consumed: false,
            onIncoming: [Function: parserOnIncomingClient],
            joinDuplicateHeaders: undefined,
            [Symbol(resource_symbol)]: [HTTPClientAsyncResource]
          },
          _httpMessage: [Circular *3],
          autoSelectFamilyAttemptedAddresses: [ '104.21.88.54:443' ],
          [Symbol(alpncallback)]: null,
          [Symbol(res)]: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          [Symbol(verified)]: true,
          [Symbol(pendingSession)]: null,
          [Symbol(async_id_symbol)]: 65,
          [Symbol(kHandle)]: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          [Symbol(lastWriteQueueSize)]: 0,
          [Symbol(timeout)]: <ref *4> Timeout {
            _idleTimeout: 15000,
            _idlePrev: [TimersList],
            _idleNext: [TimersList],
            _idleStart: 603,
            _onTimeout: [Function: bound ],
            _timerArgs: undefined,
            _repeat: null,
            _destroyed: false,
            [Symbol(refed)]: false,
            [Symbol(kHasPrimitive)]: false,
            [Symbol(asyncId)]: 70,
            [Symbol(triggerId)]: 66
          },
          [Symbol(kBuffer)]: null,
          [Symbol(kBufferCb)]: null,
          [Symbol(kBufferGen)]: null,
          [Symbol(shapeMode)]: true,
          [Symbol(kCapture)]: false,
          [Symbol(kSetNoDelay)]: false,
          [Symbol(kSetKeepAlive)]: true,
          [Symbol(kSetKeepAliveInitialDelay)]: 60,
          [Symbol(kBytesRead)]: 0,
          [Symbol(kBytesWritten)]: 0,
          [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,
            maxRedirects: 21,
            maxBodyLength: Infinity,
            protocol: 'https:',
            path: null,
            method: 'POST',
            headers: [Object: null prototype],
            agents: [Object],
            auth: undefined,
            family: undefined,
            beforeRedirect: [Function: dispatchBeforeRedirect],
            beforeRedirects: [Object],
            hostname: 'org-note.com',
            port: 443,
            agent: undefined,
            nativeProtocols: [Object],
            pathname: '/api/v1/notes/sync',
            _defaultAgent: [Agent],
            host: 'org-note.com',
            keepAlive: true,
            scheduling: 'lifo',
            timeout: 5000,
            noDelay: true,
            servername: 'org-note.com',
            _agentKey: 'org-note.com:443:::::::::::::::::::::',
            encoding: null,
            keepAliveInitialDelay: 1000
          }
        },
        _consuming: true,
        _dumped: false,
        req: [Circular *3],
        _eventsCount: 5,
        responseUrl: 'https://org-note.com/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png',
        redirects: [],
        [Symbol(shapeMode)]: true,
        [Symbol(kCapture)]: false,
        [Symbol(kHeaders)]: {
          date: 'Fri, 09 Aug 2024 07:03:28 GMT',
          'content-type': 'text/plain; charset=utf-8',
          'transfer-encoding': 'chunked',
          connection: 'keep-alive',
          vary: 'Origin, Accept-Encoding',
          'access-control-allow-origin': '*',
          'cf-cache-status': 'BYPASS',
          'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=59k4jqEmhmk84gwoq60iw1qACpYk%2FQJaEhSyZ6XZAMWIXKwYeg39RcHtgKu%2BIPr93u2Xv%2FL4%2FboQ2eHZX0%2BCRd6V%2BcMeOUAb4wt07We5gOYnFSFCAH7y8300ejmJGTU%3D"}],"group":"cf-nel","max_age":604800}',
          nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
          server: 'cloudflare',
          'cf-ray': '8b05e2f51b1e5aa7-VIE',
          'alt-svc': 'h3=":443"; ma=86400'
        },
        [Symbol(kHeadersCount)]: 26,
        [Symbol(kTrailers)]: null,
        [Symbol(kTrailersCount)]: 0
      },
      aborted: false,
      timeoutCb: [Function: emitRequestTimeout],
      upgradeOrConnect: false,
      parser: <ref *6> HTTPParser {
        '0': null,
        '1': [Function: parserOnHeaders],
        '2': [Function: parserOnHeadersComplete],
        '3': [Function: parserOnBody],
        '4': [Function: parserOnMessageComplete],
        '5': null,
        '6': null,
        _headers: [],
        _url: '',
        socket: <ref *1> 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: 'org-note.com',
          alpnProtocol: false,
          authorized: true,
          authorizationError: null,
          encrypted: true,
          _events: [Object: null prototype] {
            close: [Array],
            end: [Array],
            error: [Function: socketErrorListener],
            newListener: [Function: keylogNewListener],
            connect: undefined,
            secure: [Function: onConnectSecure],
            session: [Function (anonymous)],
            free: [Function: onFree],
            timeout: [Array],
            agentRemove: [Function: onRemove],
            data: [Function: socketOnData],
            drain: [Function: ondrain]
          },
          _eventsCount: 11,
          connecting: false,
          _hadError: false,
          _parent: null,
          _host: 'org-note.com',
          _closeAfterHandlingError: false,
          _readableState: ReadableState {
            highWaterMark: 16384,
            buffer: [],
            bufferIndex: 0,
            length: 0,
            pipes: [],
            awaitDrainWriters: null,
            [Symbol(kState)]: 194521348
          },
          _writableState: WritableState {
            highWaterMark: 16384,
            length: 0,
            corked: 0,
            onwrite: [Function: bound onwrite],
            writelen: 0,
            bufferedIndex: 0,
            pendingcb: 0,
            [Symbol(kState)]: 17563908,
            [Symbol(kBufferedValue)]: null,
            [Symbol(kWriteCbValue)]: [Function: bound onFinish]
          },
          allowHalfOpen: false,
          _maxListeners: undefined,
          _sockname: null,
          _pendingData: null,
          _pendingEncoding: '',
          server: undefined,
          _server: null,
          ssl: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          _requestCert: true,
          _rejectUnauthorized: true,
          timeout: 15000,
          parser: [Circular *6],
          _httpMessage: [Circular *3],
          autoSelectFamilyAttemptedAddresses: [ '104.21.88.54:443' ],
          [Symbol(alpncallback)]: null,
          [Symbol(res)]: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          [Symbol(verified)]: true,
          [Symbol(pendingSession)]: null,
          [Symbol(async_id_symbol)]: 65,
          [Symbol(kHandle)]: <ref *2> TLSWrap {
            _parent: [TCP],
            _parentWrap: null,
            _secureContext: [SecureContext],
            reading: true,
            onkeylog: [Function: onkeylog],
            onhandshakestart: {},
            onhandshakedone: [Function (anonymous)],
            onocspresponse: [Function: onocspresponse],
            onnewsession: [Function: onnewsessionclient],
            onerror: [Function: onerror],
            [Symbol(owner_symbol)]: [Circular *1],
            [Symbol(resource_symbol)]: [ReusedHandle]
          },
          [Symbol(lastWriteQueueSize)]: 0,
          [Symbol(timeout)]: <ref *4> Timeout {
            _idleTimeout: 15000,
            _idlePrev: [TimersList],
            _idleNext: [TimersList],
            _idleStart: 603,
            _onTimeout: [Function: bound ],
            _timerArgs: undefined,
            _repeat: null,
            _destroyed: false,
            [Symbol(refed)]: false,
            [Symbol(kHasPrimitive)]: false,
            [Symbol(asyncId)]: 70,
            [Symbol(triggerId)]: 66
          },
          [Symbol(kBuffer)]: null,
          [Symbol(kBufferCb)]: null,
          [Symbol(kBufferGen)]: null,
          [Symbol(shapeMode)]: true,
          [Symbol(kCapture)]: false,
          [Symbol(kSetNoDelay)]: false,
          [Symbol(kSetKeepAlive)]: true,
          [Symbol(kSetKeepAliveInitialDelay)]: 60,
          [Symbol(kBytesRead)]: 0,
          [Symbol(kBytesWritten)]: 0,
          [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,
            maxRedirects: 21,
            maxBodyLength: Infinity,
            protocol: 'https:',
            path: null,
            method: 'POST',
            headers: [Object: null prototype],
            agents: [Object],
            auth: undefined,
            family: undefined,
            beforeRedirect: [Function: dispatchBeforeRedirect],
            beforeRedirects: [Object],
            hostname: 'org-note.com',
            port: 443,
            agent: undefined,
            nativeProtocols: [Object],
            pathname: '/api/v1/notes/sync',
            _defaultAgent: [Agent],
            host: 'org-note.com',
            keepAlive: true,
            scheduling: 'lifo',
            timeout: 5000,
            noDelay: true,
            servername: 'org-note.com',
            _agentKey: 'org-note.com:443:::::::::::::::::::::',
            encoding: null,
            keepAliveInitialDelay: 1000
          }
        },
        incoming: <ref *5> IncomingMessage {
          _events: {
            close: [Array],
            error: [Array],
            data: [Function: ondata],
            end: [Array],
            readable: undefined,
            finish: [Array]
          },
          _readableState: ReadableState {
            highWaterMark: 16384,
            buffer: [],
            bufferIndex: 0,
            length: 0,
            pipes: [Array],
            awaitDrainWriters: null,
            [Symbol(kState)]: 194521356
          },
          _maxListeners: undefined,
          socket: <ref *1> TLSSocket {
            _tlsOptions: [Object],
            _secureEstablished: true,
            _securePending: false,
            _newSessionPending: false,
            _controlReleased: true,
            secureConnecting: false,
            _SNICallback: null,
            servername: 'org-note.com',
            alpnProtocol: false,
            authorized: true,
            authorizationError: null,
            encrypted: true,
            _events: [Object: null prototype],
            _eventsCount: 11,
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: 'org-note.com',
            _closeAfterHandlingError: false,
            _readableState: [ReadableState],
            _writableState: [WritableState],
            allowHalfOpen: false,
            _maxListeners: undefined,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: undefined,
            _server: null,
            ssl: [TLSWrap],
            _requestCert: true,
            _rejectUnauthorized: true,
            timeout: 15000,
            parser: [Circular *6],
            _httpMessage: [Circular *3],
            autoSelectFamilyAttemptedAddresses: [Array],
            [Symbol(alpncallback)]: null,
            [Symbol(res)]: [TLSWrap],
            [Symbol(verified)]: true,
            [Symbol(pendingSession)]: null,
            [Symbol(async_id_symbol)]: 65,
            [Symbol(kHandle)]: [TLSWrap],
            [Symbol(lastWriteQueueSize)]: 0,
            [Symbol(timeout)]: [Timeout],
            [Symbol(kBuffer)]: null,
            [Symbol(kBufferCb)]: null,
            [Symbol(kBufferGen)]: null,
            [Symbol(shapeMode)]: true,
            [Symbol(kCapture)]: false,
            [Symbol(kSetNoDelay)]: false,
            [Symbol(kSetKeepAlive)]: true,
            [Symbol(kSetKeepAliveInitialDelay)]: 60,
            [Symbol(kBytesRead)]: 0,
            [Symbol(kBytesWritten)]: 0,
            [Symbol(connect-options)]: [Object]
          },
          httpVersionMajor: 1,
          httpVersionMinor: 1,
          httpVersion: '1.1',
          complete: false,
          rawHeaders: [
            'Date',
            'Fri, 09 Aug 2024 07:03:28 GMT',
            'Content-Type',
            'text/plain; charset=utf-8',
            'Transfer-Encoding',
            'chunked',
            'Connection',
            'keep-alive',
            'Vary',
            'Origin, Accept-Encoding',
            'Access-Control-Allow-Origin',
            '*',
            'CF-Cache-Status',
            'BYPASS',
            'Report-To',
            '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=59k4jqEmhmk84gwoq60iw1qACpYk%2FQJaEhSyZ6XZAMWIXKwYeg39RcHtgKu%2BIPr93u2Xv%2FL4%2FboQ2eHZX0%2BCRd6V%2BcMeOUAb4wt07We5gOYnFSFCAH7y8300ejmJGTU%3D"}],"group":"cf-nel","max_age":604800}',
            'NEL',
            '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
            'Server',
            'cloudflare',
            'CF-RAY',
            '8b05e2f51b1e5aa7-VIE',
            'Content-Encoding',
            'br',
            'alt-svc',
            'h3=":443"; ma=86400'
          ],
          rawTrailers: [],
          joinDuplicateHeaders: undefined,
          aborted: false,
          upgrade: false,
          url: '',
          method: null,
          statusCode: 404,
          statusMessage: 'Not Found',
          client: <ref *1> TLSSocket {
            _tlsOptions: [Object],
            _secureEstablished: true,
            _securePending: false,
            _newSessionPending: false,
            _controlReleased: true,
            secureConnecting: false,
            _SNICallback: null,
            servername: 'org-note.com',
            alpnProtocol: false,
            authorized: true,
            authorizationError: null,
            encrypted: true,
            _events: [Object: null prototype],
            _eventsCount: 11,
            connecting: false,
            _hadError: false,
            _parent: null,
            _host: 'org-note.com',
            _closeAfterHandlingError: false,
            _readableState: [ReadableState],
            _writableState: [WritableState],
            allowHalfOpen: false,
            _maxListeners: undefined,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: undefined,
            _server: null,
            ssl: [TLSWrap],
            _requestCert: true,
            _rejectUnauthorized: true,
            timeout: 15000,
            parser: [Circular *6],
            _httpMessage: [Circular *3],
            autoSelectFamilyAttemptedAddresses: [Array],
            [Symbol(alpncallback)]: null,
            [Symbol(res)]: [TLSWrap],
            [Symbol(verified)]: true,
            [Symbol(pendingSession)]: null,
            [Symbol(async_id_symbol)]: 65,
            [Symbol(kHandle)]: [TLSWrap],
            [Symbol(lastWriteQueueSize)]: 0,
            [Symbol(timeout)]: [Timeout],
            [Symbol(kBuffer)]: null,
            [Symbol(kBufferCb)]: null,
            [Symbol(kBufferGen)]: null,
            [Symbol(shapeMode)]: true,
            [Symbol(kCapture)]: false,
            [Symbol(kSetNoDelay)]: false,
            [Symbol(kSetKeepAlive)]: true,
            [Symbol(kSetKeepAliveInitialDelay)]: 60,
            [Symbol(kBytesRead)]: 0,
            [Symbol(kBytesWritten)]: 0,
            [Symbol(connect-options)]: [Object]
          },
          _consuming: true,
          _dumped: false,
          req: [Circular *3],
          _eventsCount: 5,
          responseUrl: 'https://org-note.com/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png',
          redirects: [],
          [Symbol(shapeMode)]: true,
          [Symbol(kCapture)]: false,
          [Symbol(kHeaders)]: {
            date: 'Fri, 09 Aug 2024 07:03:28 GMT',
            'content-type': 'text/plain; charset=utf-8',
            'transfer-encoding': 'chunked',
            connection: 'keep-alive',
            vary: 'Origin, Accept-Encoding',
            'access-control-allow-origin': '*',
            'cf-cache-status': 'BYPASS',
            'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=59k4jqEmhmk84gwoq60iw1qACpYk%2FQJaEhSyZ6XZAMWIXKwYeg39RcHtgKu%2BIPr93u2Xv%2FL4%2FboQ2eHZX0%2BCRd6V%2BcMeOUAb4wt07We5gOYnFSFCAH7y8300ejmJGTU%3D"}],"group":"cf-nel","max_age":604800}',
            nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
            server: 'cloudflare',
            'cf-ray': '8b05e2f51b1e5aa7-VIE',
            'alt-svc': 'h3=":443"; ma=86400'
          },
          [Symbol(kHeadersCount)]: 26,
          [Symbol(kTrailers)]: null,
          [Symbol(kTrailersCount)]: 0
        },
        outgoing: [Circular *3],
        maxHeaderPairs: 2000,
        _consumed: false,
        onIncoming: [Function: parserOnIncomingClient],
        joinDuplicateHeaders: undefined,
        [Symbol(resource_symbol)]: HTTPClientAsyncResource {
          type: 'HTTPINCOMINGMESSAGE',
          req: [Circular *3]
        }
      },
      maxHeadersCount: null,
      reusedSocket: true,
      host: 'org-note.com',
      protocol: 'https:',
      _redirectable: Writable {
        _events: {
          close: undefined,
          error: [Function: handleRequestError],
          prefinish: undefined,
          finish: undefined,
          drain: undefined,
          response: [Function: handleResponse],
          socket: [
            [Function: handleRequestSocket],
            [Function: destroyOnTimeout]
          ],
          timeout: undefined,
          abort: undefined
        },
        _writableState: WritableState {
          highWaterMark: 16384,
          length: 0,
          corked: 0,
          onwrite: [Function: bound onwrite],
          writelen: 0,
          bufferedIndex: 0,
          pendingcb: 0,
          [Symbol(kState)]: 17580812,
          [Symbol(kBufferedValue)]: null
        },
        _maxListeners: undefined,
        _options: {
          maxRedirects: 21,
          maxBodyLength: Infinity,
          protocol: 'https:',
          path: '/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png',
          method: 'GET',
          headers: [Object: null prototype] {
            Accept: 'application/json, text/plain, */*',
            Authorization: 'Bearer ***',
            'User-Agent': 'axios/1.7.3',
            'Accept-Encoding': 'gzip, compress, deflate, br'
          },
          agents: { http: undefined, https: undefined },
          auth: undefined,
          family: undefined,
          beforeRedirect: [Function: dispatchBeforeRedirect],
          beforeRedirects: { proxy: [Function: beforeRedirect] },
          hostname: 'org-note.com',
          port: '',
          agent: undefined,
          nativeProtocols: { 'http:': [Object], 'https:': [Object] },
          pathname: '/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png'
        },
        _ended: true,
        _ending: true,
        _redirectCount: 0,
        _redirects: [],
        _requestBodyLength: 0,
        _requestBodyBuffers: [],
        _eventsCount: 3,
        _onNativeResponse: [Function (anonymous)],
        _currentRequest: [Circular *3],
        _currentUrl: 'https://org-note.com/api/v1/media/66179fa5c36955345b961611/static/paimon-architecture.png',
        _timeout: null,
        [Symbol(shapeMode)]: true,
        [Symbol(kCapture)]: false
      },
      [Symbol(shapeMode)]: false,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype] {
        accept: [ 'Accept', 'application/json, text/plain, */*' ],
        authorization: [
          'Authorization',
          'Bearer ***'
        ],
        'user-agent': [ 'User-Agent', 'axios/1.7.3' ],
        'accept-encoding': [ 'Accept-Encoding', 'gzip, compress, deflate, br' ],
        host: [ 'Host', 'org-note.com' ]
      },
      [Symbol(errored)]: null,
      [Symbol(kHighWaterMark)]: 16384,
      [Symbol(kRejectNonStandardBodyWrites)]: false,
      [Symbol(kUniqueHeaders)]: null
    },
    data: <ref *7> BrotliDecompress {
      _writeState: Uint32Array(2) [ 0, 0 ],
      _events: {
        close: [
          [Function (anonymous)],
          [Function: onclose],
          [Function (anonymous)],
          [Function: bound onceWrapper] {
            listener: [Function: onclose]
          },
          [Function: onclose],
          [Function: onclose]
        ],
        error: [
          [Function: onerror],
          [Function: onerror],
          [Function: onError],
          [Function: onerror],
          [Function: onerror]
        ],
        prefinish: [Function: prefinish],
        finish: [
          [Function: onfinish],
          [Function: bound onceWrapper] {
            listener: [Function: onfinish]
          },
          [Function: onfinish],
          [Function: onfinish]
        ],
        drain: undefined,
        data: undefined,
        end: [ [Function: onend], [Function: onend], [Function: onend] ],
        readable: undefined,
        unpipe: [Function: onunpipe]
      },
      _readableState: ReadableState {
        highWaterMark: 16384,
        buffer: [],
        bufferIndex: 0,
        length: 0,
        pipes: [],
        awaitDrainWriters: null,
        [Symbol(kState)]: 1048844
      },
      _writableState: WritableState {
        highWaterMark: 16384,
        length: 75,
        corked: 0,
        onwrite: [Function: bound onwrite],
        writelen: 75,
        bufferedIndex: 0,
        pendingcb: 1,
        [Symbol(kState)]: 84721932,
        [Symbol(kBufferedValue)]: null
      },
      allowHalfOpen: true,
      _maxListeners: undefined,
      _eventsCount: 6,
      bytesWritten: 0,
      _handle: BrotliDecoder {
        onerror: [Function: zlibOnError],
        buffer: Buffer(75) [Uint8Array] [
          161,  88,   2,   0,  32, 131, 231,  72,   7,  82, 201,   9,
           50, 144, 237,  29, 176,   1,  39, 108, 113, 168, 233,  32,
          116, 161, 171, 220,  57, 190,  64,  10,  25, 224, 159, 226,
          144, 192,   1,  43,  69, 181, 237, 139, 108, 184, 178,  82,
          114,  33, 171,  85,  84,  81, 138,  27, 243, 108, 240,  89,
          166, 237, 216, 161, 200, 190, 222, 174, 121, 191, 187,  67,
          231,  62,   0
        ],
        cb: [Function (anonymous)],
        availOutBefore: 16384,
        availInBefore: 75,
        inOff: 0,
        flushFlag: 1,
        [Symbol(owner_symbol)]: [Circular *7]
      },
      _outBuffer: Buffer(16384) [Uint8Array] [
         67,  97, 110, 110, 111, 116,  32,  71,  69,  84,  32,  47,
        118,  49,  47, 109, 101, 100, 105,  97,  47,  54,  54,  49,
         55,  57, 102,  97,  53,  99,  51,  54,  57,  53,  53,  51,
         52,  53,  98,  57,  54,  49,  54,  49,  49,  47, 115, 116,
         97, 116, 105,  99,  47, 112,  97, 105, 109, 111, 110,  45,
         97, 114,  99, 104, 105, 116, 101,  99, 116, 117, 114, 101,
         46, 112, 110, 103,   0,   0,   0,   0,   0,   0,   0,   0,
          0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,
        128, 145, 103,  69,
        ... 16284 more items
      ],
      _outOffset: 0,
      _chunkSize: 16384,
      _defaultFlushFlag: 1,
      _finishFlushFlag: 1,
      _defaultFullFlushFlag: 1,
      _info: undefined,
      _maxOutputLength: 4294967296,
      [Symbol(shapeMode)]: true,
      [Symbol(kCapture)]: false,
      [Symbol(kCallback)]: null,
      [Symbol(kError)]: null
    }
  }
}

Node.js v20.12.2
last command: orgnote-cli sync --accountName "Main" 
SemyonSinchenko commented 3 months ago

If I repeat the command orgnote-sync it works without an error. But I'm still getting correct decryption key is required in web / android. I tried to clear cookies in web but I did'n help.

Artawower commented 3 months ago

I have not been able to reproduce the problem completely, but I noticed that after migration some fields in mongo were not updating, I did a manual update and also updated orgnote-cli so that when the encryption type changes the notes are overwritten correctly.

Can you check the latest version? 0.11.3. Also I noticed that the command that was entered is not quite right, in case it doesn't work, you can try orgnote-force-sync which should cause override remote notes.

If all this doesn't work, and if you don't have locally unsaved notes, I've added a new method that completely removes the notes from the app and from the server (but not the local version). This is the most extreme case, and I think we can solve the problem without getting to that point.

image

I also fixed a bug with uploading images (from the attached stacktrace)

SemyonSinchenko commented 3 months ago

@Artawower I tried --force sync and it looks like it finaly breaks all my local notes. From now they looks like this: image

In web/android I'm still facing correct decryption key is required

Do you have a suggestion, how can I fix it? I hope it is possible...

Artawower commented 3 months ago

Oh, that looks bad, I'm sorry about that. I thought I had fixed this problem. Can you show the output of npm list -g | grep orgnote-cli ?

I think the data can be recovered (make a backup of the encrypted data before doing so).

I added the repair command to orgnote-cli@0.11.5 (don't forget to update it), which goes through all subdirectories and unencrypts the notes (this will work if they were encrypted with a provided key or password).

This can look like this: orgnote-cli repair --accountName "account-name" --debug or orgnote-repair from the emacs package.

SemyonSinchenko commented 3 months ago

I have a version 0.11.5 (after update)

⬢[sem@toolbox ORG]$ orgnote-cli repair --accountName "Main" --debug
2024-08-14T08:17:37.399Z-info: info.message
info: Current configuration: {
  remoteAddress: 'https://org-note.com/api/v1',
  token: '***',
  rootFolder: '/var/home/sem/Nextcloud/ORG/orgnote',
  version: 'v1',
  logPath: '~/var/logs/orgnote.log',
  backupCount: 2,
  name: 'Main',
  backupDir: '/var/home/sem/Nextcloud/Backup/Orgnote',
  encrypt: 'gpgPassword',
  gpgPassword: '***',
  _: [ 'repair', [length]: 1 ],
  accountName: 'Main',
  'account-name': 'Main',
  debug: true,
  '$0': '/usr/local/bin/orgnote-cli'
}
[line 64]: LOG FILE ALREADY EXISTS ~/var/logs/orgnote.log
2024-08-14T08:17:37.401Z-info: info.message
info: ✎: [backup.ts][Wed Aug 14 2024 10:17:37 GMT+0200 (Central European Summer Time)] old backups will be deleted [ [length]: 0 ]
2024-08-14T08:17:37.401Z-info: info.message
info: ✎: [backup.ts][Wed Aug 14 2024 10:17:37 GMT+0200 (Central European Summer Time)] backups stored into '/var/home/sem/Nextcloud/Backup/Orgnote/2024-08-14T08:17:37.401Z.zip'
2024-08-14T08:17:37.527Z-info: info.message
info: /var/home/sem/Nextcloud/ORG/orgnote/Articles/dremel.org note decrypted
2024-08-14T08:17:37.528Z-info: info.message
info: /var/home/sem/Nextcloud/ORG/orgnote/Articles/selection_vectors.org note decrypted
2024-08-14T08:17:37.529Z-info: info.message
info: /var/home/sem/Nextcloud/ORG/orgnote/Movies/kids_anime.org note decrypted
⬢[sem@toolbox ORG]$ 

Unfortunately, it changes nothing: all non-public notes still contain PGP messages instead of the text...

Artawower commented 3 months ago

Hmmm... the message log looks promising. I don't see any decryption errors.

info: /var/home/sem/Nextcloud/ORG/orgnote/Movies/kids_anime.org note decrypted
info: /var/home/sem/Nextcloud/ORG/orgnote/Articles/selection_vectors.org note decrypted
info: /var/home/sem/Nextcloud/ORG/orgnote/Articles/dremel.org note decrypted

As I understand these notes are not public. What confuses me is that if there are no errors, why the notes have not been decrypted.

Are the notes really still encrypted? Or were we talking about other non-public notes?

SemyonSinchenko commented 3 months ago

I see them as still encrypted. I checked all of them... image

Yes, the problem appears only for non-public notes. Actually I think I can accept the loss. There not so much. But what can I do to prevent it in the future? And what is the best way to "clear" my current orgnote account and start from scratch?

P.S. I'm not sure, but maybe all the notes were encrypted twice?

SemyonSinchenko commented 3 months ago

@Artawower I resolved it! I just run the repair command multiple time and finally got a decrypted notes! Thank you a lot!

SemyonSinchenko commented 3 months ago

And after that I run the orgnote-sync and all the notes are "readable" from web!

SemyonSinchenko commented 3 months ago

So, the bug was notes were encrypted multiple time using the same password. Feel free to close the issue, or I can try to provide you more information about how it may happened

Artawower commented 3 months ago

Fuhhhh, that was dangerous 🙈 Happy to see it. I also enabled automatic backups for orgnote-cli, but don't forget to check the backups manually sometimes

Let's leave this request for now, maybe someone else will encounter something similar. Also, we need to make sure that this bug is no longer reproduced in the latest version of cli. I'll keep an eye on this for a bit longer