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
0
votes
1 answer

Traefik healthcheck not working. 'Bad gateway' returned instead of redirect to active servers

I'm learning Traefik basics, but can't get health checking to work. I have four servers, which are docker containers. The rotation is working well, when refreshing the localhost page, it shows a different server each time. Even launching multiples…
0
votes
0 answers

retrofit giving 502 badgateway with AWS elastic beanstalk - kotlin

interface : @Headers("Content-Type:application/json") @POST("login/") open fun signin( @Body jsonObject: JSONObject? ): Call? My Sign in function : private fun signin(comp_number: String, password: String){ …
0
votes
3 answers

Stopping Default IIS website causes Azure Application Gateway '502 Bad Gateway' Error for ALL websites in IIS

I'm having an issue with hosting multiple .NET websites on Windows Server/IIS and Azure Application Gateway. We host multiple sites on a single Azure Windows VM running IIS, sitting behind Azure Application Gateway WAFv2. The VM is connected to App…
0
votes
3 answers

GatewayTimeout issue running stored procedure in logic app

We are facing an issue running three stored procedures (SPs) together using the Azure Logic Apps service and SQL databases. Regardless of the run sequence of the SPs, the issue always shows up in the first SP that is run. The processing initially…
0
votes
1 answer

Cannot Connect subdomain of route 53 to ec2 node js app

But It's working fine with public IP as below And I have created a subdomain with route 53 and then assigned A record with instance public IP But when I ping the domain and IP it's getting request time out and all packets were lost. My application…
0
votes
1 answer

Hosting website on Google App Engine | 502 Bad Gateway | Worker failed to boot (logger)

I am following this guide to host a static website on GAE. The screenshot is of my folder structure, where 'formicidae' is my project's root directory and 'www' contains some HTML, CSS, JS, and image files. Deploying is fine with gcloud app deploy,…
Henrik
  • 191
  • 1
  • 17
0
votes
0 answers

High traffic rails application gives random 502s and read timeouts

I have a rails application with an api which receives around 600k to ~ 1000k requests per day. these requests are primarily targeted at a file list and fetch endpoint. The file list endpoint fetches a list of 2000 records which contain file…
user13050796
0
votes
1 answer

Azure Webapp Request returning 502 after 4 min

I know this has been asked before, but I tried all known solutions and still no luck. I have a request that returns roughly 26MB of JSON. It is returning a 502 on my azure web app. I have set maxRequestLength and maxAllowedContentLength to their…
Josh
  • 1,648
  • 8
  • 27
  • 58
0
votes
1 answer

Flask Fetch request 502 bad gateway error when logged in

I am currently trying to do a fetch request when logged into the web app but i keep getting a . 87466804-e84d-413e-abd1-74dc56624149-ide.cs50.xyz/sell:1 Failed to load resource: the server responded with a status of 502 (Bad Gateway) and then…
0
votes
1 answer

Service response is a 502 Bad Gateway error with generic "Server Error" HTML block?

I wrote a Node service that takes parameters from a client and puts them into a SOAP request to another (3rd party) service. Lately, when a request is made to my service, the initial response is a 502 Bad Gateway error with a generic HTML block…
scoffin
  • 35
  • 1
  • 12
0
votes
2 answers

Why does Error 502 show every now and then on my site even after upgrading my server?

I tried to check and read articles about this error but until now I cannot fix this. I used Cloudflare to protect my site. How can I fix the error 502 Bad Gateway My site is currently running on Digital Ocean (PHP7.2 - Codeigniter 3, MySQL and…
user3569641
  • 892
  • 1
  • 17
  • 50
0
votes
1 answer

How to fix - 502 Bad Gateway

Hello I'm totally clueless here, I've been working with Patternlab on a local PHP env on mac. I had wifi troubleshooting, I restarted my computer and since then my localhost:8080 is showing the error below. 502 Bad…
davidlagace
  • 57
  • 10
0
votes
1 answer

How to fix 502 error getting on post request?

I have node.js app that upon click of a button send post request and on post request email should be sent to the admin. The page link from where I initiate request can be found here: https://blockmmerce.io/views/contact. As soon as I click the…
Fariha Abbasi
  • 1,212
  • 2
  • 13
  • 19
0
votes
1 answer

Python-Requests module give 502 with IPv6

I am trying to make a post call to IPv6 server using python-requests module on linux. This gives me a 502 Bad Gateway error. Here are the details of the versions: Python version: 2.7 Requests module version: 2.22 But I have tried to make the same…
0
votes
3 answers

Deployed Docker-Compose returns "502 Bad Gateway"

Please assist. I found a blog post, https://blog.ssdnodes.com/blog/host-multiple-ssl-websites-docker-nginx/) regarding deploying multiple docker-compose application with the same nginx-proxy but with different VIRTUAL_HOST names But for some…
Greg Sithole
  • 145
  • 1
  • 2
  • 11