Comments (7)
发送视频
15:02:54 VERB Message say(FileBox#Base64<video.mp4>)
15:02:58 ERR Config ###########################
15:02:58 ERR Config unhandledRejection: VError: [tid:0b222403] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:0b222403] internal error
at Request._failAllPendingRequest (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/padlocal-client-ts/src/Request.ts:309:15)
at ClientDuplexStreamImpl.Request._grpcStream.on (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/padlocal-client-ts/src/Request.ts:72:12)
at ClientDuplexStreamImpl.emit (events.js:198:13)
at ClientDuplexStreamImpl.EventEmitter.emit (domain.js:448:20)
at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client.ts:666:18)
at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client-interceptors.ts:387:48)
at process.nextTick (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/call-stream.ts:243:24)
at process._tickCallback (internal/process/next_tick.js:61:11) [object Promise]
15:02:58 ERR Config ###########################
15:02:58 ERR Config process.on(unhandledRejection) promise.catch([tid:0b222403] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:0b222403] internal error)
Config { VError: [tid:0b222403] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:0b222403] internal error
at Request._failAllPendingRequest (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/padlocal-client-ts/src/Request.ts:309:15)
at ClientDuplexStreamImpl.Request._grpcStream.on (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/padlocal-client-ts/src/Request.ts:72:12)
at ClientDuplexStreamImpl.emit (events.js:198:13)
at ClientDuplexStreamImpl.EventEmitter.emit (domain.js:448:20)
at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client.ts:666:18)
at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client-interceptors.ts:387:48)
at process.nextTick (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/call-stream.ts:243:24)
at process._tickCallback (internal/process/next_tick.js:61:11)
jse_shortmsg:
'[tid:0b222403] request has been cancelled for reason: SERVER_ERROR',
jse_cause:
{ Error: 2 UNKNOWN: [tid:0b222403] internal error
at Object.callErrorFromStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/call.ts:81:24)
at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client.ts:666:32)
at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client-interceptors.ts:387:48)
at process.nextTick (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/call-stream.ts:243:24)
at process._tickCallback (internal/process/next_tick.js:61:11)
code: 2,
details: '[tid:0b222403] internal error',
metadata: Metadata { internalRepr: [Map], options: {} } },
jse_info: {},
message:
'[tid:0b222403] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:0b222403] internal error',
reason: 1 }
(node:18068) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 3)
from puppet-padlocal.
会导致之后接收到的消息无法正常显示。
from puppet-padlocal.
fixed, 现在允许最大发送 20M 文件,需要发送更大文件需向 PadLocal 申请
from puppet-padlocal.
测试发送12M的pdf文件,提示如下错误:
14:06:01 VERB Message say(FileBox#File<pdf.pdf>)
14:06:02 ERR Config ###########################
14:06:02 ERR Config unhandledRejection: VError: [tid:5d444308] request has been cancelled for reason: SERVER_ERROR: 8 RESOURCE_EXHAUSTED: Bandwidth exhausted
at Request._failAllPendingRequest (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/padlocal-client-ts/src/Request.ts:309:15)
at ClientDuplexStreamImpl.Request._grpcStream.on (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/padlocal-client-ts/src/Request.ts:72:12)
at ClientDuplexStreamImpl.emit (events.js:198:13)
at ClientDuplexStreamImpl.EventEmitter.emit (domain.js:448:20)
at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client.ts:666:18)
at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client-interceptors.ts:387:48)
at process.nextTick (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/call-stream.ts:243:24)
at process._tickCallback (internal/process/next_tick.js:61:11) [object Promise]
from puppet-padlocal.
SERVER_ERROR: 8 RESOURCE_EXHAUSTED: Bandwidth exhausted
的问题是因为 node 计算 maxSessionMemory 的 bug 导致:
nodejs/node@83aaef8
解决方案:建议将node 升级到最新的 14.15.4 LTS
版本
from puppet-padlocal.
下面日志中的问题是否也和node版本有关?
20:36:47 VERB Message say(FileBox#File<pdf.pdf>)
20:37:47 ERR Config ###########################
20:37:47 ERR Config unhandledRejection: VError: [tid:b9144efb] request has been cancelled for reason: SERVER_ERROR: 4 DEADLINE_EXCEEDED: Deadline exceeded
at Request._failAllPendingRequest (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/padlocal-client-ts/src/Request.ts:309:15)
at ClientDuplexStreamImpl.Request._grpcStream.on (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/padlocal-client-ts/src/Request.ts:72:12)
at ClientDuplexStreamImpl.emit (events.js:198:13)
at ClientDuplexStreamImpl.EventEmitter.emit (domain.js:448:20)
at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client.ts:666:18)
at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client-interceptors.ts:387:48)
at process.nextTick (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/call-stream.ts:243:24)
at process._tickCallback (internal/process/next_tick.js:61:11) [object Promise]
from puppet-padlocal.
Fixed, [email protected]
from puppet-padlocal.
Related Issues (20)
- 在本地使用docker 搭建的环境可以运行吗? HOT 2
- 购买了token,一直不给开发票,需要报销的慎重考虑
- 千万别买,说是给发票,现在不理人
- auto logged out
- 这个项目是不是没人负责了?
- 多个项目 多个wechat bot能同时用同一个token吗? HOT 1
- 需要二狗机器人代码的找我vx:codermie HOT 1
- 通过手机号搜索联系人,并添加好友,手机号不存在时报错
- ERROR [ExceptionsHandler] this.friendshipSearchHandle is not a function
- Error: can not find message in cache for messageId:1587692271032419038
- 这个项目还在维护么? HOT 8
- 使用padlocal方式,docker容器启动正常,连接验证通过,但服务启动链接超时 HOT 3
- 如何连接到企业微信个人号呢
- TypeScript版本从 5.4.2 降低到 5, 仍然报错. 有什么办法解决吗?
- 微信ipad协议 本地 部署包 接口(多功能、防封)
- bot.Friendship.add()添加群内好友时,报错UserName is required HOT 1
- Contact this.wechaty.puppet.contactFindAll() rejected: filterValue not found for filterKey: id
- 发送语音失败,还是变成文件 HOT 5
- --
- when will customer online? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-padlocal.