Подключаюсь через pidgin. Если через сокс5, то ошибка в клиенте:
Не удаётся установить соединение
В логах:
2022.12.17 22:36:10 DEBUG [NioProcessor-1]: org.apache.mina.filter.executor.OrderedThreadPoolExecutor - Adding event MESSAGE_SENT to session 14
Queue : [MESSAGE_SENT, ]
2022.12.17 22:36:10 DEBUG [NioProcessor-1]: org.apache.mina.filter.executor.OrderedThreadPoolExecutor - Adding event MESSAGE_SENT to session 14
Queue : [MESSAGE_SENT, , MESSAGE_SENT, ]
2022.12.17 22:36:10 DEBUG [NioProcessor-1]: org.apache.mina.filter.executor.OrderedThreadPoolExecutor - Adding event SESSION_CLOSED to session 14
Queue : [MESSAGE_SENT, , MESSAGE_SENT, , SESSION_CLOSED, ]
2022.12.17 22:37:09 TRACE [TaskEngine-pool-15]: org.jivesoftware.openfire.pubsub.CachingPubsubPersistenceProvider - Flushing pending nodes (count: 0)
Если без прокси, то в клиенте ошибка: «Сервер закрыл соединение»
В логах:
2022.12.17 22:37:09 TRACE [TaskEngine-pool-15]: org.jivesoftware.openfire.pubsub.CachingPubsubPersistenceProvider - Flushing pending nodes (count: 0)
2022.12.17 22:40:57 WARN [socket_c2s-thread-2]: org.jivesoftware.openfire.spi.EncryptionArtifactFactory - Unable to instantiate an instance of the configured Trust Manager implementation 'class org.jivesoftware.openfire.keystore.OpenfireX509TrustManager'. Using class org.jivesoftware.openfire.keystore.OpenfireX509TrustManager instead.
java.lang.InstantiationException: org.jivesoftware.openfire.keystore.OpenfireX509TrustManager
at java.lang.Class.newInstance(Class.java:427) ~[?:1.8.0_352]
at org.jivesoftware.openfire.spi.EncryptionArtifactFactory.getTrustManagers(EncryptionArtifactFactory.java:125) [xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.spi.EncryptionArtifactFactory.getSSLContext(EncryptionArtifactFactory.java:173) [xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.spi.EncryptionArtifactFactory.createServerModeSslFilter(EncryptionArtifactFactory.java:343) [xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.nio.NIOConnection.startTLS(NIOConnection.java:390) [xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.net.ClientStanzaHandler.startTLS(ClientStanzaHandler.java:114) [xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.net.StanzaHandler.negotiateTLS(StanzaHandler.java:448) [xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:170) [xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:183) [xmppserver-4.7.3.jar:4.7.3]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:1015) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:122) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:413) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:257) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:106) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.session.IoEvent.run(IoEvent.java:89) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:766) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:758) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:697) [mina-core-2.1.3.jar:?]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]
Caused by: java.lang.NoSuchMethodException: org.jivesoftware.openfire.keystore.OpenfireX509TrustManager.<init>()
at java.lang.Class.getConstructor0(Class.java:3082) ~[?:1.8.0_352]
at java.lang.Class.newInstance(Class.java:412) ~[?:1.8.0_352]
... 27 more
2022.12.17 22:40:57 ERROR [socket_c2s-thread-2]: org.jivesoftware.openfire.net.StanzaHandler - Error while negotiating TLS
java.lang.NullPointerException: null
at org.jivesoftware.openfire.spi.EncryptionArtifactFactory.getTrustManagers(EncryptionArtifactFactory.java:133) ~[xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.spi.EncryptionArtifactFactory.getSSLContext(EncryptionArtifactFactory.java:173) ~[xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.spi.EncryptionArtifactFactory.createServerModeSslFilter(EncryptionArtifactFactory.java:343) ~[xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.nio.NIOConnection.startTLS(NIOConnection.java:390) ~[xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.net.ClientStanzaHandler.startTLS(ClientStanzaHandler.java:114) ~[xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.net.StanzaHandler.negotiateTLS(StanzaHandler.java:448) [xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:170) [xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:183) [xmppserver-4.7.3.jar:4.7.3]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:1015) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:122) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:413) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:257) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:106) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.session.IoEvent.run(IoEvent.java:89) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:766) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:758) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:697) [mina-core-2.1.3.jar:?]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]
Если без прокси и через ssl:
SSL-рукопожатие не удалось
В логах:
2022.12.17 22:43:36 WARN [socket_c2s-thread-3]: org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x00000010: nio socket, server, /192.168.1.7:19868 => /192.168.1.100:5222)
org.apache.mina.filter.codec.ProtocolDecoderException: org.jivesoftware.openfire.nio.XMLNotWellFormedException: Character is invalid in: (Hexdump: 16 03 01 00 FD 01 00 00 F9 03 03 83 CE 5A BD C0 67 BB D4 10 B8 ED 2D 18 03 90 B9 8E D0 62 51 A4 90 43 BB 19 0F AC 4E 76 8A F3 CD 00 00 46 13 01 13 03 13 02 C0 2B C0 2F CC A9 CC A8 C0 2C C0 30 C0 0A C0 09 C0 13 C0 23 C0 27 C0 14 00 9E CC AA 00 9F 00 33 00 32 00 67 00 39 00 38 00 6B 00 16 00 13 00 9C 00 9D 00 2F 00 3C 00 35 00 3D 00 0A 00 05 00 04 01 00 00 8A 00 17 00 00 FF 01 00 01 00 00 0A 00 14 00 12 00 1D 00 17 00 18 00 19 01 00 01 01 01 02 01 03 01 04 00 0B 00 02 01 00 00 33 00 26 00 24 00 1D 00 20 88 B7 53 74 ED 2C C1 C9 A8 B6 B0 70 80 C0 FF 22 BE 6F 1F 79 EA DA A8 DF 08 E6 51 CF 69 A4 A7 31 00 2B 00 05 04 03 04 03 03 00 0D 00 20 00 1E 04 03 05 03 06 03 02 03 08 04 08 05 08 06 04 01 05 01 06 01 02 01 04 02 05 02 06 02 02 02 00 2D 00 02 01 01 00 1C 00 02 40 01)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:263) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:106) [mina-core-2.1.3.jar:?]
at org.apache.mina.core.session.IoEvent.run(IoEvent.java:89) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:766) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:758) [mina-core-2.1.3.jar:?]
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:697) [mina-core-2.1.3.jar:?]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]
Caused by: org.jivesoftware.openfire.nio.XMLNotWellFormedException: Character is invalid in:
at org.jivesoftware.openfire.nio.XMLLightweightParser.read(XMLLightweightParser.java:219) ~[xmppserver-4.7.3.jar:4.7.3]
at org.jivesoftware.openfire.nio.XMPPDecoder.doDecode(XMPPDecoder.java:38) ~[xmppserver-4.7.3.jar:4.7.3]
at org.apache.mina.filter.codec.CumulativeProtocolDecoder.decode(CumulativeProtocolDecoder.java:180) ~[mina-core-2.1.3.jar:?]
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:254) ~[mina-core-2.1.3.jar:?]
... 9 more
Короче, все варианты пробовал, ничего не работает. Что написано в логах не понимаю.