serverless-tencent icon indicating copy to clipboard operation
serverless-tencent copied to clipboard

DNS 解析失败:apigw.tencentcs.com

Open fungaren opened this issue 10 months ago • 0 comments

BUG 描述:

复现步骤:

预期结果:

实际结果:

[2023-08-27 16:02:52] + slt deploy --debug

[2023-08-27 16:02:53] 正在初始化... 

[2023-08-27 16:02:53] Action: "deploy" - Stage: "dev" - App: "" - Name: "" 

[2023-08-27 16:02:53] Error: 网络连接中断,请重试: getaddrinfo ENOTFOUND [service-bc4dnfla-1300963013.gz.apigw.tencentcs.com](http://service-bc4dnfla-1300963013.gz.apigw.tencentcs.com/)

[2023-08-27 16:02:53]     at WebSocket.<anonymous> (/root/node-v18.17.1-linux-x64/lib/node_modules/serverless-tencent/node_modules/@serverless/platform-client-china/src/Connection.js:66:19)

[2023-08-27 16:02:53]     at WebSocket.emit (node:events:514:28)

[2023-08-27 16:02:53]     at emitErrorAndClose (/root/node-v18.17.1-linux-x64/lib/node_modules/serverless-tencent/node_modules/ws/lib/websocket.js:895:13)

[2023-08-27 16:02:53]     at ClientRequest.<anonymous> (/root/node-v18.17.1-linux-x64/lib/node_modules/serverless-tencent/node_modules/ws/lib/websocket.js:752:5)

[2023-08-27 16:02:53]     at ClientRequest.emit (node:events:514:28)

[2023-08-27 16:02:53]     at TLSSocket.socketErrorListener (node:_http_client:501:9)

[2023-08-27 16:02:53]     at TLSSocket.emit (node:events:514:28)

[2023-08-27 16:02:53]     at emitErrorNT (node:internal/streams/destroy:151:8)

[2023-08-27 16:02:53]     at emitErrorCloseNT (node:internal/streams/destroy:116:3)

[2023-08-27 16:02:53]     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

[2023-08-27 16:02:53] 

[2023-08-27 16:02:53] 

[2023-08-27 16:02:53] x deploy 失败 (0s)

[2023-08-27 16:02:53] 

[2023-08-27 16:02:53] 帮助文档:    https://cn.serverless.com/framework/docs

[2023-08-27 16:02:53] BUG提交:     https://github.com/serverless/serverless-tencent/issues

[2023-08-27 16:02:53] 问答社区:    https://github.com/serverless/serverless-tencent/discussions

[2023-08-27 16:02:53] 

[2023-08-27 16:02:53] Error:

[2023-08-27 16:02:53] 获取调试信息失败

[2023-08-27 16:02:53] 错误信息: 网络连接中断,请重试: getaddrinfo ENOTFOUND [service-bc4dnfla-1300963013.gz.apigw.tencentcs.com](http://service-bc4dnfla-1300963013.gz.apigw.tencentcs.com/)

[2023-08-27 16:02:53] 

[2023-08-27 16:02:53] Environment: linux, node v18.17.1, tencent v3.21.6

[2023-08-27 16:02:53]

调试信息:

环境版本
- requestId: ... # 如果在异常信息中显示请提供
- traceId: ... # 如果在异常信息中显示请提供
- 操作系统(OS): ... # 如: MacOS 11.2.3
- Node 版本: ... # 如: 12.20.1
# 使用 "serverless --version" 查看serverless版本信息
- Components 版本: ... # 如: 3.7.2
- Framework 版本: ... # 如: 2.28.7
- SDK 版本: ... # 如: 2.3.2

serverless.yml 配置
# 在这里填写完整的serverless.yml配置信息

DEBUG 输出
# 添加环境变量 SLS_DEBUG=* 并重新执行命令,然后复制命令以及控制台输出粘贴在这里。

额外信息

fungaren avatar Aug 27 '23 08:08 fungaren