Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [400]

400 is the HTTP error code for "Bad Request".

0
votes
1answer
22 views

User gets error 400 on intranet sites only

I had the user log into multiple machines on different domains, both virtual and physical, and the issue persists. When I log into those same machines I get to the sites without issue. I checked the ...
0
votes
0answers
35 views

Several GET / HTTP/1.0 in apache2 logs with 400 error

We have a Magento 1.X hosted on AWS EC2 with apache2. We have thousands of calls that we don't understand what they are. The calls are all GET with HTTP/1.0 (calling ip masked) x.y.z.87 - - [28 / ...
6
votes
1answer
378 views

Lot of 400 errors in the Apache logs

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-...
0
votes
0answers
78 views

https certificates doesn´t work on docker nginx

I have an official nginx image in which I ADD certificates and the .conf file so It listen over port 443 and 80. . I just added on nginx official dockerfile: ***ADD gp-search2.conf /etc/nginx/conf.d/ ...
2
votes
0answers
127 views

EventStore Bad Request (Invalid host) working in cluster

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/...
-1
votes
2answers
176 views

nginx staging rewrite http to https with port number

I'm getting a 400 bad request. This is the config code. file: staging.rewrites if ($scheme = http) { return 301 https://$host:[port]$request_uri; } Does anyone know if this is a valid rewrite?
0
votes
1answer
2k views

400 Bad Request at request, http://localhost/favicon.ico

I'm new to nginx, and my site was just deployed to Digital Ocean. When I try to open this site from a browser, it returns a 400 Bad Request.. Request Header or Cookie Too Large error message. The ...
3
votes
1answer
249 views

Proxy websocket with parameters through proxypass/proxypassmatch without a VirtualHost

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 ...
0
votes
1answer
489 views

Ubuntu 16.04 public wifi connection failure “The request is invalid due to malformed syntax or invalid data.” [closed]

I use Ubuntu 16.04 on my laptop and I can't connect public library's free wifi. First, It shows this error when I try to open HTTP pages: Open me in new tab When I try to open https pages, it says "...
0
votes
1answer
889 views

HAProxy - Error 408 - randomly

Proxy version 1.7.9 2017/08/18 Simple GET requests made within script tags in the index file are getting dropped randomly, and instead the custom 400 error html is returned with the status code of ...
0
votes
1answer
1k views

IIS 8.5 throwing 400 Bad request in Production when calling REST WS using Post method

I've a strange issue. Let me explain in details below step by step: I've a vendor developed REST WS (Made using WCF) for synchronizing data with MS CRM. I've developed a windows service, which ...
2
votes
1answer
724 views

Nginx reverse proxy issue for 4xx response code

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 ...
2
votes
1answer
960 views

Nginx Docker 400 Bad Request

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/...
2
votes
1answer
1k views

http headers vanish when proxying http errors through nginx

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 ...
1
vote
0answers
1k views

How to diagnose error 400, bad request, after upgrading Apache?

I'm the author of an open-source client-server application that seems to have stopped working on my own server after I upgraded to Apache 2.2.22. I now get http error 400, bad request, on all my ...
0
votes
1answer
436 views

Accept custom header field “Content type” in apache

My app was sending request with header field "Content type" [sic] and value "form-data" [sic] to the server. Although it seems wrong - it seems it was causing no problem until couple of days ago. Then ...
0
votes
0answers
1k views

Why am I getting 400 Bad Request?

I have just finished setting up a server on AWS ECS. All of the configurations are identical to a different server I have, except for Apache version (from 2.2 to 2.4) and PHP version (from 5.3 to 5.6)...
0
votes
0answers
234 views

websocketserver behind nginx and apache

How is it possible to establish a websocket connection through nginx and apache, where both act as reverse proxies. The system is setup with apache on the main host and a tornado webapplication in a ...
1
vote
0answers
94 views

Hosting emoji domains quandary

I am trying to make my IIS8.5 to process IDN domains, including the domains with emoji characters. Since the application runs dynamic hostnames I bind by IP and protocol only. The IIS8.5 does fine ...
4
votes
4answers
14k views

HAProxy returns Bad Request (Invalid Host) for seemingly no reason

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 ...
5
votes
1answer
8k views

request failed: error reading the headers

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 ...
0
votes
1answer
841 views

nginx proxy_pass receive content/status headers when http 4xx

Was having some trouble as chronicled here - https://stackoverflow.com/questions/22570550/play-2-2-1-simpleresult-4xx-response-body-possible-via-cors-xhr But I didn't focus on nginx since the 200 OK ...
10
votes
1answer
14k views

nginx Request line too large

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 ...
1
vote
1answer
435 views

Error 400 on LAN access

Probably a stupid question / problem, but when I try and access my site via it's domain name from inside it's LAN (requesting via the local IP address works fine though), I get an error 400. A while ...
0
votes
1answer
957 views

Strange 400 error with IIS 7.5 and a webservice?

Ok, this is a longshot. I have been pondering this for hours. I have no clue how to solve this. But maybe someone here can recognize the problem and point me to right direction. I have an IIS 7.5 ...
0
votes
1answer
1k views

Why isn't IIS logging my 400, or What is responding with 400?

I have a web application which makes a localhost webservice call to itself and is getting a 400 Bad Request back. The problem is that I'm having trouble tracking down the cause of the 400 since I can'...
3
votes
2answers
4k views

How can I track down the cause of a 400: Bad Request web service call to localhost?

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 ...
3
votes
0answers
314 views

SVN checkout returns 400 error

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 ...
5
votes
1answer
2k views

How to make Apache return a custom page on a 400 error with malformed host headers?

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 ...
0
votes
1answer
1k views

Apache returns 400 instead of 200 at DocumentRoot

I am seeing a lot of these odd entries in my Apache access log: SOME IP ADDRESS - - [23/Feb/2012:03:06:38 -0800] "GET /" 400 460 "-" "-" If I try to access the Apache document root, I get: MY IP ...
0
votes
1answer
1k views

Intermittent 400 Bad Request Errors in IIS

We recently upgraded our infrastructure to Windows server 2008 R2 (64 bit), and are now getting intermittent 400 errors on post. I set up failed request tracing, and have caught a couple of them. ...
5
votes
3answers
2k views

How often should we expect 400 Bad Request?

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 ...
2
votes
1answer
2k views

Uploading file > 1 MB on Django admin gives 400 Bad Request response

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 ...
0
votes
1answer
1k views

Http 400 'Bad Request' and win32status 1450 when larger messages are sended to a WCF service

we sometimes receive Http 400 bad request resultcodes when posting a large file (10mb) to a WCF service hosted in IIS 6. We can reproduce this using SOAP UI and it seems that it is unpredictable when ...
1
vote
2answers
3k views

Redirecting requests that would result in an HTTP 400 (Bad Request) error (Apache 2.2)

Due to a security vulnerability in Wordpress, a bunch of my posts got renamed to something like: http://**MYSITE**/2008/08/21/**POSTNAME**/%&%28%7B$%7Beval%28base64_decode%28$_SERVER%...