Azure / Azure/azure-functions-host

502 Bad Gateway on V2 Beta

Open
#2,763 2 comments 0 reactions 1 assignee Claimed by @pragnagopa View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

on V2, after long time inactivity, sometimes on the first call I get the http error 502 Bad Gateway... then I try again and don´t get this error until next inactivity time

#### Investigative information

- Timestamp about 2018-04-30 16:27 GMT
- 2.0-beta
- Function App name:
- Invocation ID: fb1e02c9-7b21-4f64-92fb-9bf94c130bbb
- Region: Brazil South

#### Repro steps

1. Run the function
2. Leave it without run for some hours
3. Run the function again, sometimes it will give http error 502, or 404,
4. Run again 1 time and it will return http 200

#### Expected behavior

Run the function without additional http errors

#### Actual behavior

Sometimes it fails with http 502, 404 error

#### Known workarounds

Try to run the function again usually makes it work find.

#### Related information

Provide any related information

C#
No Bindings used

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.