Azure / Azure/azure-functions-host

Linux/Python Functions fails to produce app content zips for Download

Open
#4,084 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

#### Investigative information

Please provide the following:

- Timestamp:
- Function App version (1.0 or 2.0): 2.0.12304.0 (~2)
- Function App name: snyk-fixtures-func5-python
- Function name(s) (as appropriate):
- Invocation ID:
- Region: West US

#### Repro steps

Provide the steps required to reproduce the problem:

1. Using VS Code Azure Functions extension, create a new Python Function Project
2. Deploy the function
3. Go to function page in portal
4. Hit `Download app content`

![image](https://user-images.githubusercontent.com/1571856/52787043-58bb2280-3065-11e9-8725-90c5af894034.png)

#### Expected behavior

Provide a description of the expected behavior.

After hitting Download app content, a zip with all function code should be available

#### Actual behavior

Provide a description of the actual behavior observed.

Hitting `Download app content` fails to produce the zip file, with an HTTP Error

![image](https://user-images.githubusercontent.com/1571856/52787008-417c3500-3065-11e9-890d-38ae165c3e90.png)

#### Known workarounds

#### Related information

Provide any related information

* Programming language used: Python
* Links to source
* Bindings used

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure by creating and deploying a Python Function Project with the VS Code Azure Functions extension, then use the Azure portal's Download app content action. Start by tracing the Azure Functions host path that serves this download and capture the HTTP error; done means the deployed function code downloads as a zip.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.