I am unable to deploy any Azure Function to the Azure from Visual Studio Code. I have tried to sign out and sign in back to the Azure, restarting Visual Code, creating new functions with different setups, but these didn't help. I am using Visual Studio Professional Subscription's free Azure credit to learn to do develop Azure Functions, but it is difficult when I can't get the deployment work. Any ideas how to fix this or what might be the reason?
It starts deploying and after 30-60 seconds it throws ETIMEDOUT error.
Creating zip package...
Zip package size: 2.96 kB
Error: request to https://**********.scm.azurewebsites.net/api/zipdeploy?isAsync=true&author=VS%20Code failed, reason: connect ETIMEDOUT