Cannot install ADT plugin because Eclipse cannot connect to Internet. - eclipse

I cannot install the ADT plugin on 64-bit Eclipse on Windows because Eclipse cannot connect to the internet. Consequently, I always get the error Unable to find Repository.
I checked to confirm that it is indeed Eclipse which cannot connect to the internet since the internal web browser cannot seem to connect to any sites.
Also, attempting to go to a site using external browser works fine.
Any ideas about how should I get eclipse to connect to the internet OR a workaround to install the ADT plugin ?

-add to your ini.
Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient

This is probably related to proxy settings.
Do you have a proxy ?
Do you have to go through a proxy to get access to the internet ?
Try doing this : Start -> Run -> inetcpl.cpl -> Connections -> LAN Settings
You should get something like this :
Do you have something there ?
System Proxy Settings - The easy way
Normally, if you have setup the system proxy settings there (inetcpl.cpl), those should automatically be picked up by Eclipse and should be categorized as Native under General -> Network Connections -> Active Provider :
Then native settings are those that are checked and can be distinguished as those with a slight yellowish background.
This would require that :
1. You check and setup the system proxy settings by configuring the same in Start -> Run -> inetcpl.cpl and then by going to Connections -> LAN Settings and then filling in the values for Address and Port like so :
Restart Eclipse. Then goto General -> Network Connections` and choose the Native Provider.
This method is most useful when you have complicated proxy settings with lot's of exclusions.
Manually setting proxy settings - The not-so-easy way
With this method, we'll setup the proxy settings only within eclipse like so :
Goto General -> Network Connections in eclipse preferences.
Choose Manual for the Active Provider. As soon as you do that, you'll see that the checked settings under Proxy entries changes like so :
Finally, edit the individual proxy settings by clicking on HTTP for example, and then clicking on Edit... and filling in the values for your proxy server, like so :
Using either of the above methods you should be able to get your eclipse connected to the internet.

Related

Setting Auto Proxy in Force.com IDE behind VPN

I work remotely, so I always have to connect to COrporate VPN.
I'm having issues with proxy setting that are needed for Force.com IDE.
I was able to access Salesforce.com both sandboxes and production from IE, Chrome or firefox, but not able to connect using force.com IDE/Eclipse.
I tried to check for proxy settings in Internet Options, but all I can see is "Automatically Detect Settings" is selected and nothing else.
I tried calling my company helpdesk and they are asking me to call either Salesforce/Eclipse teams to find what is wrong with it. :)
So not sure how to get proxy host and port details.
Go to “Window –> Preferences”
Preferences box prompt out, choose “Network Connections”
Select “Manual” from Action Provider drop down list
Select Http in the List and click “Edit” button
Fill in the proxy server host and port number, (fill in the username and
password if any)
Ok, Done.

eclipse couldn't connect internet?

I can reach the eclipse marketplace using browser but i couldn't connect through eclipse.
It's not a firewall issue, i've already allow the eclipse.
What could be the reason, i use eclipse luna.
when i check the proxy controlpanel > internet options > connections > lan settings the automaticly detect settings was checked. Could it be the proxy issue, if it is how can i get the proxy settings.
Thanks in advance.
In Eclipse go to
Window -> Preferences -> Network Connections
Direct: No proxy will applicable and always look for direct connection
Manual: You can set your own proxy setting here also you can set username and password for internet login(if applicable)
Native: This will look for system proxy settings
Just go to http://www.whatismyproxy.com/ and you will get your proxy server ip
You can use that IP in configuring the NetworkConnections setting in Eclipse
hope it helps

Eclipse can not connect to internet

I am using Eclipse 3.6. I am trying to download a plug in from an update site, but it won't connect, it keeps saying "Pending" for quite some time.
Not alot of information there. It helps to let us know what you have tried...
I'll quote an answer I gave to a similar question, which contains the basic workarounds:
Can you connect to internet at all through Eclipse?
Open the internal webbrowser. In Eclipse: Window -> show view -> Other -> General: Internal web browser. Look up any normal adress, is it working?
Can you connect to another update site? Try for example Eclipse Emma: http://update.eclemma.org/ Do you see anything there?
What are your proxy preferences? Go to Window -> preferences -> General: Network connections.
The active provider:
Specifies the settings profile to be used when opening connections. Choosing the Direct provider causes all the connections to be opened without the use of a proxy server. Selecting Manual causes settings defined in Eclipse to be used. On some platforms there is also a Native provider available, selecting this one causes settings that were discovered in the OS to be used.
If internet is working fine outside of Eclipse, try changing to Native. After that, try Direct.
Here's one more option to try if none of the efforts above helped. You might be using Eclipse from a Shared Drive (for eg, H:). If so, move/copy it the entire Eclipse directory to C: and try again.
My Eclipse could not connect to internet, nor access Eclipse Marketplace, nor even open ports for Tomcat server. I am behind a corporate proxy and tried many options that I have found on Stack Overflow and other forums but to no avail. I've also tried different versions (Mars, Luna, Kepler and a corporate-provided Kepler).
These are the options I have tried:
Use Direct Connection
Go to Windows > Perferences > General > Network Connections.
Change Active Provider to Direct.
Restart Eclipse.
Set up Manual Proxy
Go to Windows > Perferences > General > Network Connections.
Change Active Provider to Manual.
Input proxy details, including username/password if required.
Clear SOCKS proxy.
Restart Eclipse.
Change Eclipse.ini
Go to Windows > Perferences > General > Network Connections.
Change Active Provider to Native.
Open Eclipse.ini.
Add the following under -vmargs, each on its own line.
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
-Dhttp.proxyPort=8080
-Dhttp.proxyHost=myproxy
-Dhttp.proxyUser=mydomain\myusername
-Dhttp.proxyPassword=mypassword
-Dhttp.nonProxyHosts=localhost|127.0.0.1
-Djava.net.preferIPv4Stack=true
Restart Eclipse
See:
Unable to connect to the Eclipse Luna Market
How do I configure the proxy settings so eclipse indigo can install new plugins
https://wiki.eclipse.org/Disabling_Apache_Httpclient
See answer by Ruhr Dev on Thu, 29 December 2011: https://www.eclipse.org/forums/index.php/t/270718/
Add Eclipse to Firewall
Go to Control Panel > Windows Firewall (or your own firewall)
Add Eclipse to whitelist (see https://stackoverflow.com/a/35508990 for Windows Firewall)
Delete Oomph-releated sub folders
Delete all Oomph-releated sub folders in ${user.home}/.eclipse/ folder
For Windows this may be in C:\Users\.eclipse
See answer by Stephan EberleFriend on Fri, 14 August 2015 18:54: https://www.eclipse.org/forums/index.php/t/270718/
See my other answer for Eclipse not able to open ports for Tomcat (https://stackoverflow.com/a/37246227/4212710).
If eclipse could not able to connect to internet, following may be one of the reason:
There is a service called "Network Access Protection Agent", which might be blocking eclipse from accessing the internet.
In this case, you can try the following (this worked for me-Windows 7 PC):
1. Click on Windows Start button and search for Administrative Tools and Open it
2. Then open Services
3. Look for "Network Access Protection Agent" service
4. Stop this service
5. Now eclipse should be able to connect to internet
Note: This happens when Windows are not up to date. So after stopping this service, update your Windows, then start this service.

Could not connect to remote facade url

I am trying to use mxunit eclipse plug-in for testing my test cases.
I am using eclipse 3.6.0 with cfml plug-in (cfeclipse ver 1.4.2.*) For ColdFusion project.
On the fifth step of plug-in configuration, I get the following error:
Could not connect to facade URL.
Try running this in a browser:
http://localhost/mxunit/framework/RemoteFacade.cfc?wsdl&method=ping
In console, I get (504)Proxy Timeout error
However Above url works perfectly (returns true for ping method) in my browser after giving ColdFusion admin password
I also provided authentication in project properties for mxunit. (right click on project -> properties -> mxunit)
Plug-in does not load it's test methods automatically. Please help.
Thanks..
You could try adding the proxy information into eclipse itself: Preferences > General > Network Connections : Proxy Entries (you might be able to get this information from your browser's network settings)
The username/password in the MXUnit preferences is for basic auth, which is not the same thing as proxy configuration, I don't think. More a website deal than a network deal, per se.

Problem on installing new software on Eclipse Galileo Platform

I want to install a subversion on my eclipse.
So I went to Help < Install New Software and when I pick the "Galileo - http://download.eclipse.org/releases/galileo" in the "Work with" dropdown, it tells me in the main box "No repository found at http://...".
It is appearing in my available software sites and when I test the connection it returns me an error saying Unknown host.
Can someone please help me, I really need to install that subversion :).
Anna
As mention in this thread, this could be a proxy issue:
I assume you mean you used a web browser to get that - if so, is it
configured to use a web proxy? If your browser is using a proxy then
you need to configure Eclipse to use one too (see the General/Network
Connections preference page).
Since 3.5 Galileo, The Network Connection page has been changed to better show the current proxy configuration.
Now if you go to Preferences > General > Network Connections, you are able to see and change Eclipse proxy settings as well as see settings provided by the operating system.
If you want to use your browser or Gnome settings, or you have your proxy configured using environmental variables on Linux, you can see them all in this new UI
So to set your proxy, you can follow this tutorial (How to configure Proxy Settings in Eclipse)
The severity of the bug is downgraded, since there is a workaround. Open the eclipse.ini file and add the following
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
In a few words the above command says that Eclipse can access the web via the *.pac files of the HTTP clients (eg Internet Explorer or Firefox).
To summarize:
Add the above line at the ini file
ensure that your default system http client (eg Internet Explorer) has proxy settings configured
Go to Eclipse Window->Preferences->Network Connection and enter the proxy setting here as well
It should work with this workaround
I'm not sure which Subversion client you use but neither of them can be installed from the main Galileo site. Follow the instructions on the web page of the Subversion plug-in how to install it.