You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which puppet are you using for wechaty? (padchat/puppeteer/padpro/...)
Answer: padplus_token (converted to donut token)
I got one donut token from the official merchant, but it is invalid after I switched the account. No new qrcode is forwarded, and my puppet hangs. (It might be another bug, but I am now hosting my own gateway server.)
What is your wechaty-puppet-XXX(padchat/puppeteer/) version?
Answer: wechaty-puppet-hostie 0.2.2
What is your node version? (run node --version)
Answer: I am using docker image, so...
What os are you using
Answer: Centos7 for gateway server, MacOS for dev
2. Describe the bug
This bug has been reported multiple times in the issues, but I did not see any reaction from the developers. I am reporting again to draw more attention and hopefully, I could get some suggestions from the official developers.
I have tried to update all the libraries to the latest version including the gateway docker image.
Gateway server should forward the messages to puppet.
5. Actual behavior
The puppet side cannot get any message and it keeps reporting the same error as the gateway server.
6. Full Output Logs
VERB PuppetServiceImpl messagePayload()
00:04:58 VERB Puppet messagePayload(9144104376834225040)
Error [AssertionError]: Assertion failed
at new goog.asserts.AssertionError (/wechaty/node_modules/google-protobuf/google-protobuf.js:81:876)
at Object.goog.asserts.doAssertFailure_ (/wechaty/node_modules/google-protobuf/google-protobuf.js:82:257)
at Object.goog.asserts.assert [as assert] (/wechaty/node_modules/google-protobuf/google-protobuf.js:83:83)
at jspb.BinaryEncoder.writeUnsignedVarint64 (/wechaty/node_modules/google-protobuf/google-protobuf.js:458:77)
at jspb.BinaryWriter.writeUnsignedVarint64_ (/wechaty/node_modules/google-protobuf/google-protobuf.js:480:507)
at jspb.BinaryWriter.writeUint64 (/wechaty/node_modules/google-protobuf/google-protobuf.js:485:471)
at Function.proto.wechaty.puppet.MessagePayloadResponse.serializeBinaryToWriter (/wechaty/node_modules/@chatie/grpc/dist/generated/wechaty/puppet/message_pb.js:849:12)
at proto.wechaty.puppet.MessagePayloadResponse.serializeBinary (/wechaty/node_modules/@chatie/grpc/dist/generated/wechaty/puppet/message_pb.js:812:47)
at serialize_wechaty_puppet_MessagePayloadResponse (/wechaty/node_modules/@chatie/grpc/dist/generated/wechaty/puppet_grpc_pb.js:460:26)
at sendUnaryResponse (/wechaty/node_modules/grpc/src/server.js:98:15)
at sendUnaryData (/wechaty/node_modules/grpc/src/server.js:600:9)
at Object. (/wechaty/node_modules/wechaty-puppet-hostie/src/server/puppet-implementation.ts:529:16)
at Generator.next ()
at fulfilled (/wechaty/node_modules/wechaty-puppet-hostie/dist/src/server/puppet-implementation.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
reportErrorToServer: true,
messagePattern: 'Assertion failed',
code: 13
7. Additional context
I got this error every time when the gateway server receives one message.
[bug]
The text was updated successfully, but these errors were encountered:
Hi, @inkpool! I'm Dosu, and I'm here to help the wechaty team manage their backlog. I wanted to let you know that we are marking this issue as stale.
From what I understand, you reported a bug in the Wechaty Gateway Server where an assertion fails when the server receives a message. You mentioned that you have already updated all the libraries to the latest version, but the issue still persists. One user, jcai, suggested trying a specific Docker command to resolve the issue.
Before we close this issue, we wanted to check with you if it is still relevant to the latest version of the wechaty repository. If it is, please let us know by commenting on this issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days.
Thank you for your understanding and cooperation!
dosubotbot
added
the
stale
Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
label
Nov 15, 2023
1. Versions
What is your wechaty version?
Answer: 0.4.14
Which puppet are you using for wechaty? (padchat/puppeteer/padpro/...)
Answer: padplus_token (converted to donut token)
I got one donut token from the official merchant, but it is invalid after I switched the account. No new qrcode is forwarded, and my puppet hangs. (It might be another bug, but I am now hosting my own gateway server.)
What is your wechaty-puppet-XXX(padchat/puppeteer/) version?
Answer: wechaty-puppet-hostie 0.2.2
What is your node version? (run
node --version
)Answer: I am using docker image, so...
What os are you using
Answer: Centos7 for gateway server, MacOS for dev
2. Describe the bug
This bug has been reported multiple times in the issues, but I did not see any reaction from the developers. I am reporting again to draw more attention and hopefully, I could get some suggestions from the official developers.
I have tried to update all the libraries to the latest version including the gateway docker image.
3. To Reproduce
#1988 (comment)
Exactly the same steps here.
4. Expected behavior
Gateway server should forward the messages to puppet.
5. Actual behavior
The puppet side cannot get any message and it keeps reporting the same error as the gateway server.
6. Full Output Logs
VERB PuppetServiceImpl messagePayload()
00:04:58 VERB Puppet messagePayload(9144104376834225040)
Error [AssertionError]: Assertion failed
at new goog.asserts.AssertionError (/wechaty/node_modules/google-protobuf/google-protobuf.js:81:876)
at Object.goog.asserts.doAssertFailure_ (/wechaty/node_modules/google-protobuf/google-protobuf.js:82:257)
at Object.goog.asserts.assert [as assert] (/wechaty/node_modules/google-protobuf/google-protobuf.js:83:83)
at jspb.BinaryEncoder.writeUnsignedVarint64 (/wechaty/node_modules/google-protobuf/google-protobuf.js:458:77)
at jspb.BinaryWriter.writeUnsignedVarint64_ (/wechaty/node_modules/google-protobuf/google-protobuf.js:480:507)
at jspb.BinaryWriter.writeUint64 (/wechaty/node_modules/google-protobuf/google-protobuf.js:485:471)
at Function.proto.wechaty.puppet.MessagePayloadResponse.serializeBinaryToWriter (/wechaty/node_modules/@chatie/grpc/dist/generated/wechaty/puppet/message_pb.js:849:12)
at proto.wechaty.puppet.MessagePayloadResponse.serializeBinary (/wechaty/node_modules/@chatie/grpc/dist/generated/wechaty/puppet/message_pb.js:812:47)
at serialize_wechaty_puppet_MessagePayloadResponse (/wechaty/node_modules/@chatie/grpc/dist/generated/wechaty/puppet_grpc_pb.js:460:26)
at sendUnaryResponse (/wechaty/node_modules/grpc/src/server.js:98:15)
at sendUnaryData (/wechaty/node_modules/grpc/src/server.js:600:9)
at Object. (/wechaty/node_modules/wechaty-puppet-hostie/src/server/puppet-implementation.ts:529:16)
at Generator.next ()
at fulfilled (/wechaty/node_modules/wechaty-puppet-hostie/dist/src/server/puppet-implementation.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
reportErrorToServer: true,
messagePattern: 'Assertion failed',
code: 13
7. Additional context
I got this error every time when the gateway server receives one message.
[bug]
The text was updated successfully, but these errors were encountered: