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

有人尝试过制作docker镜像并且运行成功吗? #21

Open
tertiozhang opened this issue Jun 2, 2023 · 1 comment
Open

有人尝试过制作docker镜像并且运行成功吗? #21

tertiozhang opened this issue Jun 2, 2023 · 1 comment

Comments

@tertiozhang
Copy link

我可以在本地运行这个项目,现在想制作docker镜像并且放到云端运行,在运行docker镜像的时候,gRPC出错,导致登录不成功,错误信息如下:

01:11:39 INFO
============================================================
Welcome to Wechaty PadLocal puppet!

   - puppet-padlocal version: 1.20.1
   - padlocal-ts-client version: 0.5.3
  ============================================================

01:11:39 INFO [PadLocalDemo] started.
01:11:39 INFO [PuppetPadlocal] start login with type: QrLogin
01:11:40 ERR [Request] [tid:d744e852], padlocal grpc request failed: 1, error: Error: 2 UNKNOWN: [tid:d744e852] wechat request io error
01:11:40 WARN [LongLink] [182.50.10.168:80] close connection on error,IOError: long link init failed: [tid:d744e852] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:d744e852] wechat request io error
01:11:40 WARN [LongLink] longlink reconnect [1] after delay:1000ms
VError: [tid:d744e852] request has been cancelled for reason: SERVER_ERROR: 2 UNKNOWN: [tid:d744e852] wechat request io error
at Request._failAllPendingRequest (/app/node_modules/padlocal-client-ts/src/Request.ts:338:15)
at ClientDuplexStreamImpl. (/app/node_modules/padlocal-client-ts/src/Request.ts:82:12)
at ClientDuplexStreamImpl.emit (node:events:513:28)
at ClientDuplexStreamImpl.emit (node:domain:489:12)
at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/src/client.ts:692:18)
at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/src/client-interceptors.ts:417:48)
at /app/node_modules/@grpc/grpc-js/src/resolving-call.ts:111:24
at processTicksAndRejections (node:internal/process/task_queues:77:11)

@jackchang1025
Copy link

我也是,在本地使用 node16 构建的镜像,安装运行报错:
image

image

查看 wechaty 文档说要配置阿里云虚拟机,是不是不能在本地运行,感觉文档真的多乱杂,看的真痛苦

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