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/25 07:34:58 UTC

[GitHub] [incubator-brpc] feng-y opened a new issue #1364: client 使用grpc 时候报ParseH2Settings error

feng-y opened a new issue #1364:
URL: https://github.com/apache/incubator-brpc/issues/1364


   **Describe the bug (描述bug)**
   
   client 使用grpc,brpc server,在server 端重启接受最新的请求时会大量包
   W0325 15:15:52.053001  3101 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   W0325 15:15:52.219422  3060 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   W0325 15:15:52.292871  3139 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   W0325 15:15:52.315311  3072 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   W0325 15:15:52.355899  3090 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   W0325 15:15:52.379459  3145 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   W0325 15:15:52.448324  3094 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   W0325 15:15:52.550127  3115 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   W0325 15:15:52.553637  3096 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   W0325 15:15:52.556807  3069 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   W0325 15:15:52.611464  3124 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   W0325 15:15:52.746151  3125 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   W0325 15:15:52.765209  3128 http2_rpc_protocol.cpp:211, ParseH2Settings] Unknown setting, id=65027 value=1
   
   **To Reproduce (复现方法)**
   
   
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS:
   Compiler:
   brpc:
   protobuf:
   
   **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] cdjingit commented on issue #1364: client 使用grpc 时候报ParseH2Settings error

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


   可以搞成log_every


-- 
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: dev-unsubscribe@brpc.apache.org

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] narutolhy commented on issue #1364: client 使用grpc 时候报ParseH2Settings error

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


   @zyearn 请问有办法关掉吗?或者有什么配置设置好 setting,一直报错日志比较多,影响排查问题。感谢


-- 
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: dev-unsubscribe@brpc.apache.org

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] zyearn commented on issue #1364: client 使用grpc 时候报ParseH2Settings error

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


   影响请求本身吗?这个是grpc的[自定义setting_id](https://github.com/grpc/grpc/blob/master/src/core/ext/transport/chttp2/transport/http2_settings.h),如果正常的话,对端不认识就直接忽略了。
   
   标准的setting:https://tools.ietf.org/html/rfc7540#section-6.5


-- 
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] zyearn commented on issue #1364: client 使用grpc 时候报ParseH2Settings error

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


   这个问题之前通过 https://github.com/apache/incubator-brpc/pull/1599 来避免了。
   
   这里 @LddBird 提出的方案是更好的,有时间提一个PR吗?


-- 
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: dev-unsubscribe@brpc.apache.org

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] LddBird commented on issue #1364: client 使用grpc 时候报ParseH2Settings error

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


   > @zyearn 请问有办法关掉吗?或者有什么配置设置好 setting,一直报错日志比较多,影响排查问题。感谢
   
   简单处理的话在src/brpc/policy/http2_rpc_protocol.cpp 的 H2SettingsIdentifier enum中补上
   GRPC_CHTTP2_SETTINGS_GRPC_ALLOW_TRUE_BINARY_METADATA = 65027
   然后ParseH2Settings中加上对应的case
   
   看上去除了这个值以外brpc都有支持,是出于什么原因不加这个值呢?


-- 
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: dev-unsubscribe@brpc.apache.org

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