Bug 485415 - Provide end user friendly message or dialog for network issues
Summary: Provide end user friendly message or dialog for network issues
Status: RESOLVED WONTFIX
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
Depends on:
Blocks:
 
Reported: 2016-01-08 07:18 EST by Lars Vogel CLA
Modified: 2021-02-03 07:41 EST (History)
4 users (show)

See Also:


Attachments
EGit (43.57 KB, image/png)
2016-01-08 07:18 EST, Lars Vogel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2016-01-08 07:18:50 EST
Created attachment 259078 [details]
EGit

If the network is done or not reachable, EGit gives a very technical error messages. For example UnknownHostException, see screenshot.

I suggest to catch UnknownHostException and if that happens to show a end user friendly dialog similar to the following:

----------
Could not resolve your host name. Please check that you are connected to the network and that the URL is correct.
----------

A time out error message could be similar to the following
---------
Timeout during network operation. Please check that you are connected to the network and that you have sufficient bandwidth.
---------
Comment 1 Matthias Sohn CLA 2016-01-08 08:14:40 EST
+1
Comment 2 sarthak sharma CLA 2016-01-20 11:32:17 EST
I would like to take this bug.
Can you assign it to me?
And mention the files i need to modify?
Comment 3 sarthak sharma CLA 2016-01-25 06:12:50 EST
I would like to take this bug.
Can you assign it to me?
And mention the files i need to modify?
(In reply to Matthias Sohn from comment #1)
> +1

(In reply to Lars Vogel from comment #0)
> Created attachment 259078 [details]
> EGit
> 
> If the network is done or not reachable, EGit gives a very technical error
> messages. For example UnknownHostException, see screenshot.
> 
> I suggest to catch UnknownHostException and if that happens to show a end
> user friendly dialog similar to the following:
> 
> ----------
> Could not resolve your host name. Please check that you are connected to the
> network and that the URL is correct.
> ----------
> 
> A time out error message could be similar to the following
> ---------
> Timeout during network operation. Please check that you are connected to the
> network and that you have sufficient bandwidth.
> ---------
Comment 4 Andrey Loskutov CLA 2016-01-26 04:15:00 EST
(In reply to sarthak sharma from comment #2)
> I would like to take this bug.

Just do it. Patches are welcome.

> Can you assign it to me?

You can start to work on this bug without changing the bug owner.

> And mention the files i need to modify?

That's probably the part of the task. Just bring Eclipse to the point where the error happens and stop the UI thread - you will immediately see who is involved.

For the rest, see https://wiki.eclipse.org/EGit/Contributor_Guide
Comment 5 Lars Vogel CLA 2021-02-03 07:41:35 EST
Please reopen if you plan to work on this.