http-status-code-504

Angular service worker with @angular/pwa package showing `HTTP error 504` when offline

本小妞迷上赌 提交于 2020-06-16 03:24:14
问题 I am working on an angular PWA application. So I added an npm package by ng add @angular/pwa . It is added successfully with no errors. The generated Manifest is working fine. But I am facing issues with the service worker. When the application goes online it stores all the caches (see attachment) but whenever the application goes offline, instead of serving the request from the service worker it shows the error - HTTP ERROR 504 Here is my ngsw-config.json - { "index": "/index.html",

Angular service worker with @angular/pwa package showing `HTTP error 504` when offline

别来无恙 提交于 2020-06-16 03:23:51
问题 I am working on an angular PWA application. So I added an npm package by ng add @angular/pwa . It is added successfully with no errors. The generated Manifest is working fine. But I am facing issues with the service worker. When the application goes online it stores all the caches (see attachment) but whenever the application goes offline, instead of serving the request from the service worker it shows the error - HTTP ERROR 504 Here is my ngsw-config.json - { "index": "/index.html",

What can I do to fix a 504 gateway timeout error?

百般思念 提交于 2020-02-01 15:32:11
问题 I have been using jquery to try and pull data from an API. However I am getting a 504 error. Even when I am using postman to test the data this happens. Can anyone suggest what I need to do to get around this? 回答1: There is nothing you can do. You are sending a request to a server. This particular request fails, because the server sends a request to a proxy, and gets a timeout error. Your server reports this back to you as status 504. The only way to fix it is to fix the proxy (make it

Getting a 504 only when Fiddler is present?

杀马特。学长 韩版系。学妹 提交于 2019-12-24 07:44:37
问题 A GET request is constructed to test the network and it is configurable to purposely wait for 15 minutes within the IIS process before responding. When the request is issued in Chrome without Fiddler it completes successfully. However, with Fiddler it is usually either 5 or 10 minutes. When replayed from Fiddler it is 5 minutes (only a few trials so not conclusive). Within the 10 minute cases, inside the Fiddler Statistics tab is Request was retried after a Receive operation failed This

Profiling a Perl CGI script that times-out

五迷三道 提交于 2019-12-22 05:33:38
问题 I have a Perl CGI application that sometimes times out, causing it to be killed by Apache and 504 Gateway Time-out error to be sent to browser. I am trying to profile this application using NYTProf, however I cannot read profile data: $ nytprofhtml -f www/cgi-local/nytprof.out Reading www/cgi-local/nytprof.out Profile data incomplete, inflate error -5 ((null)) at end of input file, perhaps the process didn't exit cleanly or the file has been truncated (refer to TROUBLESHOOTING in the

504 Gateway Time-out The server didn't respond in time. How to fix it?

让人想犯罪 __ 提交于 2019-12-20 10:09:34
问题 The client requested to download a compressed log file, using Ext.js a form submission on an embedded iframe . Request was sent to server, which has Apache and JBoss 6. The servlet compresses log files, do some database operation and returns the compressed file. Exactly after 2 min, the 504 Gateway Time-out The server didn't respond in time message is seen at the browser net panel. How to fix this error? 回答1: The servlet was taking a long time to compress the log files, and Apache's timeout

How to improve query performance (using explain command results f.e.)

删除回忆录丶 提交于 2019-12-13 00:47:24
问题 I'm currently running this query. However, when run outside phpMyAdmin it causes a 504 timeout error. I'm thinking it has to do with how efficient the number of rows is returned or accessed by the query. I'm not extremely experienced with MySQL and so this was the best I could do: SELECT s.surveyId, q.cat, SUM((sac.answer_id*q.weight))/SUM(q.weight) AS score, user.division_id, user.unit_id, user.department_id, user.team_id, division.division_name, unit.unit_name, dpt.department_name, team

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

℡╲_俬逩灬. 提交于 2019-12-12 01:35:12
问题 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 post-back the same page -by clicking a button- the post-back fails with thoose errors shown in IE and in FF: Internet Explorer cannot display the webpage --> in IE The connection to the server was reset while the page was loading. --> in FF Question :

504 Error On Server

心不动则不痛 提交于 2019-12-10 12:56:51
问题 I'm loading data into a text file and when the procedure takes long (lots of data) I get a 504 response (viewed in Fiddler) and obviously the file fails to generate. I thought I'd try increasing the session timeout in my web.config, but that didn't help. Is there some property that determines the timeout for this? Appreciate any help. 回答1: This is most likely related to httpRuntime web.config element: <httpRuntime maxRequestLength= "4096" /> maxRequestLength is in integer value that specifies

504 Gateway Time-out Error on PHP Script

落花浮王杯 提交于 2019-12-07 21:24:51
问题 I coded a script for database import, it makes a few jobs on database. When I work this script, after a few minutes I'm getting "504 Gateway Timeout Error". I increased all timeout values on php.ini, also I increased execution times but it is still same. 回答1: You can increase maximum execution time in php. ini_set('max_execution_time', 300); //300 seconds = 5 minutes 回答2: write a info file on server <?php phpinfo(); check max whats comes here if its return 0 then there is something different