Questions tagged [bad-gateway]

Bad gateway refers to http error 502 which is mean that a server which is try to fulfill the client request received an invalid response from upstream server

Bad gateway refers to http error 502 which is mean that a server which is try to fulfill the client request received an invalid response from upstream server.

For more information look for this article: https://www.lifewire.com/502-bad-gateway-error-explained-2622939

167 questions
1
vote
0 answers

bad gateway or gateway timeout alternatively with traefik and directus

I try to run a directus container with a reverse-proxy. First try without reverse-proxy: it works on http://my.ip:8585 version: '2' # # [ server stack ] # services: mysql: image: mariadb:latest container_name: directus-mrdb restart:…
jbo
  • 129
  • 3
  • 14
1
vote
1 answer

Web application crashes after deploying to azure because of WebRequestHandler

I have an API that fetches data from other service. The following code works great on local IIS: if (model.Phone[0] != '+') { model.Phone = "+" + model.Phone; } string data =…
1
vote
0 answers

nginx and PHP 7 - Error bad gateway 502 on a Raspberry Pi

I'm just testing a Raspberry Pi 3 and nginx / PHP7 / APC-Cache for TYPO3 8, most of the time it works fine, but sometimes I get the error "bad gateway" 502. Has anyone tips / infos for me? I believe it is the nginx "sites-available" settings or…
Sebastian
  • 883
  • 11
  • 32
1
vote
1 answer

How to change 502 error page running NGINX

I would like to change my 502 error page to a custom design but I cant find in my server root which Linux distribution is installed, therefore where do I find the original 502 error page. If this information helps PHP engine in use is NGINX and also…
John Doe
  • 983
  • 4
  • 14
  • 27
1
vote
0 answers

Nginx + Unicorn + RoR: "502 Bad Gateway" Resource temporarily unavailable

Am using RoR with Unicorn as a application server and Nginx as a webserver. Recently we are facing bad gateway issues while hitting the concurrent request of 100/sec. The nginx error says unicorn.soc failing to connect & resource temporarily…
1
vote
1 answer

getimagesize() failed to open stream: HTTP request failed! HTTP/1.1 502 Bad Gateway

I'm trying to get information about the image (from URL: https://ec.europa.eu/maritimeaffairs/maritimeday/sites/mare-emd/files/exhibitions-2016.png) by getimagesize() function. When I run my function I get an error as the title of this…
TJTran
  • 73
  • 1
  • 8
1
vote
2 answers

OWASP ZAP Connection refused: connect (502 - Bad Gateway)

I'm trying to use OWASP ZAP to proxy a connection to a website that I maintain. However although the proxying is working for other sites (both https and http) connections to the one I actually want to analyse just return a 502 - Bad gateway message…
Morvael
  • 3,478
  • 3
  • 36
  • 53
1
vote
0 answers

502 Bad Gateway: Registered endpoint failed to handle the request

I am using this link: http://blog.ibmjstart.net/2015/08/10/drupal-container-on-ibm-bluemix/ to install a Drupal application. But when I try to start the application this message displays: 502 Bad Gateway: Registered endpoint failed to handle the…
sso
  • 11
  • 2
1
vote
0 answers

Bluemix Nginx Proxy Not Working

I have a Java backend app running on Bluemix, and it is working fine. If I go to the backend server address: http://backend.mybluemix.net/api/test I get the expected response. Now, I have a front-end application, deploying via the static…
mtyson
  • 8,196
  • 16
  • 66
  • 106
0
votes
0 answers

502 Bad Gateaway with aiogram webhooks

I am new to telegram bots developing, currently I am trying to make bot using aiogram and webhooks. Here my configuraton of domain: server { server_name my_server my_server; add_header Access-Control-Allow-Origin *; add_header…
Vivern202
  • 29
  • 3
  • 7
0
votes
0 answers

Docker compose: my server + nginx. Bad Gateway

I'm just starting to learn docker, and now I'm trying to run two containers with docker-compose - my own mini-server and nginx. My task is: Start the docker container with my mini-server Start the docker container with nginx which will proxy all…
V SH
  • 1
0
votes
0 answers

How to solve uiautomator 502 BadGateWay Error

It works on my computer, but I deployed it as an exe program through pyinstaller, but it doesn't work. [D 230621 15:25:00 __init__:661] [pid:14580] [ce12160cfb12c03304] kill process(ps): uiautomator [D 230621 15:25:02 __init__:391] [pid:14580]…
0
votes
1 answer

Traefik and Docker Swarm

I've faced with a problem in Traeifk:2 and Docker swarm I want to Implement my reverse proxy with Traefik2 using DockerSwarm I have 3 machines (in Virtualbox) master.ox # My DockerSwarm Leader worker1.ox # Worker1 worker2.ox …
0
votes
0 answers

NGINX 502 - Bad Gateway

My Client is hosted on NGINX and JBoss is used as the server. I'm facing this NGINX 502 bad gateway. Help me resolve this, please. I've attached my error log for NGINX. 2023/06/02 16:02:20 [info] 1516730#1516730: *581375 client 10.80.20.1 closed…
0
votes
0 answers

Getting 502 Bad Gateway error when executing Postman curl request locally

I am getting a 502 Bad Gateway error coming from nginx after I execute the same curl command that is working from Postman. I try to connect to the Ciena lab but I am not being able to do that. I am working behind a proxy and I tried to execute the…