I am trying to create an ExternalComponent using sample provided in the repo and following https://sco0ter.bitbucket.io/babbler/xep/externalcomponents.htm. However, I am seeing the following Exception when connect() method is called.
Can someone advise?
rocks.xmpp.core.XmppException: java.xmlbind.UnmarshalException -with linked exception unexpected element (uri:"http://etherx.jabber.org/streams",local:"stream"). Expected elements are .......... at rocks.core.session.XmppSession.throwAsXmppExceptionIfNotNull(XmppSession.java:272) at rocks.xmpp.extensions.component.accept.ExternalComponent.connect(ExternalComponent.java:144)
I did see stream opened with xmlns="jabber:component:accept" and then closed stream in the inbound message of XML viewer.