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

Sadanand Shenoy updated RATIS-2133:
-----------------------------------
    Description: 
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}

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


> Include netty-proxy-handler dependency in the project.
> ------------------------------------------------------
>
>                 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: 10m
>  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)

Reply via email to