Problem
az containerapp logs show intermittently fails with SSL errors when the container is restarting or shortly after deployment:
HTTPSConnectionPool(host='eastus2.azurecontainerapps.dev', port=443): Max retries exceeded
Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol'))
This makes debugging container startup issues difficult since logs are unavailable precisely when they're most needed.
Reproduction
- Deploy a container app to ACA
- While the container is activating/restarting, run:
az containerapp logs show --name <app> --resource-group <rg> --tail 20
- SSL error occurs intermittently
Expected behavior
Log streaming should handle connection interruptions gracefully, perhaps with retries or a clearer error message indicating the container is still starting.
Environment
- Azure CLI 2.x (latest)
- ACA in East US 2
- Container in Activating/Restarting state
Problem
az containerapp logs showintermittently fails with SSL errors when the container is restarting or shortly after deployment:This makes debugging container startup issues difficult since logs are unavailable precisely when they're most needed.
Reproduction
Expected behavior
Log streaming should handle connection interruptions gracefully, perhaps with retries or a clearer error message indicating the container is still starting.
Environment