You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2022/01/28 22:53:00 UTC

[jira] [Commented] (ARTEMIS-3661) Receiving timed out while creating user in artemis 2.18

    [ https://issues.apache.org/jira/browse/ARTEMIS-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17484002#comment-17484002 ] 

Justin Bertram commented on ARTEMIS-3661:
-----------------------------------------

I just ran a quick sanity check by creating a new instance of 2.18.0 listening on 61618 and the command  you're using worked fine for me. My guess is that this is something environmental. Can you confirm your broker is listening on 61618?

> Receiving timed out while creating user in artemis 2.18 
> --------------------------------------------------------
>
>                 Key: ARTEMIS-3661
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3661
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>          Components: Broker
>    Affects Versions: 2.18.0
>            Reporter: Ekta
>            Priority: Major
>
> I am facing time out issues while I am running the below command from my broker which is currently running on 2.18. I have made some changes to the command since the old command does not work on newer version. 
> Is there anything I am doing wrong here. My broker is up and running while I am executing the below command. This command use to work just fine in old versions. 
> Command: 
> {noformat}
> ./artemis user add --user-command-user test --user-command-password test1234 --role test --url tcp://localhost:61618{noformat}
> Error: 
> {noformat}
> Exception in thread "main" ActiveMQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=AMQ219013: Timed out waiting to receive cluster topology. Group:null]
>   at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:743)
>   at org.apache.activemq.artemis.cli.commands.AbstractAction.performCoreManagement(AbstractAction.java:35)
>   at org.apache.activemq.artemis.cli.commands.user.AddUser.add(AddUser.java:52)
>   at org.apache.activemq.artemis.cli.commands.user.AddUser.execute(AddUser.java:42)
>   at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:155)
>   at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:103)
>   at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:130)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:134)
>   at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:50){noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)