-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
az bicep install error #25471
Comments
Bicep is also installed externally but below command is also not working, az deployment sub create --location eastus --confirm-with-what-if --template-file main.bicep --parameters environmentType='dev' |
PS C:\Program Files\PowerShell\7> az bicep install --debug During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): cli.azure.cli.core.azclierror: Error while attempting to retrieve the latest Bicep version: HTTPSConnectionPool(host='downloads.bicep.azure.com', port=443): Max retries exceeded with url: /releases/latest (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))). |
Thank you for your feedback. This has been routed to the support team for assistance. |
route to CXP team |
@vinaydevmd Thanks for reaching out to us and reporting this issue. Could you please follow the steps mentioned in the below article depending on your environment to install the bicep CLI ? Hope this helps. |
@vinaydevmd I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply. |
Hi,
Will check and update you soon.
Br\Vinay
…On Mon, 20 Feb 2023, 10:09 navba-MSFT, ***@***.***> wrote:
@vinaydevmd <https://github.com/vinaydevmd> I wanted to do quick
follow-up to check if you had a chance to look at my above comment. Please
let us know if you had any updates on this. Awaiting your reply.
—
Reply to this email directly, view it on GitHub
<#25471 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEXKYUHLTGLETPZHKNY7Y2LWYLYRNANCNFSM6AAAAAAU5AXXAI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sure @vinaydevmd. |
@navba-MSFT - I followed your steps to install on windows node, bicep will install and it works fine. but still the command az bicep calls still failes with same SSL issue. I finally figured it out to set and environmental variable "AZURE_CLI_DISABLE_CONNECTION_VERIFICATION" set to "1" then run the az bicep install command, now it ran well with warning!! as shown below cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x032C7BF8>, <function CLIQuery.handle_query_parameter at 0x032E5850>, <function register_ids_argument..parse_ids_arguments at 0x04072658>] Can you help me what really blocking in my corporate network ? , so it helps me to fix the root cause. |
@vinaydevmd Thanks for your reply. I am glad that you are able to install bicep. For the Azure CLI to work behind a proxy refer this article. https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively?tabs=bash%2Cbash2#work-behind-a-proxy For Linux environment, refer this. Please ensure that all the AzCLI endpoints are whitelisted for proxy bypass: https://learn.microsoft.com/en-us/cli/azure/azure-cli-endpoints?tabs=azure-cloud Hope this helps. |
@vinaydevmd I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply. |
@vinaydevmd The action is pending on you to follow the above suggestions and check if that helps. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help. |
I am having the same issue still. I tried the workarounds in this post But I still cannot get bicep to install locally and we are not using any proxy servers of any kind. My co-workers are able to execute az bicep install without issue. I am able to install using the same on my personal laptop but on my work laptop where I need it most, i continue to get the error az bicep install |
Related command
PS C:\Program Files\PowerShell\7> az bicep install
Error while attempting to retrieve the latest Bicep version: HTTPSConnectionPool(host='downloads.bicep.azure.com', port=443): Max retries exceeded with url: /releases/latest (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))).
PS
Resource Provider
bicep
Description of Feature or Work Requested
Getting error while running az bicep install in my office network, whereas its working fine in my personal laptop.
Same version of powershell and azure CLI.
I need help regarding where to fix this issue in my corporate network ?
Minimum API Version Required
2.045
Swagger PR link / SDK link
Getting error while running az bicep install in my office network, whereas its working fine in my personal laptop.
Same version of powershell and azure CLI.
I need help regarding where to fix this issue in my corporate network ?
Request Example
No response
Target Date
2023-02-16
Additional context
Getting error while running az bicep install in my office network, whereas its working fine in my personal laptop.
Same version of powershell and azure CLI.
I need help regarding where to fix this issue in my corporate network ?
The text was updated successfully, but these errors were encountered: