Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

发送文件下载一次后,后续再发送相同的文件,无法正常下载 #18

Closed
su-chang opened this issue Dec 28, 2020 · 6 comments

Comments

@su-chang
Copy link
Member

日志

15:20:25 VERB Message say(FileBox#Url<rc-upload-1602042587168-16_1602090288510_3M.txt>)
15:20:51 VERB Message static load(7854934356697007990)
15:20:51 VERB Message constructor(7854934356697007990) for class WechatifiedMessage
15:20:51 VERB Message ready()
15:20:51 VERB Puppet messagePayload(7854934356697007990)
15:20:51 SILL Puppet messagePayloadCache(7854934356697007990) cache MISS
15:20:51 WARN [SchemaMapper] Error occurred while parse message attachment: TypeError: Cannot read property 'msg' of null
    at Object.appMessageParser (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/wechaty-puppet-padlocal/src/padlocal/message-parser/helpers/message-appmsg.ts:89:74)
    at process._tickCallback (internal/process/next_tick.js:68:7)
15:20:51 SILL Puppet messagePayload(7854934356697007990) cache SET
15:20:51 SILL Contact ready() @ Puppet#0<PuppetPadlocal>() with id="wxid_8kg1wdu3jvk322"
15:20:51 SILL Contact ready() isReady() true
15:20:51 SILL Contact ready() @ Puppet#0<PuppetPadlocal>() with id="Soul001001"
15:20:51 SILL Contact ready() isReady() true
msg send file: {"domain":null,"_events":{},"_eventsCount":0,"id":"7854934356697007990","payload":{"id":"7854934356697007990","timestamp":1609140028,"type":1,"fromId":"wxid_8kg1wdu3jvk322","mentionIdList":[],"text":"","toId":"Soul001001"}}

参考图片

image

image

@su-chang su-chang mentioned this issue Dec 28, 2020
18 tasks
@padlocal
Copy link
Collaborator

padlocal commented Jan 3, 2021

fixed

@su-chang
Copy link
Member Author

su-chang commented Jan 4, 2021

仍有问题,目前再次发送相同的文件会有以下报错。

14:01:04 VERB Message say(FileBox#File<tsconfig.json>)
14:01:04 ERR Config ###########################
14:01:04 ERR Config unhandledRejection: VError: [tid:3978d70a] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:3978d70a] wechat bad request 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]

@padlocal
Copy link
Collaborator

padlocal commented Jan 6, 2021

fixed

@su-chang
Copy link
Member Author

su-chang commented Jan 6, 2021

哪个版本?

@padlocal
Copy link
Collaborator

padlocal commented Jan 6, 2021

不好意思,可以用 wechaty-puppet-padlocal@0.2.19 测试

@su-chang
Copy link
Member Author

su-chang commented Jan 6, 2021

已解决

@su-chang su-chang closed this as completed Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants