I was facing the similar error . It turns out “Az upgrade” fixing this issue. the previous version of Az Cli is "2.30.0".Refer this https://github.com/Azure/azure-cli/issues/20728
"HTTPSConnectionPool Max retries exceeded with url error" when deploying azure function app.
I am trying to deploy functionapp using the CLI by running the command
az functionapp deployment source config-zip -g Development -n <function-name> --src <output-directory.zip>
but keep getting this error
HTTPSConnectionPool(host='<function-name>.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
Certificate verification failed. This typically happens when using Azure CLI behind a proxy that intercepts traffic with a self-signed certificate. Please add this certificate to the trusted CA bundle. More info: https://docs.microsoft.com/cli/azure/use-cli-effectively#work-behind-a-proxy.
I am not using a proxy server and not sure why I am getting this error. Any ideas would be greatly appreciated.