Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334239 - Proxy is used although it isn't available
Summary: Proxy is used although it isn't available
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform Team Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 05:49 EST by Markus Oley CLA
Modified: 2019-09-25 11:18 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Oley CLA 2011-01-13 05:49:07 EST
Build Identifier:  20100917-0705

I use my Eclipse private and at work and have to reconfigure the proxy settings anytime I change the context. 
Wouldn't it be nice to use the proxy only if it is available?
I wrote a plugin which configures this issue automatically, it works fine for me... 

boolean proxyAvailable = false;
			try {
				new Socket(PROXY_HOST, PROXY_PORT);
				proxyAvailable = true;
				LOGGER.info("Proxy is available, configure proxy manually");
			} catch (Exception e) {
				LOGGER.info("Proxy is not available, configure no proxy");
			}

recognizes, if proxy is available... 

This has impact on any features - IDE, Using P2 Director, Mirroring Udpatesites, .....

Best regards 
Markus Oley

Reproducible: Always
Comment 1 Lars Vogel CLA 2019-09-24 13:50:18 EDT
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.
Comment 2 Markus Oley CLA 2019-09-25 11:18:44 EDT
Hi Lars, 

for me the bug is not relevant anymore, because I don't switch the same instance of eclipse in both projects at work and private. I am using goomph to configure a project dependent eclipse instance were I configure the proxy as I need it. 

So if noone else has problems with this behaviour I think you can close it