Bug 46753 - Weird presence messages for user where presence status is "error"
Summary: Weird presence messages for user where presence status is "error"
Status: RESOLVED NOTOURBUG
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-29 01:31 UTC by Vincent Untz
Modified: 2012-11-22 09:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.