You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/03/02 04:14:43 UTC

[GitHub] [incubator-brpc] Silocean opened a new issue #1347: 使用brpc http client访问url,返回错误信息 “400 Bad Request”

Silocean opened a new issue #1347:
URL: https://github.com/apache/incubator-brpc/issues/1347


   **Describe the bug (描述bug)**
   
   使用brpc http client访问url,返回错误信息 “400 Bad Request”。
   具体信息如下:
    Fail to send Request, [E1010]HTTP/1.1 400 Bad Request: <html>
   <head><title>400 Bad Request</title></head>
   <body bgcolor="white">
   <center><h1>400 Bad Request</h1></center>
   <hr><center>nginx</center>
   </body>
   </html>
   
   初步判定是url长度超过限制导致的,因为尝试去掉某些参数降低url长度后错误消失。
   请问brpc http client中是否确实有该长度限制?如果有是否可自定义?在哪里自定义?
   
   **To Reproduce (复现方法)**
   
   
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS: Centos 7.2.1511
   Compiler:  gcc-4.8.5
   brpc: 0.9.0
   protobuf: 3.6.0
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] guodongxiaren commented on issue #1347: 使用brpc http client访问url,返回错误信息 “400 Bad Request”

Posted by GitBox <gi...@apache.org>.
guodongxiaren commented on issue #1347:
URL: https://github.com/apache/incubator-brpc/issues/1347#issuecomment-858211183


    可以把完整url贴出来看下


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org