Your browser sent a request that this server could not understand перевести на русский

Your browser sent a request that this server could not understand перевести на русский

Bad Request, Your browser sent a request that this server could not understand

There are two application servers and a switch. When i access application by using application server ip it works fine. However if i use switch ip in my url Bad request error throws up only for firefox and chrome for a few links only.

15 Answers 15

Trending sort

Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.

It falls back to sorting by highest score if no posts are trending.

Switch to Trending sort

Here is a detailed explanation & solution for this problem from ibm.

Problem(Abstract)

Request to HTTP Server fails with Response code 400.

Symptom

Response from the browser could be shown like this:

Bad Request Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit.

HTTP Server Error.log shows the following message: «request failed: error reading the headers»

Cause

This is normally caused by having a very large Cookie, so a request header field exceeded the limit set for Web Server.

Diagnosing the problem

To assist with diagnose of the problem you can add the following to the LogFormat directive in the httpd.conf: error-note: %n

Resolving the problem

For server side: Increase the value for the directive LimitRequestFieldSize in the httpd.conf: LimitRequestFieldSize 12288 or 16384 For How to set the LimitRequestFieldSize, check Increase the value of LimitRequestFieldSize in Apache

For client side: Clear the cache of your web browser should be fine.

unixforum.org

Форум для пользователей UNIX-подобных систем

apache: http + https

Модератор: SLEDopit

Your browser sent a request that this server could not understand перевести на русский. Смотреть фото Your browser sent a request that this server could not understand перевести на русский. Смотреть картинку Your browser sent a request that this server could not understand перевести на русский. Картинка про Your browser sent a request that this server could not understand перевести на русский. Фото Your browser sent a request that this server could not understand перевести на русский

apache: http + https

Сообщение lgar » 26.12.2010 20:19

Есть CMS Zen Cart, проблема в том, что админка работает только по HTTPS. Настроил кое-как Apache, теперь по http отображает:

Your browser sent a request that this server could not understand.
Reason: You’re speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

CMS установил на субдомене: zencart.example.zone

Если есть возможность, то приведите, пожалуйста верный virtualhost. Как можно реализовать, чтобы отображался по HTTP/HTTPS?

P.S. У меня Ubuntu 8, добавил на основе default default-ssl, настройки виртуалхоста субдомена не трогал. Сейчас все субдомены работают только по https.
Как можно сделать так, чтобы 1 сайт работал по https, а лучше если его определенная директория, либо он работал по http/https?

Re: apache: http + https

Сообщение neol » 26.12.2010 21:20

Your browser sent a request that this server could not understand перевести на русский. Смотреть фото Your browser sent a request that this server could not understand перевести на русский. Смотреть картинку Your browser sent a request that this server could not understand перевести на русский. Картинка про Your browser sent a request that this server could not understand перевести на русский. Фото Your browser sent a request that this server could not understand перевести на русский

Re: apache: http + https

Сообщение lgar » 27.12.2010 14:09

Так я пробовал, возникала ошибка.

Надо было добавить:

NameVirtualHost *:80
NameVirtualHost *:443

Теперь всё субдомены отображают этот субдомен

NameVirtualHost *:80
NameVirtualHost *:443

ServerName zen.domain.com
ServerAlias *.zen.domain.com

ScriptAlias /cgi/ «/home/webmaster/cgi/»
ScriptAlias /cgi-bin/ «/home/webmaster/cgi/»

ErrorLog /var/log/apache2/zen_errors.log
CustomLog /var/log/apache2/zen_custom.log combined

ServerName zen.domain.com
ServerAlias *.zen.domain.com

DocumentRoot /home/webmaster/www/zen
SSLEngine on

SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire

SSLCertificateFile /etc/ssl/certs/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.key
ScriptAlias /cgi/ «/home/webmaster/cgi/»
ScriptAlias /cgi-bin/ «/home/webmaster/cgi/»

ErrorLog /var/log/apache2/zen_errors.log
CustomLog /var/log/apache2/zen_custom.log combined

Your browser sent a request that this server could not understand перевести на русский. Смотреть фото Your browser sent a request that this server could not understand перевести на русский. Смотреть картинку Your browser sent a request that this server could not understand перевести на русский. Картинка про Your browser sent a request that this server could not understand перевести на русский. Фото Your browser sent a request that this server could not understand перевести на русский

Re: apache: http + https

Сообщение lgar » 27.12.2010 18:48

Переформулирую, из-за чего может возникать такая ошибка:

Your browser sent a request that this server could not understand перевести на русский

This has just started happening: every time I try to print from a remote website (thetimes.co.uk) I get this message:

Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit.

It is not the website, as the request works from Microsoft Edge.

I can’t see any changes to the parameters which might have affected this.

Any ideas please?

Chosen solution

This issue can be caused by corrupted cookies.

Clear the cache and remove the cookies from websites that cause problems via the «3-bar» Firefox menu button (Options/Preferences).

«Clear the cache:

«Remove the cookies» from websites that cause problems.

If clearing cookies didn’t help then It is possible that the cookies.sqlite file in the Firefox profile folder that stores the cookies got corrupted.

All Replies (5)

Your browser sent a request that this server could not understand перевести на русский. Смотреть фото Your browser sent a request that this server could not understand перевести на русский. Смотреть картинку Your browser sent a request that this server could not understand перевести на русский. Картинка про Your browser sent a request that this server could not understand перевести на русский. Фото Your browser sent a request that this server could not understand перевести на русский

Did you check with the remote website about the print issue? If it is going through them maybe they are blocking something.

The problem is that it works fine with Edge, which I don’t normally use. I’ve never come across `Bad Request’ before, and the fact that I can print from the website using Edge suggests it’s a Waterfox bug.

Chosen Solution

This issue can be caused by corrupted cookies.

Clear the cache and remove the cookies from websites that cause problems via the «3-bar» Firefox menu button (Options/Preferences).

«Clear the cache:

«Remove the cookies» from websites that cause problems.

If clearing cookies didn’t help then It is possible that the cookies.sqlite file in the Firefox profile folder that stores the cookies got corrupted.

Источники информации:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *