---
title: "Discussion on \"AWS ALB + Gunicorn - Error 502 Bad Gateway fix\" | Hashnode"
description: "Discussion on \"AWS ALB + Gunicorn - Error 502 Bad Gateway fix\". Today I was running a Load Testing  of the application we're running in AWS Fargate.\nThe application started to fail at higher number of VUs, returning this response:\ntime=\"2020-03-02T09:41:06Z\" level=info msg=\"\\\"<html>\\\\r\\\\n<head><title>502 Bad Gate..."
url: "https://hashnode.com/posts/aws-alb-gunicorn-error-502-bad-gateway-fix/5e5ce13a8c89a92316ce7469"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [AWS ALB + Gunicorn - Error 502 Bad Gateway fix](https://www.ikw.cz/aws-alb-gunicorn-error-502-bad-gateway-fix?utm_source=hashnode&utm_medium=feed)

Today I was running a Load Testing of the application we're running in AWS Fargate. The application started to fail at higher number of VUs, returning this response: time="2020-03-02T09:41:06Z" level=info msg="\\"<html>\\\\r\\\\n<head><title>502 Bad Gate...

Mar 2, 2020 · ikw.cz  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#python](https://hashnode.com/tag/python)
-   [#aws](https://hashnode.com/tag/aws)

## Written by

[Martin Janeček](https://hashnode.com/@wod)

@wod · Budweis, Czechia

  
[View profile](https://hashnode.com/@wod)

Software developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
