Questions tagged [bad-request]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
171 views

How to fix 400 Bad Request by php coding

Last weekend our server/app got bugged and some of your visitor are now getting Error 400 Bad Request everytime they visit our website. I know this error was caused by malformed cookies and everything ...
user avatar
4 votes
1 answer
3k views

k8s nginx ingress returns randomly 502 error on load

we are using an nginx (1.15.8.1) as ingress controller on our k8s cluster (v.1.17), managed by rancher (2.5.7). This worked pretty fine so far, but now we set up a custom API pod that can be ...
user avatar
  • 61
1 vote
1 answer
25 views

Odd requests for urls that are the *body* of my CSS files

I'm not sure quite how to express this but my NodeJS server has recently been getting errors because some middleware library is unable to parse certain parameters from urls. When I look at which urls ...
user avatar
12 votes
1 answer
1k views

How to block mysterious remote requests?

My CentOS server is experiencing huge (millions a day) requests looking like this: Srv PID Acc M CPU SS Req Conn Child Slot Client Protocol VHost Request 62-1 - 0/0/335 . 0.00 ...
user avatar
1 vote
2 answers
532 views

Determine the end of a malformed (bad) http request

I'm implementing a HTTP server and wonder, if there is a defined way of when a server would determine a bad request as ended to return the corresponding 400 status, and accept the following data as ...
user avatar
  • 111
0 votes
1 answer
590 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 "...
user avatar
1 vote
1 answer
45 views

API backends app revision Y not the same as expected X

I have API endpoints on app engine, and after a certain deployment I found a server error. By mistake, I did a rollback, then I fixed the problem, and then I deployed again. Since then I'm having this ...
user avatar
2 votes
1 answer
3k 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/...
user avatar
  • 21
0 votes
1 answer
720 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 ...
user avatar
  • 103
0 votes
1 answer
45 views

Unusual requests on Apache2

I am developing an eBay-like system in PHP only to accept Bitcoin as the only payment method. For this purpose I've set up a virtual machine on my computer because I don't want to be paying for ...
user avatar
0 votes
0 answers
220 views

Why I can't upload a 4k video to phpvibe?

So I trying to playing with Google VM tools and Phpvibe. My chalange is, you can upload any video whatever you want, to the site and after that the server is convert to the optimal format, so you can ...
user avatar
  • 111
4 votes
4 answers
28k 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 ...
user avatar
  • 213
2 votes
2 answers
717 views

Resolving HAProxy BADREQs using socat

I'm trying to figure out why i'm getting BADREQs from time to time, by using "show errors" in socat. The problem is that it only shows the last error. I want to be able to see all of them ( like using ...
user avatar
0 votes
1 answer
261 views

Odd web server requests that look like truncation and concatenation, possibly IE-related

We're logging a few errors consistently that we don't know the cause of. The user agent string indicates this is almost always, if not always, Internet Explorer. (More than 90%, the remaining either ...
user avatar
  • 101
11 votes
4 answers
39k views

Apache Bad Request "Size of a request header field exceeds server limit" with Kerberos SSO

I'm setting up an SSO for Active Directory users through a website that runs on an Apache (Apache2 on SLES 11.1), and when testing with Firefox it all works fine. But when I try to open the website in ...
user avatar
  • 329
0 votes
1 answer
2k 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. ...
user avatar
5 votes
3 answers
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 ...
user avatar
2 votes
2 answers
856 views

Bad Request Due to "Bad" Cookie

I have a web site under a domain, where the main domain is using Google Analytics which sets a cookie named __utmva which is value is part binary. As far as I can tell passing this cookie to IIS ...
user avatar
2 votes
1 answer
3k 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 ...
user avatar
  • 473