All tests skipped since 2019-06-13 8.1.0-SNAPSHOT-b10313 (#37)
wojciech.kapcia@tigase.net opened 5 years ago
No description
Andrzej Wójcik (Tigase) commented 5 years ago

Actually, this issue is not related to #server-978 by it is related to #server-1035 which enforced TLS encrypted connections while TTS-NG for some reason was forced to use unencrypted connections. I've addressed this issue in TTS-NG.

wojciech.kapcia@tigase.net commented 5 years ago

You are right - this is caused by enforcing TLS, however there is still a problem:

2019-06-24 17:42:09.289 [in_35-sess-man]   SessionManager.processPacket()          FINEST:   Received packet: from=c2s@atlantiscity.local/127.0.0.1_5222_127.0.0.1_58519, to=sess-man@atlantiscity.local, DATA=<iq type="get" id="3dACBgWZZYkVl5s1hCv2iAz" to="localhost" xmlns="jabber:client"><query xmlns="jabber:iq:register"/></iq>, SIZE=121, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=get
2019-06-24 17:42:09.289 [in_35-sess-man]   SessionManager.processPacket()          FINEST:   processing packet: from=c2s@atlantiscity.local/127.0.0.1_5222_127.0.0.1_58519, to=sess-man@atlantiscity.local, DATA=<iq type="get" id="3dACBgWZZYkVl5s1hCv2iAz" to="localhost" xmlns="jabber:client"><query xmlns="jabber:iq:register"/></iq>, SIZE=121, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=get, connection: XMPPResourceConnection=[user_jid=null, packets=0, connectioId=c2s@atlantiscity.local/127.0.0.1_5222_127.0.0.1_58519, domain=localhost, authState=NOT_AUTHORIZED, isAnon=false, isTmp=false, parentSession hash=0, parentSession liveTime=]
2019-06-24 17:42:09.289 [in_35-sess-man]   StartTLS.preProcess()                   FINEST:   VHost: Domain: localhost, enabled: true, anonym: true, register: true, maxusers: 0, tls: true, s2sSecret: 181d5908-9a49-42fc-8947-21bfe9b757fc, domainFilter: ALL, domainFilterDomains: null, c2sPortsAllowed: null, saslAllowedMechanisms: null, trustedJids: admin@localhost,user-status-endpoint@http.{clusterNode},http@{clusterNode}tigase.auth.BruteForceLockerBean$BruteForceLockerVHostExtension@25cf09b7, tigase.server.BasicComponent$ServerInfoVHostItemExtension@7d9c7095, tigase.server.xmppclient.ClientTrustManagerFactory$ClientTrustVHostItemExtension@79a126d8, tigase.server.xmppclient.SeeOtherHost$SeeOtherHostVHostItemExtension@51a5c24e, tigase.archive.MessageArchiveVHostItemExtension@cfafb7c, tigase.xmpp.impl.PresenceSubscription$PresenceSubscriptionVHostItemExtension@127c2aae
2019-06-24 17:42:09.289 [in_35-sess-man]   SessionManager.processPacket()          FINEST:   Packet blocked by: starttls, packetfrom=c2s@atlantiscity.local/127.0.0.1_5222_127.0.0.1_58519, to=sess-man@atlantiscity.local, DATA=<iq type="get" id="3dACBgWZZYkVl5s1hCv2iAz" to="localhost" xmlns="jabber:client"><query xmlns="jabber:iq:register"/></iq>, SIZE=121, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=get
2019-06-24 17:42:09.290 [in_35-sess-man]   DomainFilter.filter()                   FINEST:   Filtering (packet): from=c2s@atlantiscity.local/127.0.0.1_5222_127.0.0.1_58519, to=sess-man@atlantiscity.local, DATA=<iq type="get" id="3dACBgWZZYkVl5s1hCv2iAz" to="localhost" xmlns="jabber:client"><query xmlns="jabber:iq:register"/></iq>, SIZE=121, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=LOCAL, TYPE=get
2019-06-24 17:42:09.290 [in_35-sess-man]   SessionManager.processPacket()          FINEST:   Packet not processed: from=c2s@atlantiscity.local/127.0.0.1_5222_127.0.0.1_58519, to=sess-man@atlantiscity.local, DATA=<iq type="get" id="3dACBgWZZYkVl5s1hCv2iAz" to="localhost" xmlns="jabber:client"><query xmlns="jabber:iq:register"/></iq>, SIZE=121, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=LOCAL, TYPE=get
2019-06-24 17:42:09.290 [in_3-message-router]  MessageRouter.processPacket()       FINEST:   Processing packet: from=sess-man@atlantiscity.local, to=c2s@atlantiscity.local/127.0.0.1_5222_127.0.0.1_58519, DATA=<iq id="3dACBgWZZYkVl5s1hCv2iAz" xmlns="jabber:client" from="localhost" type="error"><query xmlns="jabber:iq:register"/><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xml:lang="en" xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">CData size: 22</text></error></iq>, SIZE=324, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=error

Basically, there were a couple of more places with erroneous jaxmpp1.getSessionObject().setUserProperty(SocketConnector.TLS_DISABLED_KEY, Boolean.TRUE);, including registration of admin account, hence all tests continue to be skipped as no admin account was available.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Issue Votes (0)
Watchers (0)
Reference
tigase/tigase-tts-ng#37
Please wait...
Page is in error, reload to recover