Questions tagged [http-status-code-502]
148 questions
1
vote
0 answers
UNRAID / Cloudflare Tunnel with Docker Container running File Browser gives error 502 bad gateway
I am new to cloudflare tunnels and I am right now trying to reach my services at home from anywhere.
An VPN is no option because my internet provider gives me a private IP adress.
I know how to set up an tunnel connection. An docker container…

Jonas
- 53
- 6
1
vote
0 answers
why 502 Error occurs just in product mode in next.js?
I'm making a website by using next.js.
After deploying my project by Vercel, login api gives me 502 error.
const nextConfig = {
reactStrictMode: true,
images: {
domains: [process.env.ORIGINAL_DATA, process.env.CONVERT_DATA]
},
swcMinify:…

John Kim
- 11
- 1
1
vote
0 answers
Why "502 Bad Gateway Microsoft-Azure-Application-Gateway/v2" occurred in angular PWA application?
I configured PWA on my angular 11 project and serve it with http-server on my laptop. It works completely on 127.0.0.1 but when I try to access the app with another device in the local network, the first page load and check authentication and try to…

Mostafa Farhani
- 305
- 2
- 16
1
vote
1 answer
Does an Application Load Balancer does automatic health check on an unhealthy instance?
We have a private EC2 Linux instance running behind an ALB. There is only one instance running and no auto-scaling configured.
Sometimes ALB marks the instance as unhealthy for some reasons. This mostly happens when network traffic is high on the…

Manushi
- 597
- 1
- 7
- 26
1
vote
1 answer
Putting ALb-NLB-ALB route for requests is giving 502 for application
We had a primary ALB listening to all out apps mapped through R53 records. Now we have listener rule crunch as ALB doesn't support more rules above 100. So we had been proposed a solution where we can put a NLB under primary ALB and then secondary…

ashish bustler
- 480
- 1
- 5
- 12
1
vote
0 answers
NodeJs, AngularJS 502 error — Deployment: Cloudfront + S3 (Angular) + Ec2 (NodeJs)
I am facing cors issue on my website deployed on amazon aws.
The frontend is deployed using S3 + Cloudfront (URL: https://example.com)
Backend is deployed on EC2, with Load Balancer. (URL: https://api.example.com)
Now when my frontend angular…

Mansoor Ahmed
- 21
- 2
1
vote
1 answer
Express-Gateway - 502 Bad Gateway with docker-compose Nodejs Microservices Architecture
I've been trying to do a NodeJS Microservices Architecture using Docker.
I currently have 2 services : Auth API et Users CRUD API. Now my goal is to setup a Gateway using Express-Gateway.
I followed many tutorials on the web to try to set it up but…

Mvrs
- 13
- 3
1
vote
0 answers
Nodejs API's are not working when cron job is executing
I have added two cron jobs to run every 15 mins and every 3 hours during this time I'm unable to access API's. I'm getting a 502 bad gateway errors.
import Agenda from 'agenda';
import { updateCinemaData } from './updateCinemaData';
import {…

Megha BM
- 21
- 1
- 4
1
vote
0 answers
Failed HTTP requests with 502 error code in an Apache load balancer deployed in an Openshift PAAS with AH01102 AH00898 errors in logs
I have this configuration that I use as a load balancer between two APIs (API_A & API_B).
# Cluster A
ProxyPass "/services" "${API_A}/services" timeout=30
ProxyPassReverse "/services" "${API_A}/services"
#…

Mohamed El-Harrougui
- 11
- 2
1
vote
0 answers
Kubernetes Nginx Controller/Ingress Bad Gateway (502)
My goal is to route traffic to a frontend (web-frontend) and backend (public-api) service using nginx controller and two ingress rules. public-api works over https, but web-frontend does not and returns 502 Bad Gateway. Each service has its own…

zooks
- 11
- 2
1
vote
1 answer
Why am I receiving a 502: Bad Gateway from AWS Lambda/Api Gateway when I include an Authorization header to the call?
I have an .Net Core 3.1 web service running as a Lambda at AWS. The Lambda has is fronted by an API Gateway.
I left one of the routes unsecured for testing, /states. When I call /states without a bearer token I get the list of states. When I call it…

sprocketholer
- 99
- 5
1
vote
2 answers
"failed_to_connect_to_backend" - 502 website temportatily down
I have an issue where when attempting to access the website on a vm through load balancer I receive "Failed to connect to backend" get "502" and an error on the client side suggesting the server is down. I can see quite a few similar issues but not…

Scott Godfrey
- 31
- 6
1
vote
0 answers
We are getting Cloudfront 502 Error - Abortedorigin which is causing exception in our mobile application
We are using cloudfront distributions for our uat and production environments. There was a migration intimation from AWS starting from March 23, 2021 saying CloudFront will begin migrating the Certificate Authority for the *.cloudfront.net…

Umar Hyatt
- 31
- 7
1
vote
0 answers
How to configure NestJS/Express behind load balancer for high load
I’m load testing a NestJS application running on ec2 in AWS. If I configure my load testing tool to hit the NestJS application directly, I can hit it with thousands of requests concurrently without an issue.
However, if I execute the same load test…

user2788873
- 11
- 1
- 4
1
vote
1 answer
My NodeJS app show 502 error for no reason
I have a really big issue with my digitalocean droplet can you help me please,
I have a nodeJS app and it's work with MySQL and I use Nginx + Ubuntu
but for no reason, I got 502 bad gateway
I have upgraded my droplet and after 3 days my app down…

Gabrialoo
- 41
- 3