You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/04/20 06:23:42 UTC

[GitHub] [incubator-doris] NoFearInMyHeart-G opened a new issue, #9125: [Bug] http_max_header_size configuration invalid

NoFearInMyHeart-G opened a new issue, #9125:
URL: https://github.com/apache/incubator-doris/issues/9125

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   0.15.0-rc01
   
   ### What's Wrong?
   
   Restart fe after configuring 'http_max_header_size=81920' in fe.conf, and find that the configuration does not take effect. If you add 'enable_http_server_v2=false' to turn off the httpv2 configuration, 'http_max_header_size=81920' will take effect.
   
   ### What You Expected?
   
   When httpv2 is enabled, you can also modify the request header size by configuring http_max_header_size.
   
   ### How to Reproduce?
   
   After configuring http_max_header_size=81920, if you initiate a request with a request header size of 8193, you will get "Request Header Fields Too Large 8193 > 8192"
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] NoFearInMyHeart-G commented on issue #9125: [Bug] http_max_header_size configuration invalid

Posted by GitBox <gi...@apache.org>.
NoFearInMyHeart-G commented on issue #9125:
URL: https://github.com/apache/incubator-doris/issues/9125#issuecomment-1111958946

   Rejected by fe because the request header is too large. I turned off http2 before, and configured the http_max_header_size parameter in fe and it took effect. So when http2 is enabled, which parameter can modify the request header size of the fe service configuration?
   @hf200012 
   
   > The size of the uploaded file is controlled by the jetty_server_max_http_post_size parameter. If you are stream load, it is not controlled by this parameter. The stream load is a 307 temporary redirect, which is directly transferred to be. 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] hf200012 commented on issue #9125: [Bug] http_max_header_size configuration invalid

Posted by GitBox <gi...@apache.org>.
hf200012 commented on issue #9125:
URL: https://github.com/apache/incubator-doris/issues/9125#issuecomment-1111944948

   The size of the uploaded file is controlled by the jetty_server_max_http_post_size parameter. If you are stream load, it is not controlled by this parameter. The stream load is a 307 temporary redirect, which is directly transferred to be.
   
   > http_server_v2 use jetty, you can use jetty_server_max_http_post_size to effect it.
   > Configured, but to no avail. The error is still "Request Header Fields Too Large 8193 > 8192"
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] hf200012 commented on issue #9125: [Bug] http_max_header_size configuration invalid

Posted by GitBox <gi...@apache.org>.
hf200012 commented on issue #9125:
URL: https://github.com/apache/incubator-doris/issues/9125#issuecomment-1111961082

   > Rejected by fe because the request header is too large. I turned off http2 before, and configured the http_max_header_size parameter in fe and it took effect. So when http2 is enabled, which parameter can modify the request header size of the fe service configuration? @hf200012
   > 
   > > The size of the uploaded file is controlled by the jetty_server_max_http_post_size parameter. If you are stream load, it is not controlled by this parameter. The stream load is a 307 temporary redirect, which is directly transferred to be.
   @NoFearInMyHeart-G
   What are you doing? Add me on WeChat: 35926237


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] stalary commented on issue #9125: [Bug] http_max_header_size configuration invalid

Posted by GitBox <gi...@apache.org>.
stalary commented on issue #9125:
URL: https://github.com/apache/incubator-doris/issues/9125#issuecomment-1107517817

   http_server_v2 use jetty, you can use jetty_server_max_http_post_size to effect it.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] NoFearInMyHeart-G commented on issue #9125: [Bug] http_max_header_size configuration invalid

Posted by GitBox <gi...@apache.org>.
NoFearInMyHeart-G commented on issue #9125:
URL: https://github.com/apache/incubator-doris/issues/9125#issuecomment-1111900813

   > http_server_v2 use jetty, you can use jetty_server_max_http_post_size to effect it.
   Configured, but to no avail. The error is still "Request Header Fields Too Large 8193 > 8192"
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org