Open nogginbox opened 5 years ago
As a workaround I've been able to deploy my function using FTP.
Took me a while to find the FTP details. They're in the publish profile that you can download from the function's homepage in the azure Portal with the 'Get publish profile' link. This has two profiles in the same file and the second one has all the FTP details you need.
Also found dragging and dropping zip files into Kudu Console file explorer works, but FTP works slightly better.
What do you need to zip up? Just the bin/release/netcoreapp3.1 folder?
Posting my solution here in case anyone runs into the same issue, it is a second answer to the question.
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:
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.