PANIC in query-engine/connectors/mongodb-query-connector/src/value.rs:100:24 not yet implemented: (ObjectId, List([String("609675d400e7693e0090e48c")]))
See original GitHub issueHi Prisma Team! My Prisma Client just crashed. This is the report:
Versions
Name | Version |
---|---|
Node | v16.0.0 |
OS | darwin |
Prisma Client | 2.22.1 |
Query Engine | query-engine 60cc71d884972ab4e897f0277c4b84383dddaf6c |
Database | undefined |
Query
query {
findManyDevice(where: {
id: {
in: ["X"]
}
}) {
token
}
}
Logs
tHub/reqas/SMSGateWayAPI/node_modules/.prisma/client
plusX Execution permissions of /Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/node_modules/.prisma/client/query-engine-darwin are fine
prisma:engine Client Version: 2.22.1
prisma:engine Engine Version: query-engine 60cc71d884972ab4e897f0277c4b84383dddaf6c
prisma:engine Active provider: mongodb
prisma:engine Stopping Prisma engine4
prisma:engine Waiting for start promise
prisma:engine Done waiting for start promise
prisma:engine { cwd: '/Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/prisma' } +4s
prisma:engine Search for Query Engine in /Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/node_modules/.prisma/client
plusX Execution permissions of /Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/node_modules/.prisma/client/query-engine-darwin are fine +4s
prisma:engine { flags: [ '--enable-raw-queries', '--port', '54364' ] }
prisma:engine stdout Started http server on http://127.0.0.1:54364
prisma:engine Search for Query Engine in /Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/node_modules/.prisma/client
plusX Execution permissions of /Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/node_modules/.prisma/client/query-engine-darwin are fine
prisma:engine Client Version: 2.22.1
prisma:engine Engine Version: query-engine 60cc71d884972ab4e897f0277c4b84383dddaf6c
prisma:engine Active provider: mongodb
prisma:engine stdout PANIC in query-engine/connectors/mongodb-query-connector/src/value.rs:100:24
not yet implemented: (ObjectId, List([String("609675d400e7693e0090e48c")]))
prisma:engine {
prisma:engine error: SocketError: other side closed
prisma:engine at Socket.onSocketEnd (/Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/node_modules/@prisma/client/runtime/index.js:25530:24)
prisma:engine at Socket.emit (node:events:377:35)
prisma:engine at Socket.emit (node:domain:470:12)
prisma:engine at endReadableNT (node:internal/streams/readable:1312:12)
prisma:engine at processTicksAndRejections (node:internal/process/task_queues:83:21) {
prisma:engine code: 'UND_ERR_SOCKET'
prisma:engine }
prisma:engine }
prisma:engine {
prisma:engine error: Error: connect ECONNREFUSED 127.0.0.1:54364
prisma:engine at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1133:16) {
prisma:engine errno: -61,
prisma:engine code: 'ECONNREFUSED',
prisma:engine syscall: 'connect',
prisma:engine address: '127.0.0.1',
prisma:engine port: 54364
prisma:engine }
prisma:engine }
prisma:engine { cwd: '/Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/prisma' }
prisma:engine Search for Query Engine in /Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/node_modules/.prisma/client
plusX Execution permissions of /Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/node_modules/.prisma/client/query-engine-darwin are fine
prisma:engine { flags: [ '--enable-raw-queries', '--port', '54369' ] }
prisma:engine stdout Started http server on http://127.0.0.1:54369
prisma:engine Search for Query Engine in /Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/node_modules/.prisma/client
plusX Execution permissions of /Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/node_modules/.prisma/client/query-engine-darwin are fine
prisma:engine stdout PANIC in query-engine/connectors/mongodb-query-connector/src/value.rs:100:24
not yet implemented: (ObjectId, List([String("609675d400e7693e0090e48c")]))
prisma:engine {
prisma:engine error: SocketError: other side closed
prisma:engine at Socket.onSocketEnd (/Users/oudmane/Documents/GitHub/reqas/SMSGateWayAPI/node_modules/@prisma/client/runtime/index.js:25530:24)
prisma:engine at Socket.emit (node:events:377:35)
prisma:engine at Socket.emit (node:domain:470:12)
prisma:engine at endReadableNT (node:internal/streams/readable:1312:12)
prisma:engine at processTicksAndRejections (node:internal/process/task_queues:83:21) {
prisma:engine code: 'UND_ERR_SOCKET'
prisma:engine }
prisma:engine }
Client Snippet
prisma.device.findMany({
where: {
id: {in: ["609675d400e7693e0090e48c"]}
},
select: {
token: true
}
})
Schema
model Device {
id String @id @default(dbgenerated()) @map("_id") @db.ObjectId
token String?
version String?
number String?
priority Int?
operators Int[]
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, I’m using mongodb provider. I’m trying bit on a side project, and found this bug.
Fixed in 2.28.