| Summary: | [Net] Proxy problem requested a separate bug from 318969 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Graeme Vetterlein <graeme.eclipse> | ||||
| Component: | Team | Assignee: | Platform Team Inbox <platform-team-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | remy.suen, wojciech.galanciak | ||||
| Version: | 3.5.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Graeme Vetterlein
In bug 318969 description you mentioned that you have found a workaround (adding 127.0.0.1 to your bypasses in ubuntu settings) but in this bug I cannot find a case where it works. Could you provide information about usecase where you apply this workaround successfully? I understand that you see only one native entry - for which protocol is it and what is a source (from description in table)? Following the long series of tests above. On shutting the system down some while
later there appeared to be various 'hung' Eclipse Processes (probably step2
where Eclipse Hung)
This means some of the effects above may be artifacts of the 'hang'
...I will just use the Help->Contents test here as it shows the problem.
7: Set Preferences->network Connections to Native:
At this point in Ubuntu -> System -> Preference ->
the ignored host setting are:
localhost
127.0.0.0/8
*.local
*.home
127.0.0.1 <---- NB this is one I added during previous testing
7a: Choose Help->contents
Error from proxy :
The requested URL could not be retrieved
While trying to retrieve the URL: http://127.0.0.1:47496/help/index.jsp
The following error was encountered:
* Connection to 127.0.0.1 Failed
8: In Ubuntu -> System -> Preference ->
Remove entry 127.0.0.0/8 (this is no use in real world as this needed)
8a: Choose Help->contents
Same error from proxy
9: Set Eclipse setting back to:
Manual 3 protocols ticked http, https, socks all point at my proxy (using IP address) port 3128
Proxy bypass localhost and 127.0.0.1
9a: Choose Help->contents
Same error from proxy
10: Set Eclipse setting to DIRECT
10a: Choose Help->contents
Same error from proxy
OK, so I can't get my 'workaround' to work ...it going to the proxy in all cases for a local file
even though Eclpse settings say "Direct"
Tried cutt&pasting the URL into firefox:
http://127.0.0.1:40667/help/index.jsp
This works fine and displays nice help page. (Firefox has local proxy settings)
11: In Ubuntu -> System -> Preference -> set DIRECT NETWORK CONNECTION
(so now both Eclipse & Ubuntu setting are Direct)
11a: Choose Help->contents
Same error from proxy
11b: Restarted Eclipse ... same error
12: At bash prompt type "env | grep -i http"
Output:
http_proxy=http://10.116.0.253:3128/
13: Stop eclipse.
13a: start bash
13b: in bash unset http_proxy
13c in bash type /usr/local/eclipse-3.6/eclipse/eclipse-gtk.sh
10b: Choose Help->contents
lots of debug in bash screen ...then help is displayed !!!
(In reply to comment #2) > 7: Set Preferences->network Connections to Native: > At this point in Ubuntu -> System -> Preference -> > the ignored host setting are: > > localhost > 127.0.0.0/8 > *.local > *.home > 127.0.0.1 <---- NB this is one I added during previous testing > > 7a: Choose Help->contents > Error from proxy : > > The requested URL could not be retrieved > > While trying to retrieve the URL: http://127.0.0.1:47496/help/index.jsp > > The following error was encountered: > > * Connection to 127.0.0.1 Failed Have you started Eclipse after added 127.0.0.1 or it was working before? After any changes in env variables it is necessary to restart Eclipse. > 8: In Ubuntu -> System -> Preference -> > Remove entry 127.0.0.0/8 (this is no use in real world as this needed) > > 8a: Choose Help->contents > Same error from proxy It should not change anything. > 9: Set Eclipse setting back to: > > Manual 3 protocols ticked http, https, socks all point at my proxy (using IP > address) port 3128 > Proxy bypass localhost and 127.0.0.1 > > 9a: Choose Help->contents > Same error from proxy Internal browser does not use Eclipse proxy settings so the result is correct that it did not have any affect. > 10: Set Eclipse setting to DIRECT > > 10a: Choose Help->contents > Same error from proxy The same as in case 11. > 11: In Ubuntu -> System -> Preference -> set DIRECT NETWORK CONNECTION > (so now both Eclipse & Ubuntu setting are Direct) > > 11a: Choose Help->contents > Same error from proxy > > 11b: Restarted Eclipse ... same error > > 12: At bash prompt type "env | grep -i http" > > Output: > http_proxy=http://10.116.0.253:3128/ It may be a bug in GNOME that it does not change variables correctly. After step 11 have you opened new terminal for step 12? > 13: Stop eclipse. > 13a: start bash > 13b: in bash unset http_proxy > 13c in bash type /usr/local/eclipse-3.6/eclipse/eclipse-gtk.sh > 10b: Choose Help->contents > lots of debug in bash screen ...then help is displayed !!! What were proxy settings in Eclipse? Created attachment 181000 [details]
eclsipe.log (via export)
Log captured at step 18 in description.
Sorry if this comment appear twice, appeared to get lost as I added attachment:
Following on from last session:
In a terminal (bash):
unset http_proxy
env | grep proxy (no output)
14: /usr/local/eclipse-3.6/eclipse/eclipse-gtk.sh
Eclipse Proxy settings read:
Active Provider [ Mnanual ]
Proxy Entries: (nb all lines are ticked)
HTTP <my proxy IP> 3128 Manual false
HTTPS <my proxy IP> 3128 Manual false
SOCKS Manual false
Proxy bypass:
localhost Manual
127.0.0.1 Manual
Help -> help Contents
Unhandled Event Loop exception
XPCOM error -2147467262
(click details)
Unhandled event loop exception
XPCOM error -2147467262
(click show error log)
System property https.proxyPort is not set but should be 3128 org.eclipse.core.net 15/10/2010 18:30
similar... for proxyPortHost
These two line repeat, then
similar of http
I can't scroll the messages or resize the message tab as the modal window seem to hold focus
...finally an SWT error has occured you are recommended to exit ...
15: /usr/local/eclipse-3.6/eclipse/eclipse-gtk.sh
Set proxy to Direct
Help -> help Contents
Unhandled Event Loop exception
XPCOM error -2147467262
... same messages about port 3128 ... curious as that is no longer set
16: /usr/local/eclipse-3.6/eclipse/eclipse-gtk.sh
Set proxy back to manual , but not set port to 666 (which is not valid)
exit eclispe
back in
/usr/local/eclipse-3.6/eclipse/eclipse-gtk.sh
verify port is set to 666
Help -> help Contents
Same error , but now reports port 666
17: set proxy to Native , exit and reenter Eclipse
Same error , reports port 666
Looks like I've broken somthing in the process of trying all these debugging options
18: OK ... really getting really wierd now:
set port back to 3128 , proxy to manual
went to install new software (all locataions) ... produced a reasonable list of software (did not instal anything)
did help->help-contents
A good help window displayed ... IN THE FIREFOX BROSWER I had open to review this bug
Came back to Eclipse Window and display showed:
Unhandled event loop exception
+ Similar errors to before ...this time I was able to export the log (will attach)
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag. |