question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AzureKeyVault fails with 'endpoints_resolution_error'

See original GitHub issue

Question, Bug, or Feature? Type: Bug

Enter Task Name: AzureKeyVault

Environment

  • Agent - Private, running under Azure DevOps
  • OS: RHEL 8.6
  • Version: 2.214.2

Issue Description

Secrets downloading takes 30+ sec to complete with the following error:

"Could not fetch access token for Azure. Status code: endpoints_resolution_error, status message: Error: could not resolve endpoints. Please check network and try again. Detail: ClientConfigurationError: untrusted_authority: The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter."

Update - 18 Dec 2022

I’ve managed to mitigate the error by removing the HTTP proxy and going directly to the internet to download the secrets. So whatever change has been done to the AzureKeyVault to download secrets, it doesn’t take into consideration that the secrets download can be done from behind a proxy. And yeah, we set all the proxy environment variables; they’re just being ignored.

Issue Analytics

  • State:open
  • Created 9 months ago
  • Reactions:2
  • Comments:16

github_iconTop GitHub Comments

1reaction
jtterry2856commented, Dec 20, 2022

Works for me as well when I tested pipeline today. New version 1.214.3 was downloaded and “download secrets” step completed successfully.

image

1reaction
RaviChandraMadipadigacommented, Dec 20, 2022

@kwasiak - Seems like they have updated the task version now to 214.3 and it’s working fine now. Thank you for raising this issue in GitHub by seeing my question in community forum.it really helped all of us .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common key vault errors in Azure Application Gateway
This article identifies key vault-related problems, and helps you resolve them for smooth operations of Application Gateway.
Read more >
Azure Devops Server to Azure Keyvault - connection failed
This error usually occurs if there is a mismatch between TLS protocol versions or ciphers used between the Azure DevOps server and Azure...
Read more >
Azure Databricks unable to connect to private DNS KeyVault ...
I have an Azure KeyVault with private endpoint created in the same Vnet as Azure Databricks. While trying to add it as a...
Read more >
Troubleshoot Vault Registration for Hybrid and Cloud ...
(Cloud vendor: AWS API Error message: Unable to connect to endpoint). ... To resolve this issue, move they keys manually on the Vault...
Read more >
Azure Key Vault - A Conflict Occurred that Prevented the ...
This issue occurs when you are trying to create a secret with the same name as a secret that has been previously deleted....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found