andrii-bodnar / action-crowdin-contributors

A GitHub action to automate acknowledging translators and proofreaders to your projects ✨
https://github.com/marketplace/actions/action-crowdin-contributors
MIT License
13 stars 2 forks source link

Failed to download contributors info of the project in Crowdin Enterprise #102

Open hwhsu1231 opened 5 months ago

hwhsu1231 commented 5 months ago

Problem Description

Recently, I tried to download contributors info of the project in Crowdin Enterprise:

Click to expand the configuration I used in the workflow ```yml - name: Set up Environment Variables shell: bash run: | echo "CROWDIN_PROJECT_ID=8" >> $GITHUB_ENV echo "CROWDIN_ORGANIZATION=https://org-test.api.crowdin.com" >> $GITHUB_ENV echo "CROWDIN_PERSONAL_TOKEN=${{ secrets.CROWDIN_PERSONAL_TOKEN }}" >> $GITHUB_ENV - name: Update Crowdin Contributors Table uses: andrii-bodnar/action-crowdin-contributors@v2.0.0 with: contributors_per_line: 8 max_contributors: 32 image_size: 50 min_words_contributed: 256 include_languages: true files: docs/CROWDIN_CONTRIBUTORS.md ```

But it failed with the following error message:

Click to expand the error message ``` ##[debug]Evaluating condition for step: 'Update Crowdin Contributors Table' ##[debug]Evaluating: success() ##[debug]Evaluating success: ##[debug]=> true ##[debug]Result: true ##[debug]Starting: Update Crowdin Contributors Table ##[debug]Loading inputs ##[debug]Loading env Run andrii-bodnar/action-crowdin-contributors@v[2](https://github.com/hwhsu1231/cmake-docs-l10n-draft5/actions/runs/9234314328/job/25407894079#step:6:2).0.0 with: contributors_per_line: 8 max_contributors: [3](https://github.com/hwhsu1231/cmake-docs-l10n-draft5/actions/runs/9234314328/job/25407894079#step:6:3)2 image_size: 50 min_words_contributed: 2[5](https://github.com/hwhsu1231/cmake-docs-l10n-draft5/actions/runs/9234314328/job/25407894079#step:6:5)6 include_languages: true files: docs/CROWDIN_CONTRIBUTORS.md placeholder_start: placeholder_end: env: CROWDIN_PROJECT_ID: 8 CROWDIN_ORGANIZATION: https://org-test.api.crowdin.com CROWDIN_PERSONAL_TOKEN: *** ::add-mask::*** ::add-mask::*** Validating files... Downloading the report... Error: Cannot generate report. Message: CrowdinError: getaddrinfo EAI_AGAIN https at handleHttpClientError (/home/runner/work/_actions/andrii-bodnar/action-crowdin-contributors/v2.0.0/node_modules/@crowdin/crowdin-api-client/out/core/index.js:[7](https://github.com/hwhsu1231/cmake-docs-l10n-draft5/actions/runs/9234314328/job/25407894079#step:6:7)5:1) at /home/runner/work/_actions/andrii-bodnar/action-crowdin-contributors/v2.0.0/node_modules/@crowdin/crowdin-api-client/out/core/index.js:235:1 at processTicksAndRejections (node:internal/process/task_queues:[9](https://github.com/hwhsu1231/cmake-docs-l10n-draft5/actions/runs/9234314328/job/25407894079#step:6:9)5:5) { [stack]: 'Error: getaddrinfo EAI_AGAIN https\n' + ' at handleHttpClientError (/home/runner/work/_actions/andrii-bodnar/action-crowdin-contributors/v2.0.0/node_modules/@crowdin/crowdin-api-client/out/core/index.js:75:1)\n' + ' at /home/runner/work/_actions/andrii-bodnar/action-crowdin-contributors/v2.0.0/node_modules/@crowdin/crowdin-api-client/out/core/index.js:235:1\n' + ' at processTicksAndRejections (node:internal/process/task_queues:95:5)', [message]: 'getaddrinfo EAI_AGAIN https', code: 500 } ##[debug]Node Action run completed with exit code 1 ##[debug]Finishing: Update Crowdin Contributors Table ```

What happened? What did I miss? Is this a bug?

BTW, I can download translations from the project in Crowdin Enterprise with crowdin-cli successfully.

Versions