Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HttpTrigger Local Function Returns 406 in the Browser #12

Closed
asavaritayal opened this issue May 13, 2018 · 3 comments
Closed

HttpTrigger Local Function Returns 406 in the Browser #12

asavaritayal opened this issue May 13, 2018 · 3 comments

Comments

@asavaritayal
Copy link

From @aluong on May 8, 2018 22:13

I cloned and the example which targets base image: microsoft/azure-functions-python3.6:v2.0.11737-alpha

When I go to

http://localhost:8080/api/HttpTrigger?name=hi

I see an Http Error 406. In the docker logs I see that the HttpTrigger was hit.

info: Function.HttpTrigger[0]
      => System.Collections.Generic.Dictionary`2[System.String,System.Object] => System.Collections.Generic.Dictionary`2[System.String,System.Object]
      Executing 'Functions.HttpTrigger' (Reason='This function was programmatically called via the host APIs.', Id=f7d69d25-233a-41da-a569-95a2bdaa9ca1)

Copied from original issue: Azure/azure-functions-docker-python-sample#15

@asavaritayal
Copy link
Author

I'm running into the same issue - 406 on using microsoft/azure-functions-python3.6:v2.0.11737-alpha.

@ahmelsayed
Copy link
Contributor

Yeah, that release v2.0.11737-alpha is bad. Use v2.0.11776-alpha instead

@ahmelsayed
Copy link
Contributor

I send this PR Azure/azure-functions-docker-python-sample#18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants