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
2 answers

Python Requests: why do I get the error "get() takes 2 positional arguments but 3 were given" when I only have two arguments?

I'm trying to implement error-handling of 504 responses for my Requests statement when I query an API. I read through this question, and am attempting to implement the solution given in the most-voted answer. My code keeps failing with the error…
the_meter413
  • 231
  • 3
  • 19
0
votes
0 answers

How to solve Laravel 504 Gateway Time-out

I am trying to send images to WooCommerce through API and I am getting 504 Gateway Time-out, the same error I am getting in Postman. I tried with changing max_execution_time but again I got error 504. public function updateProduct($ecart,…
0
votes
1 answer

504 Gateway timeout in Jmeter

During manual run on reaching the Home screen, the page keeps loading and the API calls timeout with 504 error(Received the same error during Jmeter execution) But if the same page(Home screen) is refreshed three times manually, all the previously…
Crose
  • 1
  • 1
0
votes
0 answers

HTTPS request by Axios got 504 error status on the website(live and local) but got 200 status in the chrome extension(app)

I have a project for a website and chrome app. Following is a part of my code. const payload = { item1: 'item1', item2: 'item2' }; const url =…
0
votes
0 answers

How To Solve 504 Bad Gateway Timeout Error From Aws Api Gateway?

I am getting 504 Bad Gateway Timeout error in responce but data gets inserted sucessfully to the databse. Code executes perfectly locally with response time within 1.15s but whenever deployed to lambda it start giving this Timeout Error. Node js…
0
votes
0 answers

Increase in the number of connections gives 504 gateway timeout error in Nginx

I have a mail server running nginx. Whenever the number of connections increase, nginx fails and give Upstream connection error in the error.log. On the browser, it gives 504 Timeout error. How can I resolve this? I have checked the resources that…
hamza toor
  • 11
  • 2
0
votes
1 answer

JMeter gets 504 gateway timeouts but no errors on Azure App insights

I am running a load test on JMeter, and I have a test case like: 300 users in 10 sec (rump-up) and I got a 504 - gateway timeout error. The endpoint is exposed on Azure (app service plan, PostgreSQL, SignalR). I was analyzing data on Application…
0
votes
0 answers

Media files showing 504 error on resource fetch on chrome

On chrome (tried many devices) My (Angular) web app is sitting on a subdomain and referencing media in a folder in the main domain using https. When using http to access the web app, all media referenced load well but when using https to access the…
0
votes
1 answer

504 timeout error when sending many notifications using laravel +firebase messaging

I m sending notifications to many users at the same time and this is my code: public function sendNotifications($title,$body,$image){ $SERVER_API_KEY ="my_api_key"; $tokens=DB::select("select * from…
0
votes
1 answer

check session on server with Vercel and NextAuth

I made a blog in which I want to verify if the user is admin before accessing the page to create a post. It works perfectly fine on the localhost but when I deploy it on vercel, it ends up with error 504 with no more informations in the logs. I…
0
votes
0 answers

Is there any possibility to change default ASP NET gateway timeout 504?

I am facing a problem with my ASP NET configuration which is hosted on the azure app service. When I call my ASP NET controller from the frontend page with an AJAX call, the controller is trying to process some external requests, DB calls, etc.…
0
votes
0 answers

RAM control on wordpress site with further 504 errors

My site crashes from time to time due to lack of RAM. 1 I have been allocated 2 gigabytes of RAM by hosting. When goods are being uploaded, either a lot of people visit the site, or for some reason there is a jump in RAM - the norm is exceeded and…
0
votes
0 answers

AWS Elastic Beanstalk 504 when and only when backend expects to return 40x status

I was asked to take a look at environment and I'm trying to figure things out right now. The trouble I'm facing is that there's AWS ALB 504 timeout after ALB's idle timeout setting whenever backend API (express.js) expected to return 401, 404, or…
0
votes
0 answers

upstream timed out (110: Connection timed out) while reading response header from upstream nginx in nodejs project

While I had not connected this server to Domain or integrated SSL, it was working fine, as soon as I implemented the SSL it started throwing error. Here is my server block - sites-available - config. server{ server_name demo.example.com; …
0
votes
0 answers

am getting CORS error while posting data from front end

i am getting "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://"myurl". (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 504" here is my API createGroup(language, req,…