IRC Gateway

At console when I test the connection is all ok.

But when I open spark an try to save account credential to irc say “unable to register with gateway”.

And when I go to registration on console and add manually user(JID) and user and nick it works.

tks.

I’m having the same problem. I’m using Openfire 3.5.0 RC1 using IM Gateway 1.2.3 (beta), and again, registrations aren’t working via the client (Spark 2.5.8) but are working via the Admin Panel in Openfire. I can post logs where needed. Any clue, anyone? Cheers!

TC

Is it asking for a nickname when you try to register? A nickname is required for IRC.

Yup, filled in all three fields in Spark: Username, Password (for nickserv authentication or whatever) and Nickname. Still getting a message telling me it’s unable to register me with the gateway.

TC

Huh. Are you seeing anything in the debug logs on the server that might explain what it’s problem is? I’m not sure what would be causing this.

Got it at debug…

<iq id=“vptB1-67” to=“irc.virtualife.com.br” type=“get”>

<query xmlns=“http://jabber.org/protocol/disco#info”/>

</iq>

<iq id=“vptB1-67” to="tt@virtualife.com.br/spark" from=“irc.virtualife.com.br” type=“result”>

<query xmlns=“http://jabber.org/protocol/disco#info”>

<identity category=“gateway” name=“Transporte IRC” type=“irc”/>

<feature var=“http://jabber.org/protocol/disco#info”/>

<feature var=“http://jabber.org/protocol/disco#items”/>

<feature var=“jabber:iq:gateway”/>

<feature var=“jabber:iq:register”/>

<feature var=“jabber:iq:version”/>

<feature var=“vcard-temp”/>

</query>

</iq>

<iq id=“vptB1-68” to=“irc.virtualife.com.br” type=“set”>

<query xmlns=“jabber:iq:register”>

<username>tt</username>

<nickname>tt</nickname>

<password>tt</password>

<x xmlns=“jabber:iq:gateway:register”/>

</query>

</iq>

<iq id=“vptB1-68” to="tt@virtualife.com.br/spark" from=“irc.virtualife.com.br” type=“error”>

<error code=“400” type=“MODIFY”>

<bad-request xmlns=“urn:ietf:params:xml:ns:xmpp-stanzas”/>

</error>

</iq>

Not quite understanding all that, what does that mean in terms of what the client/server is doing?

TC

That is client (spark) debug!

Where can I see the server debug?

I am experiencing this exact issue. If I register a user manually via the Openfire Administration console, the user (client) experience works perfectly (can browse/join irc channels, etc. However the client is unable to register a nickname via spark (or others, tried Gaijim as well).

Products/Versions:

Openfire 3.5.0

IM Gateway plugin 1.2.3

Spark 2.5.8

CLIENT PACKET LOG:

<iq id=“1kAJY-52” to=“irc.iss200657.issinc.com” type=“get”>

<query xmlns=“http://jabber.org/protocol/disco#info”/>

</iq>

<iq id=“1kAJY-52” to="test1@iss200657.issinc.com/spark" from=“irc.iss200657.issinc.com” type=“result”>

<query xmlns=“http://jabber.org/protocol/disco#info”>

<identity category=“gateway” name=“IRC Transport” type=“irc”/>

&lt;feature var="http://jabber.org/protocol/disco#info"/&gt;

&lt;feature var="http://jabber.org/protocol/disco#items"/&gt;

<feature var=“jabber:iq:gateway”/>

<feature var=“jabber:iq:register”/>

<feature var=“jabber:iq:version”/>

<feature var=“vcard-temp”/>

</query>

</iq>

<iq id=“1kAJY-53” to=“irc.iss200657.issinc.com” type=“set”>

<query xmlns=“jabber:iq:register”>

<nickname>test2</nickname>

<password/>

<username>test2</username>

<x xmlns=“jabber:iq:gateway:register”/>

</query>

</iq>

<iq id=“1kAJY-53” to="test1@iss200657.issinc.com/spark" from=“irc.iss200657.issinc.com” type=“error”>

<error code=“400” type=“MODIFY”>

<bad-request xmlns=“urn:ietf:params:xml:ns:xmpp-stanzas”/>

</error>

</iq>

The server packet log matches what the client says, but I’ll post it anyways. No Error, Warning, or Info messages appear in the Openfire logs.

SERVER PACKET LOG

2008.05.29 09:18:08 Received iq packet: <iq id=“1kAJY-52” to=“irc.iss200657.issinc.com” type=“get” from="test1@iss200657.issinc.com/spark"><query xmlns=“http://jabber.org/protocol/disco#info”/></iq>

2008.05.29 09:18:08 irc: Sending packet: <iq type=“result” id=“1kAJY-52” from=“irc.iss200657.issinc.comto="test1@iss200657.issinc.com/spark"><query xmlns=“http://jabber.org/protocol/disco#info”><identity category=“gateway” type=“irc” name=“IRC Transport”/><feature var=“http://jabber.org/protocol/disco#info”/><feature var=“http://jabber.org/protocol/disco#items”/><feature var=“jabber:iq:gateway”/><feature var=“jabber:iq:register”/><feature var=“jabber:iq:version”/><feature var=“vcard-temp”/></query></iq>

2008.05.29 09:18:15 Received iq packet: <iq id=“1kAJY-53” to=“irc.iss200657.issinc.com” type=“set” from="test1@iss200657.issinc.com/spark"><query xmlns=“jabber:iq:register”><nickname>test2</nickname><passwor d/><username>test2</username><x xmlns=“jabber:iq:gateway:register”/></query></iq>

2008.05.29 09:18:15 irc: Sending packet: <iq type=“error” id=“1kAJY-53” from=“irc.iss200657.issinc.comto="test1@iss200657.issinc.com/spark"><error code=“400” type=“modify”><bad-request xmlns=“urn:ietf:params:xml:ns:xmpp-stanzas”/></error></iq>

Has anybody else seen, or better yet resolved, this issue?

Richard

Just noting that I’ve upgraded all software to the latest versions (Openfire 3.5.1, Spark 2.5.8 and IM Gateway 1.2.3), and my issue still persists. My logs are exactly the same as @rwhittaker’s, so I’m more than keen to hear any suggestions too.

TC

Well… crap. I see what the problem is. Spark is sending nickname instead of nick. Nick is the proper variable. This should be easy to fix for 2.6.0. SPARK-1019 (in fact I already fixed it before finishing posting this)

Ah, you legend. It’s been bugging me for yonks, that little issue. Throw the man some points, trato, we have a solution!

Thanks again, looking forward to 2.6.0.

TC