Skip to main content

Questions tagged [bad-request]

The tag has no usage guidance.

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

How to solve 400 bad request returned from XAMPP server

I am sending data from 2 devices. Data format from both device is similar. I have a XAMPP server running on Windows Server 2019. Device One Server Log: > 202.134.10.136 - - [28/Mar/2024:12:19:57 +...
N.H.Shakil's user avatar
0 votes
1 answer
2k views

Power Automate: Duplicate chat members is specified in the request body

I'm creating a chat bot that handles basic IT Support tasks. I've created a flow within a Power Virtual Agent, that puts the user that made the support request into a teams chat with myself. I've ...
Thomton's user avatar
  • 15
0 votes
0 answers
432 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 ...
Diego Flores's user avatar
5 votes
1 answer
12k 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 ...
michafn's user avatar
  • 71
1 vote
1 answer
32 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 ...
MalcolmOcean's user avatar
12 votes
1 answer
2k 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 ...
Nils Munch's user avatar
1 vote
2 answers
1k 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 ...
Reizo's user avatar
  • 111
0 votes
1 answer
662 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 "...
Bahriddin Abdiev's user avatar
1 vote
1 answer
48 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 ...
Tamer Saleh's 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/...
Ali's user avatar
  • 21
0 votes
1 answer
884 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 ...
Tom's user avatar
  • 103
0 votes
1 answer
55 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 ...
Tadej Gašparovič's user avatar
0 votes
0 answers
243 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 ...
Neo's user avatar
  • 111
6 votes
4 answers
36k 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 ...
David's user avatar
  • 233
2 votes
2 answers
956 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 ...
SecondThought's user avatar
0 votes
1 answer
262 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 ...
Tyson's user avatar
  • 101
11 votes
4 answers
43k 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 ...
Aurelin's 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. ...
ChickenMilkBomb's 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 ...
Vegard Larsen's user avatar
2 votes
2 answers
1k 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 ...
Shay Erlichmen's 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 ...
ayaz's user avatar
  • 483