Marc is experiencing a pretty nasty issue with Gabble. It can't send any message to contacts. After a lot of digging, I discovered that Gabble tried to send a stanza containing his vcard and this sending operation is never terminated (wocky_xmpp_connection_write_cb is never called). As a result, the Porter continues queueing any other outgoing stanzas and so he can't send any message. The stanza being sent weight 16518 bytes which is big but not insane either. I tried setting the same avatar to a gmail test account (I disabled Empathy's avatar resizing code to make sure to send the full sized avatar) and didn't observe any issue. I have full logs and tcpdump available if needed.
Created attachment 45418 [details] the avatar
still i cannot send sometimes messages with telepathy 0.12.0. Yesterday for example worked fine but now i cannot do it and i disconnected multiple times. Is this problem that affects gmail users? Is a server problem?
building telepathy-gabble with openssl support instead of gnutls fixes the problem. reading https://savannah.gnu.org/support/index.php?107660 and adding gnutls_transport_set_lowat (session, 1); doesn't fix the problem
I installed gnutls 2.12 on my system and tried to reproduce this (as a precursor to seeing about working around it) but I could not, I'm sorry to say. I think my internet connection may be too fast; I'll try on 3G later maybe. But it seems reasonably clear that this is a gnutls regression.
This is actually a bug in the wocky gnutls backend, fixed in my branch (see the URL). I'm not sure if this is triggered by a gnutls behaviour change, but the actual bug has always been present. Just for reference, gnutls_transport_set_lowat is only useful if gnutls controls your sockets, not when you're using push/pull functions like wocky does. Which is why this didn't make a difference :)
Your branch looks beautiful, except for the part where some of the tests are broken, for which you said you would file a bug.
Oh actually, could you rebase this branch onto the gabble-0.12 branch of Wocky? We should ship the fix in Gabble 0.12.
This has been released in 0.12.4 and 0.13.3.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.