include special characters such as%, , +, =, and so on in the URL when you need it? The answer is to use the corresponding encoding instead of the special character itself to construct the URL. For example, in the example above, you can replace the IP value with "172.142.%25" and replace the value of addr with "China%26america" so that the URLs are constructed with "href=?ip=172.142.%25q=mysql" and "href" respectively. = addr=china%26americaq= ' MySQL ', which ultimately resolves the value of t
400 Bad Request The plain HTTP request was sent to HTTPS port in Nginx upstream payment443 {server 10.11.157.111: 443 backup; server 10.11.157.222: 443 weight = 1;} www.2cto.com Location ~ /Payment/{ssi on; proxy_pass http: // payment443; include/opt/apps/nginx/conf/proxy. conf;} Because I configured the redirection to
Fortunately, there is a way to solve this problem in nginx:In nginx. conf, increase the values of client_header_buffer_size and large_client_header_buffers to alleviate this problem.Client_header_buffer_size: The default value is 1 k. Therefore, if the header is smaller than 1 k, no problem will occur.Large_client_header_buffers: this command is used to set the size of the Header buffer for client requests. The default value is 4 kB. The client Request
nginx:400 Bad Request | The plain HTTP request is sent to HTTPS portNginx version nginx/1.12.2Problem 400 error using SSL link in Nginx environmentThe Nginx configuration file is as follows:Access to HTTPS is normal, but the following error occurs when accessing directly:$
: - Fp.write (Res.read ()) -With open ("./savepath.txt","a") as FH: inFh.write (file_name+"\ n")When grabbing a picture with urllib2, part of the request reports HTTP Error 400:bad requestReference: Https://stackoverflow.com/questions/8840303/urllib2-http-error-400-bad-
This article from: http://bbs.51aspx.com/showtopic-42348.html
The remote server returns an unexpected 400 Bad Request. The reason is: the amount of data transmitted is too large.Solution:First, in the client configuration file:1. Modify the maximum data transfer quota on the node
OpenTimeout = "00:03:00" receiveTimeout = "00:10:00" sendTimeout = "00:0
When you are usingMicrosoft. Sharepoint. Client. filecollection. AddMethod orMicrosoft. Sharepoint. Client. file. savebinaryWhen creating or modifying a file in the SharePoint library, you may encounter the error "the remote server returned an error: (400) Bad request. To solve this problem, you need to modify the default maximum Message Size of SharePoint.
Open
Httpd.conf to DocumentRoot, too.
LoadModule Php5_module
AddType application/x-httpd-php. php
Phpinidir and so on, but do not know why access to PHP files or a bad Request (400)
, is there anyone who can answer what this is for?
Reply to discussion (solution)
If the configuration file is not a problem, it will be the browser cache problemor somethi
Possible cause: Multipartresolver Not configured correctlySee the solution:file Upload ID must be multipartresolver, or error http Status 400–bad Request - BeanID= "Multipartresolver"class= "Org.springframework.web.multipart.commons.CommonsMultipartResolver"> Propertyname= "Defaultencoding"value= "UTF-8"/> 5M - Propertyname= "Maxuploadsi
Html> http://qiuren.blogbus.com/logs/37117725.html
Most of the time, you need to customize the release package when debugging the program. The Firefox plug-in can be used in normal post submission, such as Tamper Data.
However, this tool does not support uploading images or files.
At this time, it is more common to use winsock expert to capture packets, save the packet as txt, modify the txt file, and then submit the file with nc.
Before the article, I often encounter this echo when sendin
The reason is that jersey built-in converters can only do simple type conversions such as:The client must first submit a string;String----> String/long/boolean These basic can be converted, but if you write as follows:String---->date type, then jersey internal error, reported the illegal request message, can not be debugged (took 2 days to understand, do not repeat again)Can be modified to a string, and then below if the use of the place under convers
The nginx concat module configuration page returns the 400 bad request, nginxconcat
This problem was not found in nginx of version 1.4.x, but encountered this problem in version 1.5.x.
In the new version, Nginx uses the standard MIME-Type: application/javascript. In the current code of the nginx_concat_module module, the type of application/x-javascript is writ
because the connection is turned off, the error message is not sent to the client, which results in an error recorded in the log file, and nothing is seen in the grab packet analysis.
Testto verify the results of the above analysis is very simple, open the command line Cmd.exe, in which the input Telnet ServerIP 80, waiting for the connection to be successful after the direct switch off cmd, then to view the Nginx log file in a more than a 400 error
HTTP 400 error is sometimes reported when Ajax requests background data-the request is invalid (bad requests), the request is invalid, the request does not enter the background service;Cause: 1) The field name of the front-end submission data is inconsistent with the field t
SceneBusiness Services provide WebSocket services based on WebSocket to push report data, clients view reports on browsers, and pass requests to backend services via HTTP proxies.ProblemWhen the client views the report data on the browser, the report function is abnormal, and the browser development tool views The WebSocket handshake on the service side and rejects it, returning to the bad request.Analysis4,001 is due to the client, so it should be a
Cause
Today, a garden friend reported to us that some blog articles opened in chrome will contain "Bad request-request too long. HTTP Error 400. the size of the request headers is too long. "error page:
It's okay to use IE and Firefox, but Chrome is the only one.
We have en
Using the ABP framework, the zero module is used. Then use the element UI to upload the image. A "Request for error" occurred.It works correctly when transmitting data to an interface using Postman.After several twists and turns, finally found the problem is Nati token problem. https://forum.aspnetboilerplate.com/viewtopic.php?f=5t=10025sid=5b3ace20a25195168c29846975df630dBecause the element UI is not part of the ABP. The AJAX
Today found logs mass 400 error
The http1.1 standard specifies that the request must contain header information, and if the request header is empty then Web server returns 400 in detail and can see RFC 2316, section 14.23
In addition to the above-mentioned Telnet method may cause the empty
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.