160 questions
0
votes
0
answers
87
views
CloudFront 502 Error - Previously Working Google Cloud Run Origin Suddenly Failing
I'm experiencing a 502 error with my CloudFront distribution that was previously working fine. This is the second time this has happened to me with a Google Cloud Run origin connected to AWS ...
0
votes
0
answers
57
views
Terraform deployment - 502 Bad Gateway on ALB DNS; Target group EC2 instances failed health checks
I'm using Terraform to deploy a simple architecture on AWS:
3 auto-scaling EC2 instances (ASG) in a private subnet and install nginx on the servers
ALB in a public subnet
Public subnet and private ...
1
vote
1
answer
179
views
FastAPI + Apache. 409 response from FastAPI is converted to 502. What can be the reason?
I have a FastAPI application, which, in general, works fine. My setup is Apache as a proxy and FastAPI server behind it. This is the apache config:
ProxyPass /fs http://127.0.0.1:8000/fs retry=1 ...
0
votes
1
answer
121
views
Azure AGIC giving 502 Bad Gateway with AKS
I have configured Azure AKS cluster with kubenet Plugin. after that have created Application Gateway with same resource group and same vnet.
After that I have update route table entry for ...
0
votes
1
answer
133
views
HTTP 500/502 errors in the Windows Application Event Log
How does Windows/IIS decide which HTTP 500/502 errors get logged in Windows Application Event log? If I inspect the errors in the event viewer, I can see some HTTP errors but not all. And for example, ...
0
votes
0
answers
902
views
502 Bad Gateway on Nginx with Laravel, PHP 8.3, and Ubuntu 24.04
I’ve set up Nginx 1.24.0 on Ubuntu 24.04 LTS, installed PHP 8.3 (PHP 8.3.6), and deployed a fresh Laravel 11.2 project. I created a virtual host on port 82 for telegrambot.test. However, when I try to ...
1
vote
0
answers
293
views
502 Errors via Google Cloud-Run When Request Returns >64KiB JSON, Compressed?
I'm having a problem with my service running under Google's Cloud-Run sending 502 responses for large API responses.
My (Angular) frontend app sends a JSON formatted request to my (Kotlin+Ktor) Cloud-...
0
votes
1
answer
212
views
Do google function often give, 502 error on firebase functions:config:get?
Running the firebase command firebase functions:config:get returns an error Error: Unable to parse JSON: SyntaxError: Unexpected token '<', it was working fine yesterday but today it it not today.
...
0
votes
1
answer
430
views
Docker angular-nginx 502 Bad Gateway
I've been trying to run my angular app on nginx with docker but I can't get it running. This are the last modifications I tried:
My docker file:
FROM node:latest as build
WORKDIR /usr/local/app
COPY ...
0
votes
1
answer
655
views
Why does my angular app hosted on nginx doesn't work?
I've been trying to host an Angular app on NGINX with Docker but when I build the container and go to localhost:8080 I get an 502 Bad Gateway error.
This is my Dockerfile:
FROM node:latest as build
...
1
vote
0
answers
736
views
Need Help Simulating a 502 Error on a Website
I have a task that I'm struggling with and could use some assistance. The task requires me to simulate receiving a 502 error on a functioning website, such as google.com or any other site. However, I'...
2
votes
2
answers
1k
views
Intermittent HTTP 502 Bad Gateway Errors After Deploying Vue3 + Vite + TypeScript App on Nginx
I am using Vue3 + Vite + TypeScript to build a web application. After running npm run build, the application is successfully packaged into the 'dist' folder. I then upload this folder to a Linux ...
0
votes
1
answer
857
views
nginx reverse proxy in Docker-Container in Docker-Compose 502 Bad Gateway error
I m trying to start a docker-compose.yml with a nginx reverse-proxy as one of the services.
The proxy should forward requests on port 80 to the database-container:8080.
I have unsuccessfully tried ...
0
votes
1
answer
183
views
502 Bad Gateway downtime while deploying in AKS
i have a problem with AKS and the implementation of AGIC, whenever i make an actualization to my deployment i experience 5 to 10 minutes of downtime with the error 502 bad gateway. this only happens ...
0
votes
2
answers
3k
views
Request failed with status code 502 when deploying Flask app to Render, but working fine locally
Recently I deployed my Flask application to Render, but I encountered an error that I didn't experience when running it on my local machine.
The error message I'm receiving is:
D {message: 'Request ...
1
vote
1
answer
1k
views
Cause of 502 Bad Gateway where PHP Reloaded and many child processes spawned and exited quickly
We just had an issue on 2 servers (both unrelated, beefy servers, and one not public-facing) at the same time we had 502 Gateway where I had to manually reload PHP to fix it.
Looking back in the PHP ...
1
vote
1
answer
914
views
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 ...
0
votes
1
answer
429
views
Nginx Node JS: How To Fix "File Upload 502 Cors Error"?
This is weird, I am able to access all of the endpoints except the file upload. It works fine in my local server, but not in the production server.
So I am using Angular Http Client to upload the file:...
0
votes
1
answer
299
views
Nginx gives 502 bad gateway but only for a few http requests
I made a portfolio website using django and hosted it on a digitalocean droplet with Postgres, Nginx, and Gunicorn. After testing it I noticed that a few of the subpages of the portfolio projects ...
1
vote
2
answers
4k
views
failed to dial to (wss://<ip>/subf1/40234): 502 Bad Gateway > websocket: bad handshake
OK, this 502 error is from something different than the other related articles here.
first i managed to setup a v2ray system using ubuntu 22.
I have a domain and a cloudflare account to set DNS for my ...
1
vote
1
answer
2k
views
nginx: 502 bad gateway if /index.html is not in URL
i don't understand what i'm doing wrong so i hope somebody can help :)
When i access http://10.0.0.54/index.html i get the right page but if i try to access http://10.0.0.54 instead of showing the ...
0
votes
0
answers
2k
views
502 bad gateway for favicon.ico
I deployed a Flask app to AWS ECS instance but when the app is run, it shows "502 Bad Gateway". When I check the console, it says "Failed to load resource: the server responded with a ...
0
votes
1
answer
6k
views
Getting 5xx error with AWS Application Load Balancer - fluctuating healthy and unhealthy target group
My web application on AWS EC2 + load balancer sometimes shows 500 errors. How do I know if the error is on the server side or the application side?
I am using Route 53 domain and ssl on my url. I set ...
0
votes
1
answer
456
views
Retrofit / okHttpClient Limiting the timeout to 10 seconds anyway
I did the custom OkHttpClient setup, but my app still can't wait more than 10 seconds in a request, then gets a timeout with 502 error code.
OkHttpClient okHttpClient = new OkHttpClient.Builder()
...
0
votes
0
answers
154
views
Why aws express lambda can't invoke pure lambda fucntion?
I am very new in this lambda stuffs.
I have an express app. I have uploaded the app as it is using claudia to aws lambda.
I have anothe app that is pure lambda app.
When I invoke the pure lambda ...