Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
Melii90 #1
Member since Sep 2011 · 7 posts
Group memberships: Members
Show profile · Link to this post
Subject: problems with xmpp extensions
hi!

i tried to send some location data to a contact, but i received error code 503, i know this means, that the user is offline, but he is not, he is online, i can send messages but no Iq Request

XML Log:
<iq from="testuser2hgb@jabber.org" to="testuserhgb@jabber.org/Matrix Windows Phone" type="error" id="MX_4" xmlns="jabber:client">
  <error code="503" type="cancel">
    <service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
  </error>
</iq>
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
can you post also the outgoing Iq? In your log there is only the incoming error result.

Alex
Avatar
Melii90 #3
Member since Sep 2011 · 7 posts
Group memberships: Members
Show profile · Link to this post
oh sry, i forgot

here are both logs:

SEND:<iq id="MX_4" type="get" to="testuser2hgb@jabber.org" xmlns="jabber:client">
  <location xmlns="FriendsRadar:location">
    <zip>4212</zip>
  </location>
</iq>

<iq from="testuser2hgb@jabber.org" to="testuserhgb@jabber.org/Matrix Windows Phone" type="error" id="MX_4" xmlns="jabber:client">
  <error code="503" type="cancel">
    <service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
  </error>
</iq>
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
you must send Iqs always to a full Jid (with resource). You are sending the Iq to a bare Jid (without resource).

Alex
Avatar
Melii90 #5
Member since Sep 2011 · 7 posts
Group memberships: Members
Show profile · Link to this post
argh, so easy...thank you so much, its working perfectly ;)
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters: