Bug 46753

Summary: Weird presence messages for user where presence status is "error"
Product: Telepathy Reporter: Vincent Untz <vuntz>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED NOTOURBUG QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: will
Version: git master   
Hardware: Other   
OS: All   
See Also: https://bugzilla.gnome.org/show_bug.cgi?id=688860
Whiteboard:
i915 platform: i915 features:

Description Vincent Untz 2012-02-29 01:31:23 UTC
Using gabble 0.15.4.

Some of my users have a weird presence message:

"Failed to deliver stanza to other server while connecting to other host: $IPADDRESS: Interrupted system call"

"remote-server-not-found"

"Server connect timeout while got stream features on XMPP stream: $IPADDRESS:5262: Connection refused / $IPADDRESS:5261: Connected (dialback result: invalid) / $IPADDRESS:5260: Connected"

This happens for users where the presence status is "error".
Comment 1 Will Thompson 2012-11-21 18:47:26 UTC
Well, these are just the error messages your server is sending you to let you know that it can't contact those users' servers. What would you have it do instead?

Gabble used to not expose these messages, but I made it behave like this when my XMPP server was having problems—it was really useful to see the error messages.
Comment 2 Vincent Untz 2012-11-22 07:20:52 UTC
(In reply to comment #1)
> Well, these are just the error messages your server is sending you to let
> you know that it can't contact those users' servers. What would you have it
> do instead?

The error could possibly be prefixed with something like "Server cannot find contact: %s".

The issue is really that those strings aren't clear as to whether the issue is in my client, between my client and my server, or between my server and the server of my contact. Those strings, as they are right now, just tell the user "you got some random error".
Comment 3 Will Thompson 2012-11-22 09:28:15 UTC
Yup, that would be a sensible thing for Empathy to do. (Gabble can't do it, because it's not translated. Unfortunately the error message the server sends us is in whatever language the server chooses, and we can't translate it.)

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.