Azure Function ZipDeploy failed with HTTP status code RequestTimeout.
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 215
- Avg merge
- 4h 2m
- Merged PRs (30d)
- 1
Description
I am trying to deploy my Azure function using ZipDeploy. This was working till I added an extra Nuget package and the size of my function's deployment zip package increased from 3MB to 45MB.
I now get:
```
2>Publishing C:\Users\...\obj\Release\netcoreapp3.0\PubTmp\Fuction - 20191118172050631.zip to https://xxxx.scm.azurewebsites.net/api/zipdeploy...
2>The attempt to publish the ZIP file through https://xxxx.scm.azurewebsites.net/api/zipdeploy failed with HTTP status code RequestTimeout.
```
If I login to Kudu at https://{xxxx}.scm.azurewebsites.net/ (replacing xxxx with website name), download the diagnostic dump and look in the folder LogFiles\kudu\trace I can see the following error:
```
```
The key bit seems to be **The client disconnected**.
I followed the advice in issue #1108 of setting WEBSITE_RUN_FROM_PACKAGE to 0, but this did not resolve the issue. This happens every time I try to deploy (tried on several networks, home and office) and the kudu logs show it is happening at the same place.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.