Open Reed-yang opened 1 year ago
在 Actions 上的确会经常连不上阿里云…
On Sat, Jun 10, 2023 at 01:46 Reed-yang @.***> wrote:
不知道是不是我设置的问题,在Actions部署至aliyun,遇到如下错误:
Run @. with: access-key-id:
access-key-secret: *** fullchain-file: certs-output/fullchain.pem key-file: certs-output/key.pem certificate-name: My certificate cdn-domains: ***
env: TARGET: main CERTS_OUTPUT_DIRECTORY: certs-output FILE_FULLCHAIN: fullchain.pem FILE_KEY: key.pem FILE_PFX: certificate.pfx PFX_PASSWORD: qwq yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... Done in 2.02s. RequestTimeoutError: ReadTimeout(3000). POST https://cas.aliyuncs.com/ failed. at Timeout.
(/home/runner/work/_actions/Menci/deploy-certificate-to-aliyun/main/node_modules/httpx/lib/index.js:120:19) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) Error: RequestTimeoutError: ReadTimeout(3000). POST https://cas.aliyuncs.com/ failed. 使用的是Aliyun账户Accesskey,所以应该是有全部权限的,在AccessKey 审计中可以看到有访问记录,最后一条记录事件名为 DescribeUserCertificateList,详情:
{ "acsRegion": "cn-hangzhou", "additionalEventData": { "CallerBid": "26842" }, "apiVersion": "2018-07-13", "eventCategory": "Management", "eventId": "743A8B49-7E3B-5C79-9E6B-BB9FA8B902C0", "eventName": "DescribeUserCertificateList", "eventRW": "Read", "eventSource": "cas.aliyuncs.com", "eventTime": "2023-06-09T17:35:42Z", "eventType": "ApiCall", "eventVersion": "1", "requestId": "743A8B49-7E3B-5C79-9E6B-BB9FA8B902C0", "requestParameters": { "UserAgent": "AlibabaCloud (linux", "ShowSize": 50, "ClientPort": 62568, "AcsProduct": "cas", "CurrentPage": 775 }, "serviceName": "cas", "sourceIpAddress": "104.45.204.184", "userAgent": "AlibabaCloud (linux; x64) Node.js/v16.16.0 Core/1.7.10", "userIdentity": { "accessKeyId": "", "accountId": "", "principalId": "***", "sessionContext": { "attributes": { "mfaAuthenticated": "false", "creationDate": "2023-06-09T17:35:41Z" } }, "type": "root-account", "userName": "root" } }
— Reply to this email directly, view it on GitHub https://github.com/Menci/deploy-certificate-to-aliyun/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWRBA7AUX5BOZZQ7HZL5V3XKNOPPANCNFSM6AAAAAAZA56N7U . You are receiving this because you are subscribed to this thread.Message ID: @.***>
在 Actions 上的确会经常连不上阿里云… … On Sat, Jun 10, 2023 at 01:46 Reed-yang @.> wrote: 不知道是不是我设置的问题,在Actions部署至aliyun,遇到如下错误: Run @. with: access-key-id: access-key-secret: fullchain-file: certs-output/fullchain.pem key-file: certs-output/key.pem certificate-name: My certificate cdn-domains: env: TARGET: main CERTS_OUTPUT_DIRECTORY: certs-output FILE_FULLCHAIN: fullchain.pem FILE_KEY: key.pem FILE_PFX: certificate.pfx PFX_PASSWORD: qwq yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... Done in 2.02s. RequestTimeoutError: ReadTimeout(3000). POST https://cas.aliyuncs.com/ failed. at Timeout.
(/home/runner/work/_actions/Menci/deploy-certificate-to-aliyun/main/node_modules/httpx/lib/index.js:120:19) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) Error: RequestTimeoutError: ReadTimeout(3000). POST https://cas.aliyuncs.com/ failed. 使用的是Aliyun账户Accesskey,所以应该是有全部权限的,在AccessKey 审计中可以看到有访问记录,最后一条记录事件名为 DescribeUserCertificateList,详情: { "acsRegion": "cn-hangzhou", "additionalEventData": { "CallerBid": "26842" }, "apiVersion": "2018-07-13", "eventCategory": "Management", "eventId": "743A8B49-7E3B-5C79-9E6B-BB9FA8B902C0", "eventName": "DescribeUserCertificateList", "eventRW": "Read", "eventSource": "cas.aliyuncs.com", "eventTime": "2023-06-09T17:35:42Z", "eventType": "ApiCall", "eventVersion": "1", "requestId": "743A8B49-7E3B-5C79-9E6B-BB9FA8B902C0", "requestParameters": { "UserAgent": "AlibabaCloud (linux", "ShowSize": 50, "ClientPort": 62568, "AcsProduct": "cas", "CurrentPage": 775 }, "serviceName": "cas", "sourceIpAddress": "104.45.204.184", "userAgent": "AlibabaCloud (linux; x64) Node.js/v16.16.0 Core/1.7.10", "userIdentity": { "accessKeyId": " ", "accountId": "", "principalId": "", "sessionContext": { "attributes": { "mfaAuthenticated": "false", "creationDate": "2023-06-09T17:35:41Z" } }, "type": "root-account", "userName": "root" } } — Reply to this email directly, view it on GitHub <#2>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWRBA7AUX5BOZZQ7HZL5V3XKNOPPANCNFSM6AAAAAAZA56N7U . You are receiving this because you are subscribed to this thread.Message ID: @.***>
那咋办🥲难道要手动上传证书
多重试几次试试吧
On Sat, Jun 10, 2023 at 3:40 PM Reed-yang @.***> wrote:
在 Actions 上的确会经常连不上阿里云… … <#m6675549278289197615> On Sat, Jun 10, 2023 at 01:46 Reed-yang @.> wrote: 不知道是不是我设置的问题,在Actions部署至aliyun,遇到如下错误: Run @. with: access-key-id: access-key-secret: fullchain-file: certs-output/fullchain.pem key-file: certs-output/key.pem certificate-name: My certificate cdn-domains: ** env: TARGET: main CERTS_OUTPUT_DIRECTORY: certs-output FILE_FULLCHAIN: fullchain.pem FILE_KEY: key.pem FILE_PFX: certificate.pfx PFX_PASSWORD: qwq yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... Done in 2.02s. RequestTimeoutError: ReadTimeout(3000). POST https://cas.aliyuncs.com/ failed. at Timeout. (/home/runner/work/_actions/Menci/deploy-certificate-to-aliyun/main/node_modules/httpx/lib/index.js:120:19) at listOnTimeout (node:internal/timers:559:17 https://github.com/Reed-yang/auto_ssl/actions/runs/5224459112/jobs/9432704737#step:3:7) at processTimers (node:internal/timers:502:7) Error: RequestTimeoutError: ReadTimeout(3000). POST https://cas.aliyuncs.com/ failed. 使用的是Aliyun账户Accesskey,所以应该是有全部权限的,在AccessKey 审计中可以看到有访问记录,最后一条记录事件名为 DescribeUserCertificateList,详情: { "acsRegion": "cn-hangzhou", "additionalEventData": { "CallerBid": "26842" }, "apiVersion": "2018-07-13", "eventCategory": "Management", "eventId": "743A8B49-7E3B-5C79-9E6B-BB9FA8B902C0", "eventName": "DescribeUserCertificateList", "eventRW": "Read", "eventSource": " cas.aliyuncs.com", "eventTime": "2023-06-09T17:35:42Z", "eventType": "ApiCall", "eventVersion": "1", "requestId": "743A8B49-7E3B-5C79-9E6B-BB9FA8B902C0", "requestParameters": { "UserAgent": "AlibabaCloud (linux", "ShowSize": 50, "ClientPort": 62568, "AcsProduct": "cas", "CurrentPage": 775 }, "serviceName": "cas", "sourceIpAddress": "104.45.204.184", "userAgent": "AlibabaCloud (linux; x64) Node.js/v16.16.0 Core/1.7.10", "userIdentity": { "accessKeyId": "", "accountId": "", "principalId": "", "sessionContext": { "attributes": { "mfaAuthenticated": "false", "creationDate": "2023-06-09T17:35:41Z" } }, "type": "root-account", "userName": "root" } } — Reply to this email directly, view it on GitHub <#2 https://github.com/Menci/deploy-certificate-to-aliyun/issues/2>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWRBA7AUX5BOZZQ7HZL5V3XKNOPPANCNFSM6AAAAAAZA56N7U https://github.com/notifications/unsubscribe-auth/ACWRBA7AUX5BOZZQ7HZL5V3XKNOPPANCNFSM6AAAAAAZA56N7U . You are receiving this because you are subscribed to this thread.Message ID: @.*>
那咋办🥲难道要手动上传证书
— Reply to this email directly, view it on GitHub https://github.com/Menci/deploy-certificate-to-aliyun/issues/2#issuecomment-1585536620, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWRBA6WBZ2XURUT2T23S6TXKQQGLANCNFSM6AAAAAAZA56N7U . You are receiving this because you commented.Message ID: @.***>
多重试几次试试吧 … On Sat, Jun 10, 2023 at 3:40 PM Reed-yang @.> wrote: 在 Actions 上的确会经常连不上阿里云… … <#m6675549278289197615> On Sat, Jun 10, 2023 at 01:46 Reed-yang @.> wrote: 不知道是不是我设置的问题,在Actions部署至aliyun,遇到如下错误: Run @. with: access-key-id: access-key-secret: fullchain-file: certs-output/fullchain.pem key-file: certs-output/key.pem certificate-name: My certificate cdn-domains: env: TARGET: main CERTS_OUTPUT_DIRECTORY: certs-output FILE_FULLCHAIN: fullchain.pem FILE_KEY: key.pem FILE_PFX: certificate.pfx PFX_PASSWORD: qwq yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... Done in 2.02s. RequestTimeoutError: ReadTimeout(3000). POST https://cas.aliyuncs.com/ failed. at Timeout. (/home/runner/work/_actions/Menci/deploy-certificate-to-aliyun/main/node_modules/httpx/lib/index.js:120:19) at listOnTimeout (node:internal/timers:559:17 https://github.com/Reed-yang/auto_ssl/actions/runs/5224459112/jobs/9432704737#step:3:7) at processTimers (node:internal/timers:502:7) Error: RequestTimeoutError: ReadTimeout(3000). POST https://cas.aliyuncs.com/ failed. 使用的是Aliyun账户Accesskey,所以应该是有全部权限的,在AccessKey 审计中可以看到有访问记录,最后一条记录事件名为 DescribeUserCertificateList,详情: { "acsRegion": "cn-hangzhou", "additionalEventData": { "CallerBid": "26842" }, "apiVersion": "2018-07-13", "eventCategory": "Management", "eventId": "743A8B49-7E3B-5C79-9E6B-BB9FA8B902C0", "eventName": "DescribeUserCertificateList", "eventRW": "Read", "eventSource": " cas.aliyuncs.com", "eventTime": "2023-06-09T17:35:42Z", "eventType": "ApiCall", "eventVersion": "1", "requestId": "743A8B49-7E3B-5C79-9E6B-BB9FA8B902C0", "requestParameters": { "UserAgent": "AlibabaCloud (linux", "ShowSize": 50, "ClientPort": 62568, "AcsProduct": "cas", "CurrentPage": 775 }, "serviceName": "cas", "sourceIpAddress": "104.45.204.184", "userAgent": "AlibabaCloud (linux; x64) Node.js/v16.16.0 Core/1.7.10", "userIdentity": { "accessKeyId": "", "accountId": "", "principalId": "", "sessionContext": { "attributes": { "mfaAuthenticated": "false", "creationDate": "2023-06-09T17:35:41Z" } }, "type": "root-account", "userName": "root" } } — Reply to this email directly, view it on GitHub <#2 <#2>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWRBA7AUX5BOZZQ7HZL5V3XKNOPPANCNFSM6AAAAAAZA56N7U https://github.com/notifications/unsubscribe-auth/ACWRBA7AUX5BOZZQ7HZL5V3XKNOPPANCNFSM6AAAAAAZA56N7U . You are receiving this because you are subscribed to this thread.Message ID: @.> 那咋办🥲难道要手动上传证书 — Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWRBA6WBZ2XURUT2T23S6TXKQQGLANCNFSM6AAAAAAZA56N7U . You are receiving this because you commented.Message ID: @.***>
反复试了好几次还是Timeout,根据在事件审计中名为DescribeUserCertificateList
的记录,我在阿里云的OpenAPI中搜到了如下:
看来或许是这个接口已经无法使用,而您的脚本刚好调用了该接口?您有什么头绪吗🥲
奇怪,我自己这里都是成功的,最近很久没失败过了
你要不要手动试一试去阿里云 API 测试工具上调这个 API,DescribeUserCertificateList (ShowSize = 50) 看会不会有问题
Hello
I have the same issue for a Chinese domain (.com.cn) but seems to work ok for (.com):
I'm fetching the certification using Aliyun (Alibaba Cloud) DNS Plugin
Warning: Unexpected input(s) 'timeout', 'retry', valid inputs are ['access-key-id', 'access-key-secret', 'security-token', 'fullchain-file', 'key-file', 'certificate-name', 'cdn-domains']
Run Menci/deploy-certificate-to-aliyun@beta-v1
with:
access-key-id: ***
access-key-secret: ***
fullchain-file: /home/runner/.config/Posh-ACME/LE_PROD/173560685[2](https://github.com/MyCompany/Service/actions/runs/9153733142/job/25163159209#step:4:2)/!.MyCompany.com.cn/fullchain.cer
key-file: /home/runner/.config/Posh-ACME/LE_PROD/17[3](https://github.com/MyCompany/Service/actions/runs/9153733142/job/25163159209#step:4:3)5606852/!.MyCompany.com.cn/cert.key
certificate-name: ViaScheduledJob
cdn-domains: www.MyCompany.com.cn docs.MyCompany.com.cn
timeout: 10000
retry: 3
yarn install v1.22.22
[1/[4](https://github.com/MyCompany/Service/actions/runs/9153733142/job/25163159209#step:4:4)] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 1.1[5](https://github.com/MyCompany/Service/actions/runs/9153733142/job/25163159209#step:4:5)s.
RequestTimeoutError: ReadTimeout(3000). POST https://cas.aliyuncs.com/ failed.
at Timeout.<anonymous> (/home/runner/work/_actions/Menci/deploy-certificate-to-aliyun/beta-v1/node_modules/httpx/lib/index.js:120:19)
at listOnTimeout (node:internal/timers:559:1[7](https://github.com/MyCompany/Service/actions/runs/9153733142/job/25163159209#step:4:7))
at processTimers (node:internal/timers:502:7)
Error: RequestTimeoutError: ReadTimeout(3000). POST https://cas.aliyuncs.com/ failed.
By the way: retry
and timeout
is not working - Is there a new version (I'm using Menci/deploy-certificate-to-aliyun@beta-v1
)
我建议目前遇到这个情况,重新换个仓库建github action。我最近就遇到了,同样的yaml文件,仓库A每次都是超时,换个仓库就没超时了,偶尔一次超时
不知道是不是我设置的问题,在Actions部署至aliyun,遇到如下错误:
使用的是Aliyun账户Accesskey,所以应该是有全部权限的,在AccessKey 审计中可以看到有访问记录,最后一条记录事件名为
DescribeUserCertificateList
,详情: