http-status-code-408

HTTP, 408 Request timeout

北慕城南 提交于 2019-12-17 19:32:53
问题 I have an application, written in C++. This app dispatches a certain info to a script located on a remote website using HTTP POST requests. The app sends requests with a period from several seconds to several minutes. The problem is that after about a half an hour of working without errors, the app starts to get a 408 Request timeout error from the web server. Then the app starts to retry posting but the server keeps on responding with 408 Request timeout. An interesting observation: the

Understanding “408 Request Timeout” on Apache with PHP

流过昼夜 提交于 2019-12-03 11:39:56
问题 Issue description - Apache logs I found items similar to this one in the Apache log file: 166.147.68.243 [24/Feb/2013:06:06:25 -0500] 19 web-site.com "-" 408 - "-" I’ve got custom log format and 408 here stands for status. The log format is: LogFormat "%h %t %D %V \"%r\" %>s %b \"%{User-agent}i\"" detailed And normally the line in the log file looks like 184.73.232.108 [26/Feb/2013:08:38:16 -0500] 30677 www.site.com "GET /api/search... HTTP/1.1" 200 205 "Zend_Http_Client" This is why 408

Understanding “408 Request Timeout” on Apache with PHP

女生的网名这么多〃 提交于 2019-12-03 02:06:29
Issue description - Apache logs I found items similar to this one in the Apache log file: 166.147.68.243 [24/Feb/2013:06:06:25 -0500] 19 web-site.com "-" 408 - "-" I’ve got custom log format and 408 here stands for status. The log format is: LogFormat "%h %t %D %V \"%r\" %>s %b \"%{User-agent}i\"" detailed And normally the line in the log file looks like 184.73.232.108 [26/Feb/2013:08:38:16 -0500] 30677 www.site.com "GET /api/search... HTTP/1.1" 200 205 "Zend_Http_Client" This is why 408 error lines look strange to me. No request is logged and I have no idea on what should be optimized.

Request to j_security_check return 408 error only with right paramters

拟墨画扇 提交于 2019-11-29 12:54:30
I want to send request to j_security_check from servlet and get auth cookie from response. Code: String url = "http://someserver:8080/j_security_check?j_username=user&j_password=qwerty"; HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection(); If I put wrong auth parameters then on response I get a default wrong-login page, but if I put right auth parameters I got server code 408. What's wrong? To get some resource on the tomcat server with j_security_check auth it is necessary to implement three steps: Send GET request to the needed private resource, in response you

HTTP, 408 Request timeout

☆樱花仙子☆ 提交于 2019-11-28 10:48:42
I have an application, written in C++. This app dispatches a certain info to a script located on a remote website using HTTP POST requests. The app sends requests with a period from several seconds to several minutes. The problem is that after about a half an hour of working without errors, the app starts to get a 408 Request timeout error from the web server. Then the app starts to retry posting but the server keeps on responding with 408 Request timeout. An interesting observation: the error disappears after I access the website using a browser and the app works OK for about 30 minutes after

Request to j_security_check return 408 error only with right paramters

梦想与她 提交于 2019-11-28 06:44:11
问题 I want to send request to j_security_check from servlet and get auth cookie from response. Code: String url = "http://someserver:8080/j_security_check?j_username=user&j_password=qwerty"; HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection(); If I put wrong auth parameters then on response I get a default wrong-login page, but if I put right auth parameters I got server code 408. What's wrong? 回答1: To get some resource on the tomcat server with j_security_check auth