juzibot / donut-tester

40 stars 4 forks source link

user not found by token #52

Closed nines97 closed 3 years ago

nines97 commented 3 years ago

之前用rock的token没问题,但是换成donut却提示我user not found by token,能告诉我该怎么办吗?

13:10:45 ERR PuppetHostie start() rejection: 16 UNAUTHENTICATED: {code:8,message:"user not found by token puppet_donut_0501ab484faec11b"}
Error: 16 UNAUTHENTICATED: {code:8,message:"user not found by token puppet_donut_0501ab484faec11b"}
    at Object.exports.createStatusError (D:\node-workspace\wechaty-getting-started\node_modules\grpc\src\common.js:91:15)
    at Object.onReceiveStatus (D:\node-workspace\wechaty-getting-started\node_modules\grpc\src\client_interceptors.js:1209:28)
    at InterceptingListener._callNext (D:\node-workspace\wechaty-getting-started\node_modules\grpc\src\client_interceptors.js:568:42)
    at InterceptingListener.onReceiveStatus (D:\node-workspace\wechaty-getting-started\node_modules\grpc\src\client_interceptors.js:618:8)
    at callback (D:\node-workspace\wechaty-getting-started\node_modules\grpc\src\client_interceptors.js:847:24) {
  code: 16,
  metadata: Metadata { _internal_repr: {}, flags: 0 },
  details: '{code:8,message:"user not found by token puppet_donut_0501ab484faec11b"}'
}
13:10:45 ERR Wechaty start() exception: 16 UNAUTHENTICATED: {code:8,message:"user not found by token puppet_donut_0501ab484faec11b"}
(node:14728) UnhandledPromiseRejectionWarning: Error: 16 UNAUTHENTICATED: {code:8,message:"user not found by token puppet_donut_0501ab484faec11b"}
    at Object.exports.createStatusError (D:\node-workspace\wechaty-getting-started\node_modules\grpc\src\common.js:91:15)
    at Object.onReceiveStatus (D:\node-workspace\wechaty-getting-started\node_modules\grpc\src\client_interceptors.js:1209:28)
    at InterceptingListener._callNext (D:\node-workspace\wechaty-getting-started\node_modules\grpc\src\client_interceptors.js:568:42)
    at InterceptingListener.onReceiveStatus (D:\node-workspace\wechaty-getting-started\node_modules\grpc\src\client_interceptors.js:618:8)
    at callback (D:\node-workspace\wechaty-getting-started\node_modules\grpc\src\client_interceptors.js:847:24)
(node:14728) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:14728) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
13:10:45 WARN PuppetHostie stop() is called on a OFF puppet. await ready(off) and return.
13:10:45 ERR PuppetHostie start() rejection: event stream exists
13:10:45 WARN Puppet reset() exception: Error: event stream exists
(node:14728) UnhandledPromiseRejectionWarning: Error
    at PuppetHostie.<anonymous> (D:\node-workspace\wechaty-getting-started\node_modules\wechaty\dist\src\wechaty.js:271:44)
    at PuppetHostie.emit (events.js:314:20)
    at PuppetHostie.EventEmitter.emit (domain.js:483:12)
    at D:\node-workspace\wechaty-getting-started\node_modules\wechaty-puppet\dist\src\puppet.js:230:18
(node:14728) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)