Questions tagged [http-status-code-504]

504 Gateway Timeout. The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.

279 questions
0
votes
0 answers

Detect occurence of 504 while processing django view

I have a view which sometimes, takes a long time to process resulting in a timeout. I could handle this heavy processing in the background using background tasks in as celery. This for me however is not optimal because, I need to give feedback to…
unlockme
  • 3,897
  • 3
  • 28
  • 42
0
votes
6 answers

I know the ip of my router. My laptop is one of the devices connected to the router. What is my static ip?

I know the IP of my router. It is xx.xx.xxx.xxx My laptop is one of the devices connected to the router. My laptop gets a dynamic IP! Currently my IP is 192.168.0.7 and the IP gateway of my router is 192.168.0.1 How can I connect to my laptop from…
user651068
  • 174
  • 1
  • 4
  • 12
0
votes
1 answer

Swift API call with URLSession gives 504 error

I have an API call with oauth which I tested with correct authorization token in postman.I am getting proper response in postman. But when I try same thing in Swift, I get 504 error. I have checked every params and headers properly and everything…
0
votes
1 answer

AWS Gateway Timeout under threshold seconds

I have a node (express) app running on AWS that is randomly returning 504 (GATEWAY_TIMEOUT) without reaching the actual timeout (60 sec) threshold: You can see that the requests following the failed ones take more time than the "timed out"…
Frankra
  • 133
  • 8
0
votes
1 answer

504 Timeout nginx flask internal process

I run Nginx server for Flask and I want the server to run py script. It takes about 5 minutes to execute (intentional) and on the dev server, everything works ok. When I deploy to the production, when executing, after 60 seconds I get 504 error. I…
InKubus
  • 11
  • 4
0
votes
1 answer

Access to fetch at 'https://api.kendozone.com/auth/login' from origin[...] has been blocked by CORS policy

I am coding a Angular 6 / Lumen 5.7 Application Lumen app is in a AWS server --> https://api.kendozone.com Angular app is hosted by github pages --> https://v2.kendozone.com It works great in local, but when I push it to production, I can't get rid…
Juliatzin
  • 18,455
  • 40
  • 166
  • 325
0
votes
2 answers

Error while running script in elastic search , gateway timeout

while running script in elastic search, I got 504 Gateway timeout error. { "query": { "bool": { "filter": { "script": { "script": " doc['creted_date'].date.getMonthOfYear() == 12 " } …
0
votes
0 answers

nginx 504,can't connet mysql

Environment: python 3.6 flask flask-sqlalchemy mysql gunicorn nginx Phenomenon: If I run gunicorn and nginx, and connect service http address, can't connect and show 504 time-out error. If I only run python flask(0.0.0.0), I can connect…
0
votes
0 answers

504 (GATEWAY_TIMEOUT) in deployed mode

I have a node application which sends a verification email to the user with nodemailer when the user signs up, this worked just fine locally but after deploying the application to aws I get the following error when I try to signup and so it does not…
Code Worm
  • 313
  • 1
  • 4
  • 16
0
votes
0 answers

504 error and ssh not accessible

Relative newbie to AWS having recently migrated servers. Everything was working fine yesterday, but today when I try to go to the site (enablie.co.uk) I receive a 504 error. Domain is registered with 123-reg, but everything else is configured in…
0
votes
0 answers

Web Request failing with 504

I have the following code: HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri); request.Proxy.Credentials = CredentialCache.DefaultCredentials; request.Method = "GET"; HttpWebResponse response =…
Paul Michaels
  • 16,185
  • 43
  • 146
  • 269
0
votes
0 answers

504 gateway timeout with no output - php

I wrote a script that communicates with a popular game, called kahoot. It logs in and answer's each question, and then echo's when it is finished. Here is it working on the command line. However, when I add this functionality to my website, when I…
Peter S
  • 827
  • 1
  • 8
  • 24
0
votes
0 answers

How to solve 504 gateway timeout nginx

I have run one cron file but it takes to much time and it's not run proper and gives me "504 gateway timeout nginx" error. How can I find a solution for this?
Er Nilay Parekh
  • 569
  • 5
  • 17
0
votes
2 answers

Error Getting Website with Scrapy

I'm trying to get a website through Scrapy in the shell, $ scrapy shell -s NAME="Mozilla/5.0" "http://www.yapo.cl/chile/inmuebles?ca=15_s&l=0&cmn=&st=a" 2017-08-21 20:55:07 [scrapy.downloadermiddlewares.retry] DEBUG: Gave up retrying
0
votes
1 answer

Express API backend receiving requests but not responding, Nginx

I have a front end reactjs being served by nginx. shown here: server { listen 80 default_server; server_name website.* www.website.*; root /home/developer/website/frontend/build; location / { try_files $uri /index.html; …
Athomas1
  • 39
  • 5