Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
52xx #1
Member since Sep 2005 · 16 posts
Group memberships: Members
Show profile · Link to this post
Subject: error 502
this the debug messages
SEND XML: <stream:stream to='jabber.com.cn' xmlns='jabber:client'

xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
RECV XML: <stream:stream xmlns:stream=&quot;http://etherx.jabber.org/streams&quot; id=&quot;432B993E&quot;

from=&quot;jabber.com.cn&quot; >
SEND XML: <iq xmlns=&quot;jabber:client&quot; id=&quot;agsXMPP_1&quot; type=&quot;get&quot; to=&quot;jabber.com.cn&quot;><query

xmlns=&quot;jabber:iq:auth&quot;><username>feixuzhongdelaji</username></query></iq>
RECV XML: <iq xmlns=&quot;jabber:client&quot; id=&quot;agsXMPP_1&quot; type=&quot;result&quot;><query

xmlns=&quot;jabber:iq:auth&quot;><username>feixuzhongdelaji</username><digest /><password /><resource

/></query></iq>
SEND XML: <iq xmlns=&quot;jabber:client&quot; id=&quot;agsXMPP_2&quot; type=&quot;set&quot;><query

xmlns=&quot;jabber:iq:auth&quot;><username>feixuzhongdelaji</username><digest>27a8ffa3f09ab233a0466105

adae29f3e699751f</digest><resource>laji</resource></query></iq>
RECV XML: <iq xmlns=&quot;jabber:client&quot; id=&quot;agsXMPP_2&quot; type=&quot;result&quot; />
we are logged in to the server now
set presence
SEND XML: <presence xmlns=&quot;jabber:client&quot;><status /><priority>10</priority></presence>
SEND XML: <iq xmlns=&quot;jabber:client&quot; id=&quot;agsXMPP_3&quot; type=&quot;get&quot; to=&quot;jabber.com.cn&quot;><query

xmlns=&quot;jabber:iq:agents&quot; /></iq>
SEND XML: <iq xmlns=&quot;jabber:client&quot; id=&quot;agsXMPP_4&quot; type=&quot;get&quot;><query

xmlns=&quot;jabber:iq:roster&quot; /></iq>
RECV XML: <presence xmlns=&quot;jabber:client&quot; from=&quot;msn.jabber.com.cn&quot;

to=&quot;feixuzhongdelaji@jabber.com.cn&quot;><status /><priority>10</priority></presence>
RECV XML: <presence xmlns=&quot;jabber:client&quot; from=&quot;msn.jabber.com.cn&quot;

to=&quot;feixuzhongdelaji@jabber.com.cn&quot;><status /><priority>10</priority></presence>
RECV XML: <presence xmlns=&quot;jabber:client&quot; from=&quot;garypclai@xasamail.com&quot;

to=&quot;feixuzhongdelaji@jabber.com.cn/laji&quot; type=&quot;error&quot;><status /><priority>10</priority><x

xmlns=&quot;jabber:x:delay&quot; from=&quot;feixuzhongdelaji@jabber.com.cn/laji&quot; stamp=&quot;20050917T04:19:12&quot;

/><error code=&quot;502&quot;>Server Connect Failed</error></presence>
RECV XML: <presence xmlns=&quot;jabber:client&quot; from=&quot;garypclai@xasamail.com&quot;

to=&quot;feixuzhongdelaji@jabber.com.cn/laji&quot; type=&quot;error&quot;><status

/><priority>10</priority><error code=&quot;502&quot;>Server Connect Failed</error></presence>
RECV XML: <iq xmlns=&quot;jabber:client&quot; id=&quot;agsXMPP_3&quot; type=&quot;result&quot;

to=&quot;feixuzhongdelaji@jabber.com.cn/laji&quot; from=&quot;jabber.com.cn&quot;><query

xmlns=&quot;jabber:iq:agents&quot;><agent jid=&quot;jud.jabber.com.cn&quot;><name>Jabber China User

Directory</name><service>jud</service><search /><register /></agent><agent

jid=&quot;users.jabber.org&quot;><name>Jabber User Directory</name><service>jud</service><search

/><register /></agent><agent jid=&quot;conference.jabber.com.cn&quot;><name>Public

Conferencing</name><service>public</service></agent><agent jid=&quot;icq.jabber.com.cn&quot;><name>ICQ

Link</name><service>icq</service><transport>Enter ID</transport><register /></agent><agent

jid=&quot;aim.jabber.com.cn&quot;><name>AIM Link</name><service>aim</service><transport>Enter

ID</transport><register /></agent><agent jid=&quot;yahoo.jabber.com.cn&quot;><name>Yahoo!

Transport</name><service>yahoo</service><transport>Enter ID</transport><register

/></agent><agent jid=&quot;msn.jabber.com.cn&quot;><name>MSN

Transport</name><service>msn</service><transport>Enter ID</transport><register

/></agent></query></iq>
RECV XML: <iq xmlns=&quot;jabber:client&quot; id=&quot;agsXMPP_4&quot; type=&quot;result&quot;

from=&quot;feixuzhongdelaji@jabber.com.cn/laji&quot;><query xmlns=&quot;jabber:iq:roster&quot;><item

jid=&quot;ttiiaann%hotmail.com@msn.jabber.com.cn&quot; name=&quot;ttiiaann&quot;

subscription=&quot;both&quot;><group>best</group><x

xmlns=&quot;jajc:x:adv&quot;><autoauth>true</autoauth></x><item jid=&quot;itecgo%

hotmail.com@msn.jabber.com.cn&quot; subscription=&quot;both&quot;><x

xmlns=&quot;jajc:x:adv&quot;><hidden>true</hidden></x></item></query></iq>
RECV XML: <presence xmlns=&quot;jabber:client&quot; from=&quot;libao00%hotmail.com@msn.jabber.com.cn&quot;

to=&quot;feixuzhongdelaji@jabber.com.cn&quot;><status>(I)Bob Li-idea to product (Away)

</status><show>xa</show></presence>
RECV XML: <presence xmlns=&quot;jabber:client&quot; from=&quot;yangxinhuchina%

hotmail.com@msn.jabber.com.cn&quot; to=&quot;feixuzhongdelaji@jabber.com.cn&quot;><status>??

</status></presence>
RECV XML: <presence xmlns=&quot;jabber:client&quot; from=&quot;jasonstiletto@jabber.org/Gaim&quot;

to=&quot;feixuzhongdelaji@jabber.com.cn&quot;><x xmlns=&quot;jabber:x:delay&quot;

from=&quot;jasonstiletto@jabber.org/Gaim&quot; stamp=&quot;20050917T00:22:58&quot; /></presence>
SEND XML: </stream:stream>

i have got the userlist but why i got the message error 502?
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
hi,

the 502 messages are not from the library, they come from your server. Your server is not able to connect to another server (here jabber.org) over s2s. So it sends you the error message because it cant fetch the presence for your contacts on this server.

Alex
Avatar
52xx #3
Member since Sep 2005 · 16 posts
Group memberships: Members
Show profile · Link to this post
o , i got it. thank you .
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:
Forum: agsXMPP RSS