Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

sohamg avatar image
sohamg asked Erick Ramirez answered

Getting "Error connecting via stomp" while adding a new cluster to OpsCenter

I'm trying to add a new cluster to my opscenter instance that's when I'm getting the following error on the datastax-agent logs of the node from this new cluster.

ERROR [async-dispatch-7] 2021-06-09 09:21:36,538Z Error connecting via stomp.
java.net.ConnectException: Connection refused (Connection refused)
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at java.net.Socket.connect(Socket.java:538)
    at java.net.Socket.<init>(Socket.java:434)
    at java.net.Socket.<init>(Socket.java:211)
    at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:271)
    at org.jgroups.client.StompConnection.buildSocket(StompConnection.java:412)
    at org.jgroups.client.StompConnection.connectToDestination(StompConnection.java:427)
    at org.jgroups.client.StompConnection.connectToSingleDestination(StompConnection.java:372)
    at opsagent.messaging$setup_conn.invokeStatic(messaging.clj:190)
    at opsagent.messaging$setup_conn.invoke(messaging.clj:167)
    at opsagent.messaging.StompComponent.start(messaging.clj:270)
    at com.stuartsierra.component$fn__1772$G__1766__1774.invoke(component.clj:4)
    at com.stuartsierra.component$fn__1772$G__1765__1777.invoke(component.clj:4)
    at clojure.lang.AFn.applyToHelper(AFn.java:154)
    at clojure.lang.AFn.applyTo(AFn.java:144)
    at clojure.lang.Var.applyTo(Var.java:705)
    at clojure.core$apply.invokeStatic(core.clj:667)
    at clojure.core$apply.invoke(core.clj:660)
    at com.stuartsierra.component$try_action.invokeStatic(component.clj:116)
    at com.stuartsierra.component$try_action.invoke(component.clj:115)
    at clojure.lang.Var.invoke(Var.java:406)
    at opsagent.config_service$update_system$fn__26999.invoke(config_service.clj:223)
    at clojure.lang.ArraySeq.reduce(ArraySeq.java:116)
    at clojure.core$reduce.invokeStatic(core.clj:6827)
    at clojure.core$reduce.invoke(core.clj:6810)
    at opsagent.config_service$update_system.invokeStatic(config_service.clj:217)
    at opsagent.config_service$update_system.doInvoke(config_service.clj:213)
    at clojure.lang.RestFn.invoke(RestFn.java:425)
    at opsagent.config_service$start_system_BANG_.invokeStatic(config_service.clj:243)
    at opsagent.config_service$start_system_BANG_.invoke(config_service.clj:236)
opscenter
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

There isn't enough information here to determine what the problem is.

Please log a ticket with DataStax Support so one of our engineers can assist you directly and request the necessary information to diagnose the problem. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.