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

Error 504, avoid it with some data passing from server to client?

I'm developing an app that should receive a .CSV file, save it, scan it, and insert data of every record into DB and at the end delete the file. With a file with about 10000 records there aren't problems but with a larger file the PHP script is…
Edoardo
  • 599
  • 2
  • 9
  • 26
0
votes
2 answers

Windows php file_get_contents returns 504 on localhost

I'm having an issue with PhP where it times out when doing anything like file_get_contents("http://127.0.0.1/test.php") I've also tried using CURL and stuff, it works fine when I'm trying to recieve data from somewhere else, but when it's local…
0
votes
1 answer

504 error when requesting file from url in codebehind

I'm trying to read a file, using a URL, however I keep getting a 504 Gateway Timeout. The user submits an form, and I need to grab some information from a rather large xml file (45mb), using an XmlTextReader. However each time the request is made,…
Lex
  • 879
  • 3
  • 16
  • 27
0
votes
3 answers

Can big ViewState content result a HTTP Error 504 - Gateway timeout?

I have one asp.net page which seems to return a very big content (5,648,733 bytes and that is mostly consumed by VIEWSTATE) ending with a 504 Gateway timeout error. I am tracking the http request/response by using Fiddler. And basically, when I…
pencilCake
  • 51,323
  • 85
  • 226
  • 363
0
votes
1 answer

CORS validation with Angular app and Rest services in Azure

We are working in the cloud, with Azure, where we have 3 segments: one for front (angular) one for back (java) and the last one for data. Currently, we are facing an issue that didn’t let us connect the angular with java code. We are having a CORS…
0
votes
0 answers

CPU at 100% CentOS 7 nginx

I have been assigned a new website to work on and I have recently moved it to a new server operating at CentOS 7 which is using nginx to host my website made with zend framework. However, very frequently (10-20 times a day) the cpu usage of the…
user3186034
  • 45
  • 1
  • 10
0
votes
1 answer

pyzabbix requests.exceptions.HTTPError: 504 error using trigger.get method

I was using pyzabbix and trying to use trigger.get method to get all trigger info, but returned 504 Gateway Timeout exception. It never happened before, when I tried to get all the single host trigger info by specifying the host name using filter…
J.Wang
  • 1,241
  • 3
  • 13
  • 17
0
votes
1 answer

Difference between `run as java application` in eclipse and `java -jar xxx.jar` from cmd line?

I'm writing a tool to call another service, and got a weird problem. When i run the main method file as java application in eclipse, it works fine, but after i build it as a jar and run it from cmd line like java -jar xxx.jar with exactly the same…
Cloud_cal
  • 132
  • 2
  • 12
0
votes
2 answers

org.jsoup.HttpStatusException: HTTP error fetching URL. Status=504 Error while trying to scrape HTML content

I want to scrape the HTML codes from the URL listed below. The problem is, I get this error:- Aug 14, 2016 6:40:36 PM booksscraper.BooksScraper main SEVERE: null org.jsoup.HttpStatusException: HTTP error fetching URL. Status=504,…
0
votes
0 answers

504 Gateway Time out with every PUT request

On one of our staging/testing server (ngnix/apache config tried with both) for every PUT request to Php Laravel app, i'm getting 504 Gateway Time-out while the rest of the requests are working correctly. When testing locally there are no errors. No…
0
votes
0 answers

How do I use node on a live remote server (504 time out)

I am trying to deploy my node.js app to my web server. I have everything installed on the server side, and the app works locally. I just seem unable to connect when I try to upload it to the server. It tries to load and eventually gives me a 504…
Mikecul
  • 63
  • 8
0
votes
1 answer

AngularJS OPTIONS request to Web API lost

I am trying to make a post request from AngularJS to WebAPI on a different domain. $http({ method: 'POST', url: 'http://www.test.com/api/app/controller', data: postdata, headers: { 'Content-Type': 'application/json' …
infojolt
  • 5,244
  • 3
  • 40
  • 82
0
votes
0 answers

Getting 504 server error when trying to access localhost:8080/?_escaped_fragment_=

Actually, I am trying to use prerender[DOT]io and have added prerender filter in to my server side application (in Java Spring). I wrote a filter for prerender (middleware is service[DOT]prerender[DOT]io/) private void…
Ravi D
  • 1
0
votes
1 answer

Wordpress not runing under new dedicated server

I just moved my installed WordPress from shared hosting (which was working just fine) to dedicate server and I keep getting "500 Internal Server Error" error . I tried deleting .htaccess, renaming plugins folder, increasing memory and nothing…
Boris Zegarac
  • 521
  • 4
  • 11
  • 33
0
votes
0 answers

Plotly & Python - 504 Gateway Timeout

I have a small program that I wrote to analyze large data sets from a device at my work and graph the data using Plotly. Up until recently it was working well, however in the past week it has been giving a 504 Gateway Timeout server error when it…