You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Sadanand Shenoy (Jira)" <ji...@apache.org> on 2024/08/01 08:54:00 UTC

[jira] [Updated] (RATIS-2133) Ignore http proxy for ratis grpc client & server

     [ https://issues.apache.org/jira/browse/RATIS-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sadanand Shenoy updated RATIS-2133:
-----------------------------------
    Summary: Ignore http proxy for ratis grpc client & server  (was: Include netty-proxy-handler dependency in the project.)

> Ignore http proxy for ratis grpc client & server
> ------------------------------------------------
>
>                 Key: RATIS-2133
>                 URL: https://issues.apache.org/jira/browse/RATIS-2133
>             Project: Ratis
>          Issue Type: Bug
>          Components: thirdparty
>            Reporter: Sadanand Shenoy
>            Assignee: Sadanand Shenoy
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> netty-proxy-handler artifact is required to handle cases where http proxy is configured in an application . 
> Currently it is excluded from the misc jar.
> {code:java}
> Caused by: java.lang.NoClassDefFoundError: org/apache/ratis/thirdparty/io/netty/handler/proxy/HttpProxyHandler
>     at org.apache.ratis.thirdparty.io.grpc.netty.ProtocolNegotiators$ProxyProtocolNegotiationHandler.protocolNegotiationEventTriggered(ProtocolNegotiators.java:526)
>     at org.apache.ratis.thirdparty.io.grpc.netty.ProtocolNegotiators$ProtocolNegotiationHandler.userEventTriggered(ProtocolNegotiators.java:1061)
>     at org.apache.ratis.thirdparty.io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:398)
>     at org.apache.ratis.thirdparty.io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:376)
>     at org.apache.ratis.thirdparty.io.netty.channel.AbstractChannelHandlerContext.fireUserEventTriggered(AbstractChannelHandlerContext.java:368)
>     at org.apache.ratis.thirdparty.io.netty.channel.DefaultChannelPipeline$HeadContext.userEventTriggered(DefaultChannelPipeline.java:1428)
>     at org.apache.ratis.thirdparty.io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:396)
>     at org.apache.ratis.thirdparty.io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:376)
>     at org.apache.ratis.thirdparty.io.netty.channel.DefaultChannelPipeline.fireUserEventTriggered(DefaultChannelPipeline.java:913)
>     at org.apache.ratis.thirdparty.io.grpc.netty.WriteBufferingAndExceptionHandler.handlerAdded(WriteBufferingAndExceptionHandler.java:62)
>     at org.apache.ratis.thirdparty.io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:1114) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)