You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "Dilip Raj Baral (JIRA)" <ji...@apache.org> on 2017/11/26 19:16:00 UTC

[jira] [Created] (ROCKETMQ-318) Remoting Connection Exception - Connect to server failed

Dilip Raj Baral created ROCKETMQ-318:
----------------------------------------

             Summary: Remoting Connection Exception - Connect to server failed
                 Key: ROCKETMQ-318
                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-318
             Project: Apache RocketMQ
          Issue Type: Bug
          Components: rocketmq-namesrv, rocketmq-remoting
    Affects Versions: 4.1.0-incubating, 4.0.0-incubating
         Environment: macOS Sierra (10.12.3)
            Reporter: Dilip Raj Baral
            Assignee: Xiaorui Wang
            Priority: Critical


I setup RocketMQ (4.1.0-incubating-release) and started it's nameserver and broker as per this instructions on _Quick Start_. Nameserver and broker started up well. However I can't create a new topic or see topic list or see a status of any topic. I get the following error.

$ sh bin/mqadmin updateTopic -n localhost:9876 -c DefaultCluster -r 2 -w 2 -t MY_TOPIC

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0


{code:java}
org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to **<[fe80:-2>** failed
    at org.apache.rocketmoi.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:357)
    at org.apache.rocketmq.client.impl.MQClientAPIImpl.createTopic(MQClientAPIImpl.java:266)
    at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.createAndUpdateTopicConfig(DefaultMQAdminExtImpl.java:176)
    at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.createAndUpdateTopicConfig(DefaultMQAdminExt.java:156)
    at org.apache.rocketmq.tools.command.topic.UpdateTopicSubCommand.execute(UpdateTopicSubCommand.java:154)
    at org.apache.rocketmq.tools.command.MQAdminStartup.mainO(MQAdminStartup.java:128)
    at org.apache.rocketmq.tools.command.MQAdminStartup.main(MQAdminStartup.java:78)
{code}

I tried both compiling the source myself and downloaded the compiled binary from Apache's site. I also tried 4.0.0-incubating-release binary. It allowed to me to list the topics using sh mqadmin topicList. But it didn't allow me to create a new topic owing to the above exception.

I don't see any relevant log in any of the rocketmq logs (namesrv.log, broker.log or remoting.log).




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)