small-tou / wechat-ai-summarize-bot

微信群聊总结助手 JS 版
https://zhinang.ai
166 stars 25 forks source link

multiple padlocal instance per token error #41

Open checkming opened 3 months ago

checkming commented 3 months ago

成功弹出了二维码,也扫码成功了,但随后日志提示如下:

3|main | 17:43:39 WARN [PadLocalClient] 3|main | ================================================================================ 3|main | WARNING: You are running multiple PadLocal client instances for the same token, 3|main | this may cause unexpected behaviors. Shutdown others and keep only one instance 3|main | per token, then retry. 3|main | ================================================================================ 3|main | 17:43:39 ERR [Request] [tid:3c51849a], padlocal grpc request failed: 1, error: Error: 2 UNKNOWN: [tid:3c51849a] multiple padlocal instance per token error 3|main | 17:43:39 WARN [LongLink] [117.185.25.32:80] close connection on error,IOError: Exception while unpacking long link data: [tid:3c51849a] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:3c51849a] multiple padlocal instance per token error 3|main | 17:43:39 WARN [LongLink] longlink reconnect [1] after delay:1000ms 3|main | SubRequestCancelError [VError]: [tid:3c51849a] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:3c51849a] multiple padlocal instance per token error 3|main | at Request._failAllPendingRequest (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/padlocal-client-ts@0.5.3/node_modules/padlocal-client-ts/src/Request.ts:338:15) 3|main | at ClientDuplexStreamImpl. (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/padlocal-client-ts@0.5.3/node_modules/padlocal-client-ts/src/Request.ts:82:12) 3|main | at ClientDuplexStreamImpl.emit (node:events:518:28) 3|main | at Object.onReceiveStatus (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/@grpc+grpc-js@1.11.1/node_modules/@grpc/grpc-js/src/client.ts:706:18) 3|main | at Object.onReceiveStatus (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/@grpc+grpc-js@1.11.1/node_modules/@grpc/grpc-js/src/client-interceptors.ts:419:48) 3|main | at /Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/@grpc+grpc-js@1.11.1/node_modules/@grpc/grpc-js/src/resolving-call.ts:163:24 3|main | at processTicksAndRejections (node:internal/process/task_queues:77:11) { 3|main | jse_shortmsg: '[tid:3c51849a] request has been cancelled for reason: SERVER_ERROR', 3|main | jse_cause: Error: 2 UNKNOWN: [tid:3c51849a] multiple padlocal instance per token error 3|main | at callErrorFromStatus (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/@grpc+grpc-js@1.11.1/node_modules/@grpc/grpc-js/src/call.ts:82:17) 3|main | at Object.onReceiveStatus (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/@grpc+grpc-js@1.11.1/node_modules/@grpc/grpc-js/src/client.ts:706:51) 3|main | at Object.onReceiveStatus (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/@grpc+grpc-js@1.11.1/node_modules/@grpc/grpc-js/src/client-interceptors.ts:419:48) 3|main | at /Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/@grpc+grpc-js@1.11.1/node_modules/@grpc/grpc-js/src/resolving-call.ts:163:24 3|main | at processTicksAndRejections (node:internal/process/task_queues:77:11) 3|main | for call at 3|main | at ServiceClientImpl.makeBidiStreamRequest (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/@grpc+grpc-js@1.11.1/node_modules/@grpc/grpc-js/src/client.ts:690:42) 3|main | at ServiceClientImpl.action (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/@grpc+grpc-js@1.11.1/node_modules/@grpc/grpc-js/src/make-client.ts:189:15) 3|main | at new Request (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/padlocal-client-ts@0.5.3/node_modules/padlocal-client-ts/src/Request.ts:62:47) 3|main | at PadLocalClient.createRequest (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/padlocal-client-ts@0.5.3/node_modules/padlocal-client-ts/src/PadLocalClient.ts:106:17) 3|main | at PadLocalClient. (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/padlocal-client-ts@0.5.3/node_modules/padlocal-client-ts/src/PadLocalClient.ts:143:17) 3|main | at Generator.next () 3|main | at /Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/padlocal-client-ts@0.5.3/node_modules/padlocal-client-ts/dist/PadLocalClient.js:8:71 3|main | at new Promise () 3|main | at __awaiter (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/padlocal-client-ts@0.5.3/node_modules/padlocal-client-ts/dist/PadLocalClient.js:4:12) 3|main | at PadLocalClient.request (/Users/apple/wxBot/wechat-ai-summarize-bot-main/node_modules/.store/padlocal-client-ts@0.5.3/node_modules/padlocal-client-ts/dist/PadLocalClient.js:124:16) { 3|main | code: 2, 3|main | details: '[tid:3c51849a] multiple padlocal instance per token error', 3|main | metadata: Metadata { internalRepr: [Map], options: {} } 3|main | }, 3|main | jse_info: {}, 3|main | reason: 1, 3|main | cause: [Function: ve_cause] 3|main | } 3|main | 17:43:47 INFO [PadLocalDemo] onScan: Scanned(3) 3|main | 17:44:02 WARN [PadLocalClient]