There is a program for android (something like chat). I received everything that she sends using Packet Capture. The logs receive the necessary parameters through the service api and then connect to the xmpp server and then the jabber protocol for sending and receiving messages is further in the logs. I am trying to retry connecting to the server using the S22.Xmpp library under c # and an error every time. How to connect to the server?

Log from Packet Capture (obtained by api):

... XMPPUseSSL: 1, XMPPHost: xmppcluster.buhphone.com, XMPPDomain: buhphone.com, XMPPWSURL: / ws /, XMPPHostPort: 443 , "XMPPWebsocketURL": "/ ws /", "XMPPWebsocketPort": "80", "XMPPBOSHURL": "/ poll /", "XMPPAlternateHosts": [] ...

C #:

using (XmppClient client = new XmppClient("xmppcluster.buhphone.com" "aaec1528-0999-11e6-80e1-0025904f970d@buhphone.com" "*********", 443)) { client.Connect(); } 
  • I would first try to connect with any xmpp client (psi, pidgin, qutim). And it is advisable to immediately open the xmpp console to watch the exchange. But it can be a lot of interesting things. And your attempt to connect is similar to trying to find a black cat in a dark room, especially if she is a Schrödinger cat. - KoVadim
  • what is xmpp console and where to open it then? - mcfev
  • here it is shown how to open in psi codecontrol.blogspot.com/2007/10/… - KoVadim
  • maybe I'm not looking in the wrong direction? another log from Packet Capture - mcfev
  • GET / ws / HTTP / 1.1 Host: xmppcluster.buhphone.com Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Upgrade: websocket Origin: file: // Sec-WebSocket-Version: 13 User-Agent: Mozilla /5.0 (Linux; Android 4.4.2; Lenovo A3500-FL Build / KOT49H) AppleWebKit / 537.36 (KHTML, like Gecko) Chrome / 48.0.2564.116 Crosswalk / 18.48.477.13 Safari / 537.36 Accept-Encoding: gzip, deflate Accept-Language : en-en Sec-WebSocket-Key: ********** Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits Sec-WebSocket-Protocol: xmpp - mcfev

0