tigase / tigase-server

(M) Highly optimized, extremely modular and very flexible XMPP/Jabber server
https://tigase.net
GNU Affero General Public License v3.0
317 stars 106 forks source link

I tried to connect to tigase using smack and spark, but encountered the following error #214

Open whwususu opened 7 months ago

whwususu commented 7 months ago

[2023-12-07 10:30:20:461] [FINEST ] [ ConnectionOpenThread ] ConnectionManager$ConnectionListenerImpl.accept(): Accept called for service: null@null, port_props: {remote-host=localhost, port-no=5290, new-connections-throttling=200, ifc=[Ljava.lang.String;@6edcad64, socket=plain, type=accept} [2023-12-07 10:30:20:461] [FINE ] [ ConnectionOpenThread ] ConnectionManager.serviceStarted(): [[ws2s]] Connection started: jid: null, WebSocketXMPPIOService, UniqueId: 127.0.0.1_5290_127.0.0.1_58748, type: <- incoming (accept), SocketIO, ID: null, connected Socket[addr=/127.0.0.1,port=58748,localport=5290] [2023-12-07 10:30:25:388] [FINE ] [ stats-cache ] ComponentInfo.lambda$getImplementationVersion$0(): Problem obtaining version for class: tigase.dist.XmppServerDist, exception: tigase.dist.XmppServerDist [2023-12-07 10:30:25:388] [WARNING ] [ stats-cache ] ComponentInfo.lambda$getImplementationVersion$1(): Problem obtaining current version information [2023-12-07 10:30:25:483] [FINEST ] [ pool-20-thread-4 ] StreamManagementIOProcessor.serviceStopped(): Service stopped - StreamManagement disabled [jid: null, WebSocketXMPPIOService, UniqueId: 127.0.0.1_5290_127.0.0.1_58748, type: <- incoming (accept), SocketIO, ID: ws2s@host.docker.internal/127.0.0.1_5290_127.0.0.1_58748, disconnected Socket[addr=/127.0.0.1,port=58748,localport=5290]] [2023-12-07 10:30:25:485] [FINE ] [ pool-20-thread-4 ] ConnectionManager.serviceStopped(): [[ws2s]] Connection stopped: jid: null, WebSocketXMPPIOService, UniqueId: 127.0.0.1_5290_127.0.0.1_58748, type: <- incoming (accept), SocketIO, ID: ws2s@host.docker.internal/127.0.0.1_5290_127.0.0.1_58748, disconnected Socket[addr=/127.0.0.1,port=58748,localport=5290] [2023-12-07 10:30:25:485] [FINEST ] [ pool-20-thread-4 ] ConnectionManager.serviceStopped(): [[ws2s]] processing undelivered packets: 0 [2023-12-07 10:30:25:485] [FINER ] [ pool-20-thread-4 ] ClientConnectionManager.xmppStreamClosed(): Stream closed: ws2s@host.docker.internal/127.0.0.1_5290_127.0.0.1_58748

code:

image

spark:

image

What is the reason for this