Azure / Azure/azure-functions-core-tools
SSL connection could not be established error when deploying to Azure
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 14
Description
I have a function app in my Azure subscription that I am attempting to deploy to but get the following output each time I try and deploy:
Getting site publishing info...
The SSL connection could not be established, see inner exception.
There is a noticeable delay from the point that "Getting site publishing info..." is shown before the actual error so it appears like some sort of timeout is occurring, but I've not found any way of getting more info about what could be causing this.
The function app itself is running with the default configuration you get when it is first created, no other configuration settings have been changed on it.
The version of the tools I am using is 4.0.4915 on Windows 11.
The command I am seeing this error on is "func azure functionapp publish "
I've checked the documentation for some sort of "verbose" or "debug" switch to include and haven't been able to find any. Likewise, all my attempts at trying to research possible causes have only found SSL issues when the function is **executing**, not on deployment.
Is there any way of getting more info about the underlying error?
Contributor guide
Research direction
Start by reproducing `func azure functionapp publish ` with Core Tools 4.0.4915 against a default Azure Function App, focusing on the delay after “Getting site publishing info...”. Trace that publishing-info step and determine what underlying SSL failure is available; done means the deployment reports actionable diagnostic details or the confirmed cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100