Hello Han Shih 施學翰
Based on the error message you provided, it seems like there is an issue with the connection between your Flask API and the Azure Key Vault. The error message indicates that the API is unable to make a request to the Key Vault service.
Here are some steps you can take to troubleshoot this issue:
-Check if the Azure Key Vault is up and running.
-Check if the Flask API is able to connect to the Azure Key Vault. You can do this by running a simple Python script that uses the Azure Key Vault SDK to retrieve a secret from the Key Vault. If the script is able to retrieve the secret, then the issue may be with your Flask API code.
-Check if the Flask API is using the correct credentials to authenticate with the Azure Key Vault. You can do this by checking the access policies for the Key Vault and ensuring that the Flask API has the necessary permissions to access the Key Vault.
-Check if there are any network issues that may be preventing the Flask API from connecting to the Azure Key Vault. You can do this by checking the network configuration for your AKS cluster and ensuring that the necessary ports are open.
-Check if there are any issues with the Azure Storage Account that your Flask API is trying to access. You can do this by checking the status of the Storage Account service in the Azure portal and ensuring that the Flask API has the necessary permissions to access the Storage Account.
Hope this helps resolve your issue.