wechaty/python-wechaty

[Bug]: how to use docker of wechaty while use my vpn(clash for windows).

Carey8175 opened this issue · 0 comments

Environment

- wechaty: 0.10.7
- wechaty-puppet: 0.4.23
- wechaty-puppet-service: 0.8.10
- wechaty-plugin-contrib: 
- token type: padlocal|wxwork|xp padlocal
- the version of wechaty docker container: [0.65]

Description

While I use my VPN, I find that the docker cant run correctly.I guess that there something wrong with network in docker container inside.
My docker gave the wrong info:

ERR Config ###########################
2023-06-08 21:29:09 13:29:09 ERR Config process.on(unhandledRejection) promise.catch([tid:3d44242b] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:3d44242b] wechat request io error)
2023-06-08 21:29:09 Config SubRequestCancelError [VError]: [tid:3d44242b] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:3d44242b] wechat request io error
2023-06-08 21:29:09     at Request._failAllPendingRequest (/wechaty/node_modules/padlocal-client-ts/src/Request.ts:334:15)
2023-06-08 21:29:09     at ClientDuplexStreamImpl.<anonymous> (/wechaty/node_modules/padlocal-client-ts/src/Request.ts:82:12)
2023-06-08 21:29:09     at ClientDuplexStreamImpl.emit (events.js:400:28)
2023-06-08 21:29:09     at ClientDuplexStreamImpl.emit (domain.js:470:12)
2023-06-08 21:29:09     at Object.onReceiveStatus (/wechaty/node_modules/@grpc/grpc-js/src/client.ts:670:18)
2023-06-08 21:29:09     at Object.onReceiveStatus (/wechaty/node_modules/@grpc/grpc-js/src/client-interceptors.ts:389:48)
2023-06-08 21:29:09     at /wechaty/node_modules/@grpc/grpc-js/src/call-stream.ts:276:24
2023-06-08 21:29:09     at processTicksAndRejections (internal/process/task_queues.js:77:11) {
2023-06-08 21:29:09   jse_shortmsg: '[tid:3d44242b] request has been cancelled for reason: SERVER_ERROR',
2023-06-08 21:29:09   jse_cause: Error: 2 UNKNOWN: [tid:3d44242b] wechat request io error
2023-06-08 21:29:09       at Object.callErrorFromStatus (/wechaty/node_modules/@grpc/grpc-js/src/call.ts:81:24)
2023-06-08 21:29:09       at Object.onReceiveStatus (/wechaty/node_modules/@grpc/grpc-js/src/client.ts:670:32)
2023-06-08 21:29:09       at Object.onReceiveStatus (/wechaty/node_modules/@grpc/grpc-js/src/client-interceptors.ts:389:48)
2023-06-08 21:29:09       at /wechaty/node_modules/@grpc/grpc-js/src/call-stream.ts:276:24
2023-06-08 21:29:09       at processTicksAndRejections (internal/process/task_queues.js:77:11) {
2023-06-08 21:29:09     code: 2,
2023-06-08 21:29:09     details: '[tid:3d44242b] wechat request io error',
2023-06-08 21:29:09     metadata: Metadata { internalRepr: Map(0) {}, options: {} }
2023-06-08 21:29:09   },
2023-06-08 21:29:09   jse_info: {},
2023-06-08 21:29:09   reason: 1
2023-06-08 21:29:09 }
2023-06-08 21:29:09 (node:48) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
2023-06-08 21:29:09 (Use `node --trace-warnings ...` to show where the warning was created)
2023-06-08 21:29:10 13:29:10 ERR Config ###########################
2023-06-08 21:29:10 13:29:10 ERR Config unhandledRejection: VError: [tid:ea3e1547] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:ea3e1547] wechat request io error
2023-06-08 21:29:10     at Request._failAllPendingRequest (/wechaty/node_modules/padlocal-client-ts/src/Request.ts:334:15)
2023-06-08 21:29:10     at ClientDuplexStreamImpl.<anonymous> (/wechaty/node_modules/padlocal-client-ts/src/Request.ts:82:12)
2023-06-08 21:29:10     at ClientDuplexStreamImpl.emit (events.js:400:28)
2023-06-08 21:29:10     at ClientDuplexStreamImpl.emit (domain.js:470:12)
2023-06-08 21:29:10     at Object.onReceiveStatus (/wechaty/node_modules/@grpc/grpc-js/src/client.ts:670:18)
2023-06-08 21:29:10     at Object.onReceiveStatus (/wechaty/node_modules/@grpc/grpc-js/src/client-interceptors.ts:389:48)
2023-06-08 21:29:10     at /wechaty/node_modules/@grpc/grpc-js/src/call-stream.ts:276:24
2023-06-08 21:29:10     at processTicksAndRejections (internal/process/task_queues.js:77:11) [object Promise]
2023-06-08 21:29:10 13:29:10 ERR Config ###########################
2023-06-08 21:29:10 13:29:10 ERR Config process.on(unhandledRejection) promise.catch([tid:ea3e1547] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:ea3e1547] wechat request io error)
2023-06-08 21:29:10 Config SubRequestCancelError [VError]: [tid:ea3e1547] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:ea3e1547] wechat request io error
2023-06-08 21:29:10     at Request._failAllPendingRequest (/wechaty/node_modules/padlocal-client-ts/src/Request.ts:334:15)
2023-06-08 21:29:10     at ClientDuplexStreamImpl.<anonymous> (/wechaty/node_modules/padlocal-client-ts/src/Request.ts:82:12)
2023-06-08 21:29:10     at ClientDuplexStreamImpl.emit (events.js:400:28)
2023-06-08 21:29:10     at ClientDuplexStreamImpl.emit (domain.js:470:12)
2023-06-08 21:29:10     at Object.onReceiveStatus (/wechaty/node_modules/@grpc/grpc-js/src/client.ts:670:18)
2023-06-08 21:29:10     at Object.onReceiveStatus (/wechaty/node_modules/@grpc/grpc-js/src/client-interceptors.ts:389:48)
2023-06-08 21:29:10     at /wechaty/node_modules/@grpc/grpc-js/src/call-stream.ts:276:24
2023-06-08 21:29:10     at processTicksAndRejections (internal/process/task_queues.js:77:11) {
2023-06-08 21:29:10   jse_shortmsg: '[tid:ea3e1547] request has been cancelled for reason: SERVER_ERROR',
2023-06-08 21:29:10   jse_cause: Error: 2 UNKNOWN: [tid:ea3e1547] wechat request io error
2023-06-08 21:29:10       at Object.callErrorFromStatus (/wechaty/node_modules/@grpc/grpc-js/src/call.ts:81:24)
2023-06-08 21:29:10       at Object.onReceiveStatus (/wechaty/node_modules/@grpc/grpc-js/src/client.ts:670:32)
2023-06-08 21:29:10       at Object.onReceiveStatus (/wechaty/node_modules/@grpc/grpc-js/src/client-interceptors.ts:389:48)
2023-06-08 21:29:10       at /wechaty/node_modules/@grpc/grpc-js/src/call-stream.ts:276:24
2023-06-08 21:29:10       at processTicksAndRejections (internal/process/task_queues.js:77:11) {
2023-06-08 21:29:10     code: 2,
2023-06-08 21:29:10     details: '[tid:ea3e1547] wechat request io error',
2023-06-08 21:29:10     metadata: Metadata { internalRepr: Map(0) {}, options: {} }
2023-06-08 21:29:10   },
2023-06-08 21:29:10   jse_info: {},
2023-06-08 21:29:10   reason: 1

Minimum reproducible code

no code