Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-281

BGPMessageHeaderDecoder is not a @Sharable handler

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Bugzilla Migration
    • Bugzilla Migration
    • BGP
    • None
    • Operating System: All
      Platform: All

    • 4370
    • Normal

    Description

      "trying to connect the Opendaylight BGP module to bagpipe router. The BGP module accepts the connection from bagpipe but it fails in initializing the channel, throws the following exception and do not send open and keep alive messages (but receive open and keep alive messages from bagpipe)."

      io.netty.channel.ChannelPipelineException: org.opendaylight.protocol.bgp.rib.impl.BGPMessageHeaderDecoder is not a @Sharable handler, so can't be added or removed multiple times.
      at io.netty.channel.DefaultChannelPipeline.checkMultiplicity(DefaultChannelPipeline.java:464)[112:io.netty.transport:4.0.30.Final]
      at io.netty.channel.DefaultChannelPipeline.addLast0(DefaultChannelPipeline.java:136)[112:io.netty.transport:4.0.30.Final]
      at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:129)[112:io.netty.transport:4.0.30.Final]
      at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:257)[112:io.netty.transport:4.0.30.Final]
      at io.netty.channel.DefaultChannelPipeline.addLast(DefaultChannelPipeline.java:244)[112:io.netty.transport:4.0.30.Final]
      at org.opendaylight.protocol.bgp.rib.impl.BGPDispatcherImpl$BGPChannel$1.initializeChannel(BGPDispatcherImpl.java:193)[193:org.opendaylight.bgpcep.bgp-rib-impl:0.5.0.SNAPSHOT]
      at org.opendaylight.protocol.bgp.rib.impl.protocol.BGPReconnectPromise$1.initializeChannel(BGPReconnectPromise.java:58)[193:org.opendaylight.bgpcep.bgp-rib-impl:0.5.0.SNAPSHOT]
      at org.opendaylight.protocol.bgp.rib.impl.protocol.BGPReconnectPromise$3.initChannel(BGPReconnectPromise.java:83)[193:org.opendaylight.bgpcep.bgp-rib-impl:0.5.0.SNAPSHOT]
      at org.opendaylight.protocol.bgp.rib.impl.protocol.BGPReconnectPromise$3.initChannel(BGPReconnectPromise.java:80)[193:org.opendaylight.bgpcep.bgp-rib-impl:0.5.0.SNAPSHOT]
      at io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:68)[112:io.netty.transport:4.0.30.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:133)[112:io.netty.transport:4.0.30.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRegistered(AbstractChannelHandlerContext.java:119)[112:io.netty.transport:4.0.30.Final]
      at io.netty.channel.DefaultChannelPipeline.fireChannelRegistered(DefaultChannelPipeline.java:733)[112:io.netty.transport:4.0.30.Final]
      at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:450)[112:io.netty.transport:4.0.30.Final]
      at io.netty.channel.AbstractChannel$AbstractUnsafe.access$100(AbstractChannel.java:378)[112:io.netty.transport:4.0.30.Final]
      at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:424)[112:io.netty.transport:4.0.30.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:356)[100:io.netty.common:4.0.30.Final]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)[112:io.netty.transport:4.0.30.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110)[100:io.netty.common:4.0.30.Final]
      at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[100:io.netty.common:4.0.30.Final]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ihalanov@cisco.com Iveta Halanova
            milos.fabian@pantheon.tech Milos Fabian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: