I'm getting the error:
Bad Request
Request Line is too large (6060 > 4094)
When I access the a specific url on my server like this:
/api/categorize?packages=package1,package2,...packageN
On nginx.conf I have:
large_client_header_buffers 8…
We have a hard time debugging 400 errors on our website. We have a lot of errors like this:
10.0.0.1 - - [08/Oct/2018:14:28:07 +0200]
"GET /les-news/palmares/detail/article/la-lettre-de-motivation-ideale-pour-une-demande-de-stage-5224/
HTTP/1.1"…
I've been trying to test a setup that looks like this:
Website: Http GET Request -> Nginx -> HAProxy -> .Net application
I've placed Nginx and HAProxy on the same Debian machine. However, HAProxy constantly returns "Bad Request (Invalid Host)". I've…
Recently I moved my servers from one provider to the other and started to get this messages in apache error log:
"request failed: error reading the headers"
Example from the error and corresponding access apache logs:
ApacheServer$ cat …
I think what I was asking for was a bit hard to understand, so, I am trying to make it simpler...
I need my server to have a custom 400 error page when it receives a request with a malformed host header.
What I ideally want is ErrorDocument 400…
We run an Apache2 web server which has somewhere in the vicinity of 2-3 million pages served every day (only HTML+CSS+Javascript, images and other content is served with Lighttpd). Our daily logwatch e-mail outputs somewhere between 3-5 "400 Bad…
I'm using nginx as TLS terminator in front of an Apache 2.4 server.
I'm using add_header X-Content-Type-Options nosniff; in nginx to add this header to every response.
If the HTTP status code returned by Apache is below 400 the header is correctly…
This is on Windows Server 2003 Running IIS.
I have an ASP.NET 2.0 website which is also hosting some web services. When the site makes a webservice call to itself (localhost), I get back a 404: Bad Request.
I would like to see the actual request…
I'm trying to download the http://code.opencv.org/svn/opencv/trunk/ repository of all of the OpenCV source code - as specified in an OpenCV installation tutorial.
In the tutorial, the repository https://code.ros.org/svn/opencv/trunk/ is used, but…
I'm using EventStore with the following configuration :
---
RunProjections: All
ClusterSize: 2
Db: /opt/eventstore/db
DiscoverViaDns: false
GossipSeed: 10.0.100.11:1113
GossipOnExt: false
Log: /opt/eventstore/logs
Index:…
I have been trying for the longest time to proxy a websocket with it's sid variable to the localhost service, that is serving it.
I have looked far and beyond for a solution (including a lot of the questions here), but most of them suggest to use a…
I have configured nginx to proxy the request that comes to the port 8000, to route to a different ip. In the configuration i also add Access-control-Allow-Origin header. This works fine if server is responding with 2xx response codes. But if server…
I am currently trying to host nexus as a private registry for docker images within my organisation . My nginx configuration are as below .
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid …
I have a small Django (1.2.x) project deployed on Apache (2.x) via mod_wsgi (3.x). In the admin, if I upload a file < 1MB, I can get it through; however, for a file, say, 1.2MB in size, I get a 400 response from the server with "Error 400" in the…
I have created a number of custom error pages and I have this in global configuration so it will apply to all vhosts:
Alias /common /var/www/common
ErrorDocument 400 /common/400.shtml
ErrorDocument 401 /common/401.shtml
ErrorDocument 403…