Error running sample applications

347 views
Skip to first unread message

Ashley

unread,
Sep 7, 2007, 6:01:39 AM9/7/07
to jabber-net
Hi,

I have managed to fix an initial issue I had with jabber-net due to an
unsigned cert on the server, thanks to the wiki. However now when the
sample app connects it gets the following error.

SEND: <iq id="JN_1" type="set" to="192.168.1.182"><bind
xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>rsup</resource></
bind></iq>
RECV: <iq type="error" id="JN_1" from="192.168.1.182" to="infotel/
bf18b431"><bind xmlns="urn:ietf:params:xml:ns:xmpp-
bind"><resource>rsup</resource></bind><error code="400"
type="modify"><bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/
></error></iq>
ERROR: jabber.connection.sasl.AuthenticationFailedException: Error
binding resource: <error code="400" type="modify"
xmlns="jabber:client"><bad-request xmlns="urn:ietf:params:xml:ns:xmpp-
stanzas" /></error>


Can anyone help me out with this?

Thanks

Ashley

Message has been deleted

Ashley

unread,
Sep 7, 2007, 6:09:48 AM9/7/07
to jabber-net
Oh i forgot to mention that this is VS2005 - SVN Trunk

Joe Hildebrand

unread,
Sep 8, 2007, 12:11:49 PM9/8/07
to jabbe...@googlegroups.com
It looks like either your server or client is misconfigured. It's
somewhat unusual (although legal) to use an IP address as the server
name. If this was XCP, I'd say that your SASL authentication
succeeded, but your bind failed because your session manager had a
name other than 192.168.1.182.

It's possible you mixed up the Server and NetworkHost properties; you
should only set NetworkHost if Server doesn't resolve to the right
place in DNS.

Ashley

unread,
Sep 10, 2007, 11:57:29 AM9/10/07
to jabber-net
Thanks for your help, after looking I realise that we use jids like
ashley@company and the server has no dns. So setting the server to
company and the networkhost to the servers IP address allows me to
connect.

However I now have a new issue that I am investigating and may have to
request help with it later.

Thank you again.

Ashley

Reply all
Reply to author
Forward
0 new messages