Questions tagged [400]

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

HTTP error code 400 means the request cannot be fulfilled due to bad syntax.

48 questions
0
votes
1 answer

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 fetches batches of data to be synchronized from a…
S M Kamran
  • 125
  • 1
  • 8
0
votes
1 answer

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 something happened (admin installed security…
Tom
  • 103
  • 5
0
votes
0 answers

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 container. My apache config d is as…
eatdas
  • 1
  • 1
0
votes
1 answer

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 happy path was working as expected. It was 400…
notbrain
  • 209
  • 3
  • 16
0
votes
1 answer

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 server and a MSSQL database on a different server. On…
Juw
  • 127
  • 1
  • 10
0
votes
1 answer

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't attach wireshark or anything, and what's even…
MStodd
  • 171
  • 1
  • 8
0
votes
1 answer

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 ADDRESS - - [24/Feb/2012:09:37:28 -0800] "GET /…
elle
  • 123
  • 1
  • 6
0
votes
1 answer

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. Here are the error details: ModuleName …
ChickenMilkBomb
  • 419
  • 6
  • 14
0
votes
1 answer

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 this happens. In our WCF log the call is not…
Tim Mahy
0
votes
0 answers

Nginx as proxy and very slow client weird issue

We have web api with multiple endpoints behind nginx (1.18.0 on Ubuntu 20) proxy. Everything works fine but one scenario. When user whith our company's Android app tries to upload attchment using one specific endpoint to server behind nginx and…
Dadudki
  • 1
  • 1
0
votes
0 answers

Log data of http status 200 in user directory with Apache2.4

I want to log http status 200 data in my user directory with Apache2.4. the current SetEnvIf Request_URI "~data” ssl_datalog nolog CustomLog ${APACHE_LOG_DIR}/ssl_data_log combined env= ssl_datalog As, the directory can be restricted, but please…
kumanote
  • 1
  • 1
0
votes
0 answers

Apache2 http https redirect not working (ErrorDocument or 400 Bad Request)

I'm trying to redirect http to https I have sevral sub domains and use sevral port. I wnat to redirect 80 port to 443 port automatically. I have httpd.conf / vhosts.conf / ssl.conf so when i type https://example.com, it's working well but when i…
0
votes
0 answers

NGINX server is producing error response code 400 and "Bad Request" message when the server is rapidly requested

The API serves as a proxy for M3U8 videos. While accessed through an HTTP connection at IP:port requests to the API never result in a response code 400. Despite being tested under semi heavy load(10 videos playing all at the same time), no issues…
vynxc
  • 1
0
votes
1 answer

How to resolve "400 Bad Request" after cloning a webserver that uses Cloudflare for SSL?

I'm trying to clone a webserver that hosts sites that rely on Cloudflare for their SSL certificates. After cloning the server and updating my local hosts file to point the site to the new server, I'm met with the error: 400 Bad Request No required…
Slbox
  • 113
  • 4
0
votes
0 answers

HTTP redirect not working

My website: https://www.louiswebsdale.co.uk/ keeps giving the "400 bad request invalid header" error when trying to visit it without the https. So www.louiswebsdale.co.uk or http://www.louiswebsdale.co.uk give the "400 bad request invalid header"…