Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2373

SSL_KEY_EXCHANGE usage of port_range is off by one; failing with 0 range

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.4
    • 4.1.3
    • None

      e.g. <SSL_KEY_EXCHANGE port_range="0"/> yields the following

      15:12:38,303 ERROR [org.jgroups.protocols.SSL_KEY_EXCHANGE] (ServerService Thread Pool -- 72) failed becoming key server: java.lang.IllegalStateException: found no valid port to bind to in range [2157-2157]
      	at org.jgroups.protocols.SSL_KEY_EXCHANGE.createServerSocket(SSL_KEY_EXCHANGE.java:339)
      	at org.jgroups.protocols.SSL_KEY_EXCHANGE.becomeKeyserver(SSL_KEY_EXCHANGE.java:304)
      	at org.jgroups.protocols.SSL_KEY_EXCHANGE.handleView(SSL_KEY_EXCHANGE.java:287)
      	at org.jgroups.protocols.KeyExchange.down(KeyExchange.java:45)
      	at org.jgroups.protocols.Encrypt.down(Encrypt.java:132)
      	at org.jgroups.protocols.ASYM_ENCRYPT.down(ASYM_ENCRYPT.java:122)
      	at org.jgroups.protocols.pbcast.NAKACK2.down(NAKACK2.java:553)
      	at org.jgroups.protocols.UNICAST3.down(UNICAST3.java:581)
      	at org.jgroups.protocols.pbcast.STABLE.down(STABLE.java:327)
      	at org.jgroups.protocols.pbcast.GMS.installView(GMS.java:696)
      	at org.jgroups.protocols.pbcast.ClientGmsImpl.becomeSingletonMember(ClientGmsImpl.java:252)
      	at org.jgroups.protocols.pbcast.ClientGmsImpl.joinInternal(ClientGmsImpl.java:83)
      	at org.jgroups.protocols.pbcast.ClientGmsImpl.join(ClientGmsImpl.java:40)
      	at org.jgroups.protocols.pbcast.GMS.down(GMS.java:1044)
      	at org.jgroups.protocols.FlowControl.down(FlowControl.java:295)
      	at org.jgroups.protocols.FRAG3.down(FRAG3.java:135)
      	at org.jgroups.protocols.FORK.down(FORK.java:109)
      	at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:928)
      	at org.jgroups.JChannel.down(JChannel.java:627)
      	at org.jgroups.JChannel._connect(JChannel.java:855)
      	at org.jgroups.JChannel.connect(JChannel.java:352)
      	at org.jgroups.JChannel.connect(JChannel.java:343)
      	at org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:112)
      	at org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:58)
      	at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:67)
      	at org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
      	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      	at java.lang.Thread.run(Thread.java:748)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:485)
      

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: