[jboss-jira] [JBoss JIRA] (JGRP-2373) SSL_KEY_EXCHANGE usage of port_range is off by one; failing with 0 range

Radoslav Husar (Jira) issues at jboss.org
Thu Aug 22 09:14:00 EDT 2019


     [ https://issues.jboss.org/browse/JGRP-2373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radoslav Husar reassigned JGRP-2373:
------------------------------------

    Assignee: Radoslav Husar  (was: Bela Ban)


> SSL_KEY_EXCHANGE usage of port_range is off by one; failing with 0 range
> ------------------------------------------------------------------------
>
>                 Key: JGRP-2373
>                 URL: https://issues.jboss.org/browse/JGRP-2373
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 4.1.3
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>            Priority: Major
>             Fix For: 4.1.4
>
>
> e.g. {{<SSL_KEY_EXCHANGE port_range="0"/>}} yields the following
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list