Code Monkey home page Code Monkey logo

Comments (13)

kantkrishan avatar kantkrishan commented on September 27, 2024 1

I am continuing to experience the issue as previously reported. In alignment with your suggestions for troubleshooting, we attempted to fetch the tags list for azure-cli using the provided command. Unfortunately, the responses received suggest a possible service error or an unexpected redirection mechanism rather than the anticipated JSON listing of tags.

Examples of the issue encountered:

Attempt 1
Command: curl --location -s https://mcr.microsoft.com/v2/azure-cli/tags/list
Response: Ref A: 326F84314BE141D6BF0EE8BB0324FE2D Ref B: DM2EDGE0512 Ref C: 2024-05-13T09:14:46Z

Attempt 2
Command: curl --location -s https://mcr.microsoft.com/v2/azure-cli/tags/list
Response: Ref A: CDE887B546814BFEBB4A481249AE7212 Ref B: DM2EDGE0512 Ref C: 2024-05-13T09:14:46Z

Error screenshot:
image

I have observed that this error frequently occurs when attempting to run approximately 20 jobs in parallel. This leads me to suspect that the issue could be related to rate limiting or another similar constraint.

I am eager to resolve this issue and would appreciate any additional insights or suggestions you might have. I am available to provide further details or engage in additional troubleshooting steps as necessary.

Also if you can prioritise this enhancement, we can leverage our own artifactory repository to store this image.

Thank you for your assistance.

from cli.

kantkrishan avatar kantkrishan commented on September 27, 2024

we are also getting this error couple of times today intermittently. Can someone please take a look?

from cli.

Dariusz-Jalowiec avatar Dariusz-Jalowiec commented on September 27, 2024

I started seeing this error today in GitHub actions workflow using public runners:

Run azure/cli@v2
Warning: Unable to fetch all az cli versions, please report it as an issue on https://github.com/Azure/CLI/issues. Output: Ref A: 6F2FE8BB195A4129B48C91[7](https://github.com/xxxx/xxx/actions/runs/9026266002/job/24823069885#step:5:8)C89A2D77D Ref B: DM2EDGE0518 Ref C: 2024-05-10T13:49:32Z
, Error: SyntaxError: Unexpected token 'R', "Ref A: 6F2"... is not valid JSON
Starting script execution via docker image mcr.microsoft.com/azure-cli:2.59.0
Error: Error: Unable to find image 'mcr.microsoft.com/azure-cli:2.59.0' locally
docker: Error response from daemon: error parsing HTTP 429 response body: invalid character 'R' looking for beginning of value: "Ref A: 951F0CF444E74015BC9FBCE4B610ACF9 Ref B: DM2EDGE0912 Ref C: 2024-05-10T13:49:32Z".
See 'docker run --help'.

cleaning up container...
Warning: Error response from daemon: No such container: MICROSOFT_AZURE_CLI_171534[8](https://github.com/xxxx/xxxxx/actions/runs/9026266002/job/24823069885#step:5:9)971894_CONTAINER

Error: Unable to find image 'mcr.microsoft.com/azure-cli:2.5[9](https://github.com/xxxx/xxx/actions/runs/9026266002/job/24823069885#step:5:10).0' locally
docker: Error response from daemon: error parsing HTTP 429 response body: invalid character 'R' looking for beginning of value: "Ref A: 951F0CF444E74015BC9FBCE4B6[10](https://github.com/xxxx/xxxxx/actions/runs/9026266002/job/24823069885#step:5:11)ACF9 Ref B: DM2EDGE0912 Ref C: 2024-05-10T13:49:32Z".
See 'docker run --help'.


if i rerun the workflow is mostly works, strange part other jobs which also use azure cli might work in same workflow while others do not.

from cli.

MoChilia avatar MoChilia commented on September 27, 2024

Hi @Kaloszer, @kantkrishan, @Dariusz-Jalowiec, may I know the configuration of your runner? Are you using a GitHub-hosted runner or a self-hosted one?

from cli.

kantkrishan avatar kantkrishan commented on September 27, 2024

github hosted runner for me.
runs-on: ubuntu-latest

from cli.

Kaloszer avatar Kaloszer commented on September 27, 2024

github hosted runner for me.
runs-on: ubuntu-latest

Same here

from cli.

MoChilia avatar MoChilia commented on September 27, 2024

It appears to be an internet problem on GitHub runners. To check, you can add this step before azure/cli@v2 to see if it fails.

  - run: |
          curl --location -s https://mcr.microsoft.com/v2/azure-cli/tags/list

from cli.

Kaloszer avatar Kaloszer commented on September 27, 2024

It appears to be an internet problem on GitHub runners. To check, you can add this step before azure/cli@v2 to see if it fails.

  - run: |
          curl --location -s https://mcr.microsoft.com/v2/azure-cli/tags/list

Well we can't fix your DNS on github runners, now can we 🤣? Seems intermittent, lets hope it was just last week.

from cli.

kantkrishan avatar kantkrishan commented on September 27, 2024

@Kaloszer @Dariusz-Jalowiec
Are you guys still having this issue?

I ran around 100 jobs in parallel but not seeing issue today. something might have changed recently it seems.

from cli.

Kaloszer avatar Kaloszer commented on September 27, 2024

@Kaloszer @Dariusz-Jalowiec
Are you guys still having this issue?

I ran around 100 jobs in parallel but not seeing issue today. something might have changed recently it seems.

Seems okay, my 8 went with no issues

from cli.

MoChilia avatar MoChilia commented on September 27, 2024

Hi everyone, let's keep an eye on the situation this week. If the problem persists, we can open an issue with the GitHub Actions runners team to request a fix.

from cli.

Dariusz-Jalowiec avatar Dariusz-Jalowiec commented on September 27, 2024

@Kaloszer @Dariusz-Jalowiec Are you guys still having this issue?

I ran around 100 jobs in parallel but not seeing issue today. something might have changed recently it seems.

seems ok for me too

from cli.

MoChilia avatar MoChilia commented on September 27, 2024

Closing the issue for now, as the problem has not reoccurred.

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.