断管错误:Deno + deno_mongo 驱动程序

问题描述

0|app      |     at async Collection.findOne (https://raw.githubusercontent.com/manyuanrong/deno_mongo/refactor/src/collection/collection.ts:43:12)
0|app      | 2021-03-26T06:15:07.234Z [10] brokenPipe: broken pipe (os error 32) 
0|app      |     at unwrapResponse (deno:runtime/js/10_dispatch_minimal.js:60:13)
0|app      |     at sendAsync (deno:runtime/js/10_dispatch_minimal.js:99:12)
0|app      |     at async write (deno:runtime/js/12_io.js:118:20)
0|app      |     at async Object.writeall (deno:runtime/js/13_buffer.js:224:19)
0|app      |     at async WireProtocol.command (https://raw.githubusercontent.com/manyuanrong/deno_mongo/refactor/src/protocol/protocol.ts:55:7)
0|app      |     at async WireProtocol.commandSingle (https://raw.githubusercontent.com/manyuanrong/deno_mongo/refactor/src/protocol/protocol.ts:31:19)
0|app      |     at async FindCursor.executor (https://raw.githubusercontent.com/manyuanrong/deno_mongo/refactor/src/collection/commands/find.ts:17:24)
0|app      |     at async FindCursor.execute (https://raw.githubusercontent.com/manyuanrong/deno_mongo/refactor/src/protocol/cursor.ts:34:21)
0|app      |     at async FindCursor.next (https://raw.githubusercontent.com/manyuanrong/deno_mongo/refactor/src/protocol/cursor.ts:48:7)
0|app      |     at async Collection.findOne (https://raw.githubusercontent.com/manyuanrong/deno_mongo/refactor/src/collection/collection.ts:43:12)

有时我会在我的 Deno 应用程序中收到此错误。它发生在数据库驱动程序中。 每 100 个数据库查询发生一次。

这是我的版本信息:

deno 1.8.2 (release,x86_64-unkNown-linux-gnu)
v8 9.0.257.3
typescript 4.2.2

这是我的deps:

export { MongoClient } from "https://raw.githubusercontent.com/manyuanrong/deno_mongo/refactor/mod.ts"; // Used directly from refactor branch of deno_mongo
export type { Document } from "https://raw.githubusercontent.com/manyuanrong/deno_mongo/refactor/mod.ts"; // Used directly from refactor branch of deno_mongo
export { ObjectId } from "https://raw.githubusercontent.com/manyuanrong/deno_mongo/refactor/bson/mod.ts"; // Used directly from refactor branch of deno_mongo

提前致谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...