There’s not really enough to go on there to diagnose the issue. It’s unclear what account you’re trying to send from, or how you’ve established the connection. Bear in mind while looking at examples that using encryption is NOT optional. Can you connect with a regular client such as Pidgin?

I deleted your last post, I couldn’t tell if you’d edited out the password from that. It looked like it was the real one. I saw the code though.

It looks like it’s done correctly from what I can tell, but I don’t know anything about that XMPP library. “Could not connect” sounds like a bit of a vague error message though. We know the server works and the account exists, so without more information from your system I really can’t make any good guesses about what’s going on.

The past couple of days a lot of messages have been lost. It seems that I can only send/receive one message after logging on, after which my client (pidgin) says the message is sent but it never arrives at the destination. Is there anything going astray at the Chinwag server?

Is the receiver of the message in your roster? Do you both have each other added as a contact? There’s a slight chance that some of the recent anti-spam config changes I’ve made are responsible for this, but I think it’s highly unlikely.

One thing I’d like to suggest first is trying a different client and seeing if the behaviour is consistent. Pidgin is, frankly, pretty awful in terms of XMPP standards support. I’d suggest testing with either Gajim or the Swift 4.0 beta which can be downloaded at: http://swift.im/releases.html

Hi Mike. We have been using Chinwag with Pidgin for several months now, 24/7, and it has been working perfectly until yesterday. Although my colleague thinks it became intermittent on Monday.
However, having said that we just both installed Gajim and that seems to be working without issue. Had a bit of trouble setting it up, and still don’t get any typing notifications, but it’s at least passing messages through. It unfortunately doesn’t handle any other protocols though, so I have to have Skype contacts in Pidgin running at the same time.
I’ll let you know how Gajim pans out in a few days time..

Yeah, please let me know. It’s mainly Pidgin’s lack of Carbons support that takes it out of the “usable” category for me personally, and that lack is often the primary culprit when messages appear to go astray with Pidgin.

Gajim’s standards support is fantastic but as you saw it’s pretty daunting as far as UI goes, the complexity has a price. Swift is a nice compromise between standards and usability, but it only supports a single active account at a time …

Perfection doesn’t exist (yet!). 🙂

I’d recommend logging into the web client at https://chat.chinwag.im/ for sanity checking of sent/received messages too. That should always be fine. Feel free to add mike@chinwag.im and hit me up directly via IM too.