Projects tigase _server server-core Issues #1196
NoConnectionIdException in JabberIqRegister (#1196)
wojciech.kapcia@tigase.net opened 4 years ago
tigase.xmpp.NoConnectionIdException: Connection ID not set for this session. This is probably the SM session to handle traffic addressed to the server itself. Or maybe it's a bug.
	at tigase.xmpp.XMPPResourceConnection.getConnectionId(XMPPResourceConnection.java:349)
	at tigase.xmpp.XMPPResourceConnection.getConnectionId(XMPPResourceConnection.java:341)
	at tigase.xmpp.impl.JabberIqRegister.process(JabberIqRegister.java:282)
	at tigase.server.xmppsession.SessionManager$ProcessorWorkerThread.process(SessionManager.java:2646)
	at tigase.util.processing.WorkerThread.run(WorkerThread.java:67)
wojciech.kapcia@tigase.net commented 4 years ago
[2020-08-30 03:13:00:582] [WARNING ] [jabber:iq:register-proc-0 ] SessionManager$ProcessorWorkerThread.process(): Exception during packet processing: from=c2s@ip-10-0-7-38.us-west-2.compute.internal/10.0.7.38_5222_98.15.176.44_46214, to=sess-man@ip-10-0-7-38.us-west-2.compute.internal, DATA=[iq type="set" id="tlW8EADlJNVg05fW4xbteQR" to="jabber.today" xmlns="jabber:client"][query xmlns="jabber:iq:register"][x type="submit" xmlns="jabber:x:data"][title]CData size: 20[/title][instructions]CData size: 157[/instructions][field type="hidden" var="FORM_TYPE"][value]CData size: 18[/value][/field][field type="text-single" label="Username" var="username"][required/][value]CData size: 6[/value][/field][field type="text-private" label="Password" var="password"][required/][value]CData size: 15[/value][/field][field type="text-single" label="Email (MUST BE VALID!)" var="email"][required/][value]CData size: 22[/value][/field][/x][/query][/iq], SIZE=804, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=LOCAL, TYPE=set, STABLE_ID=12284d75-15ac-49d9-8cd6-f13d8fffdc95

Payload:

<iq type="set" id="tlW8EADlJNVg05fW4xbteQR" to="jabber.today" xmlns="jabber:client">
    <query xmlns="jabber:iq:register">
        <x type="submit" xmlns="jabber:x:data">
            <title>CData size: 20</title>
            <instructions>CData size: 157</instructions>
            <field type="hidden" var="FORM_TYPE">
                <value>CData size: 18</value>
            </field>
            <field type="text-single" label="Username" var="username">
                <required/>
                <value>CData size: 6</value>
            </field>
            <field type="text-private" label="Password" var="password">
                <required/>
                <value>CData size: 15</value>
            </field>
            <field type="text-single" label="Email (MUST BE VALID!)" var="email">
                <required/>
                <value>CData size: 22</value>
            </field>
        </x>
    </query>
</iq>
wojciech.kapcia@tigase.net commented 3 years ago

Most likely user connection dropped before finishing the registration. Logging is OK in this case.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
tigase-server-8.2.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#1196
Please wait...
Page is in error, reload to recover