Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
hossam2 #1
Member since Jan 2017 · 11 posts
Group memberships: Members
Show profile · Link to this post
Subject: plz code login the server
plz code login the server chatp.net

erorr login
  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0" xmlns="jabber:client" to="chatp.net" xml:lang="en" xmlns:xml="http://www.w3.org/XML/1998/namespace" >
  5.  
  6.  
  7. <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="cdn.chatp.net" id="6cftp2tg1z" xml:lang="en" version="1.0">
  8.  
  9.  
  10. <stream:features>
  11. <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
  12. <mechanism>PLAIN</mechanism>
  13. <mechanism>SCRAM-SHA-1</mechanism>
  14. <mechanism>CRAM-MD5</mechanism>
  15. <mechanism>DIGEST-MD5</mechanism>
  16. </mechanisms>
  17. <compression xmlns="http://jabber.org/features/compress">
  18. <method>zlib</method>
  19. </compression>
  20. <register xmlns="http://jabber.org/features/iq-register"/>
  21. </stream:features>
  22.  
  23. <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="DIGEST-MD5" />
  24.  
  25.  
  26. <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09ImNkbi5jaGF0cC5uZXQiLG5vbmNlPSJGWmhheE5iWjJQUnZjZUxKbElvTFV4QW55ak5maURTNWJ0VmR2TDRvIixjaGFyc2V0PXV0Zi04LGFsZ29yaXRobT1tZDUtc2Vzcw==</challenge>
  27.  
  28.  
  29. <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9Ii4uLi4uLjEzLi4uLi4uIixyZWFsbT0iY2RuLmNoYXRwLm5ldCIsbm9uY2U9IkZaaGF4TmJaMlBSdmNlTEpsSW9MVXhBbnlqTmZpRFM1YnRWZHZMNG8iLGNub25jZT0ibHUxM0FlNGNhRlM2eGlvSzRMdEFURTZBeGs1Y3IyL3FGTnNBM3FhODVadz0iLG5jPTAwMDAwMDAxLGRpZ2VzdC11cmk9InhtcHAvY2hhdHAubmV0Iixxb3A9YXV0aCxyZXNwb25zZT0wYjgzNWY5MjYzOTUxYjI5OGJiMWY1Yjc3MzNjMjU2YSxjaGFyc2V0PXV0Zi04</response>
  30.  
  31.  
  32. <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
  33. <not-authorized/>
  34. </failure>
This post was edited 2 times, last on 2017-08-07, 17:15 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
your authentication fails. Either username, password or your XMPP domain are wrong.
Avatar
hossam2 #3
Member since Jan 2017 · 11 posts
Group memberships: Members
Show profile · Link to this post
no wrong server and username and password and host
 host=s.chatp.net
port=5222
server=s.chatp.net
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I said wrong XMPP domain.
Don't mix up hostname and XMPP domain
Avatar
Alex #5
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
As you can see in your logs the server replies with cdn.chatp.net
Avatar
hossam2 #6
Member since Jan 2017 · 11 posts
Group memberships: Members
Show profile · Link to this post
  1. SEND: <stream:stream to='s.chatp.net' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
  2. RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xml:lang="en" id="2n6j69jzq8" version="1.0" from="s.chatp.net" >
  3. RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" /><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>SCRAM-SHA-1</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>DIGEST-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features>
  4. SEND: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
  5. RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
  6. SEND: <stream:stream to='s.chatp.net' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
  7. RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xml:lang="en" id="2n6j69jzq8" version="1.0" from="s.chatp.net" >
  8. RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>SCRAM-SHA-1</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>DIGEST-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features>
  9. SEND: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="DIGEST-MD5" />
  10. RECV: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InMuY2hhdHAubmV0Iixub25jZT0iZU80NXVBQ3l2SXVLOE1YNnNLVHdPYjdyZmtNQ1NPN21qSDh6UjRJTiIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>




and stop
This post was edited 2 times, last on 2017-08-08, 11:20 by Alex.
Avatar
Alex #7
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
have you contacted chatp.net to ask for the correct settings to connect to their server?
This post was edited on 2017-08-08, 14:03 by Alex.
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