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

ERROR: Error while attempting to retrieve the latest Bicep version: 403 Client Error: rate limit exceeded for url: https://api.github.com/repos/Azure/bicep/releases/latest. #122

Closed
sh-jthorpe opened this issue Dec 23, 2022 · 4 comments
Assignees
Labels
need-to-triage Requires investigation

Comments

@sh-jthorpe
Copy link

I'm really surprised no-one has logged this yet.

It's been mentioned over in AZURE/bicep Azure/bicep#3689

with:
    subscriptionId: ***
    resourceGroupName: shp-DataGateway-rg
    template: Deployments/Main.bicep
    scope: resourcegroup
    parameters: Deployments/prd.Main.parameters.json
    failOnStdErr: false
    deploymentName: shp-DataGateway-func-Deployment
  env:
    AZURE_FUNCTIONAPP_PACKAGE_PATH: .
    DOTNET_VERSION: 6.0.x
    AZURE_HTTP_USER_AGENT: 
    AZUREPS_HOST_ENVIRONMENT: 
Changing subscription context...
Validating template...
Warning: ERROR: Error while attempting to retrieve the latest Bicep version: [4](https://github.com/StottHoare/DataGateway-func/actions/runs/3763393948/jobs/6396885352#step:4:4)03 Client Error: rate limit exceeded for url: https://api.github.com/repos/Azure/bicep/releases/latest.

Warning: Template validation failed.
Creating deployment...
Error: ERROR: Error while attempting to retrieve the latest Bicep version: 403 Client Error: rate limit exceeded for url: https://api.github.com/repos/Azure/bicep/releases/latest.

Error: Deployment failed.

I'm running about 1-3 actions per day.

The issue linked above should indicate the fix or workaround that needs to be applied here.

@sh-jthorpe sh-jthorpe added the need-to-triage Requires investigation label Dec 23, 2022
@sh-jthorpe
Copy link
Author

Retried my Github action immediately after it failed, and it's completed successfully.

@asankagarusinghe
Copy link

We applied this workaround for now. it works for us at the moment.

Azure/bicep#3689 (comment)

@t-dedah
Copy link
Contributor

t-dedah commented Jan 5, 2023

Hi @sh-jthorpe It looks like they deployed a fix for this yesterday. Azure/bicep#3689 (comment)

Closing this issue now. Feel free to reopen if you have any further questions.

@t-dedah
Copy link
Contributor

t-dedah commented Jan 5, 2023

Thank you @asankagarusinghe for the workaround.

@t-dedah t-dedah closed this as completed Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-to-triage Requires investigation
Projects
None yet
Development

No branches or pull requests

4 participants