I’m working on a project using XIFF currently and I’ve ran into a really strange problem. When I tried to connect to a jabber server, it was continuously giving me 400 “Unexpected Response” errors. I tried using another jabber client and the connection worked fine so I knew it was in the XIFF code somewhere.
I removed version=“1.0” from XMPPSocketConnection on line 108 and it started working. Odd.
I’m not too familiar with the spec and format of XMPP connections or packets sent so I’m not sure the implications of this. Does anyone have any idea?