Skip to content

Intermittent error NJS-103: unexpected message type 2 received at position 11 of packet 44 #1642

@joseviniciusnunes

Description

@joseviniciusnunes

Hello everyone, I have a problem when performing a very large SQL query, the error occurs intermittently, I saw that a problem last year was resolved, would it be the same problem, has it been fixed yet?

I updated to version 6.3.0, but without success, the error occurred intermittently and 90% of the time the same query was identical to the error.

  1. What versions are you using? 6.3.0

    Oracle Database 21c Express Edition Release 21.0.0.0.0 - Production

    process.platform linux
    process.version v18.17.0
    process.arch x64
    require('oracledb').versionString 6.3.0
    require('oracledb').oracleClientVersionString undefined

  2. Is it an error or a hang or a crash? error

  3. What error(s) or behavior you are seeing?

 driverError: TypeError: NJS-500: connection to the Oracle Database was broken
  Error recovery failed: NJS-103: unexpected message type 2 received at position 11 of packet 44
  Original error: Cannot read properties of undefined (reading '_oraTypeNum')
      at ExecuteMessage._adjustFetchType (/home/vinicius/projetos/coamo/api-coft/node_modules/oracledb/lib/thin/protocol/messages/withData.js:135:36)
      at ExecuteMessage.processDescribeInfo (/home/vinicius/projetos/coamo/api-coft/node_modules/oracledb/lib/thin/protocol/messages/withData.js:154:14)
      at ExecuteMessage.processMessage (/home/vinicius/projetos/coamo/api-coft/node_modules/oracledb/lib/thin/protocol/messages/withData.js:74:12)
      at ExecuteMessage.process (/home/vinicius/projetos/coamo/api-coft/node_modules/oracledb/lib/thin/protocol/messages/base.js:188:12)
      at ExecuteMessage.decode (/home/vinicius/projetos/coamo/api-coft/node_modules/oracledb/lib/thin/protocol/messages/base.js:179:10)
      at Protocol._decodeMessage (/home/vinicius/projetos/coamo/api-coft/node_modules/oracledb/lib/thin/protocol/protocol.js:78:17)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at Protocol._processMessage (/home/vinicius/projetos/coamo/api-coft/node_modules/oracledb/lib/thin/protocol/protocol.js:153:9)
      at ThinConnectionImpl._execute (/home/vinicius/projetos/coamo/api-coft/node_modules/oracledb/lib/thin/connection.js:195:7)
      at ThinConnectionImpl.execute (/home/vinicius/projetos/coamo/api-coft/node_modules/oracledb/lib/thin/connection.js:930:14) {
    code: 'NJS-500'
  },
  code: 'NJS-500'
}

unfortunately I can't paste the query here, it has more than 33000 characters

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions