how can I connect to cloudfoundry using the STS Plugin when I am behind a proxy? The plugin seems to be unaware of my Network Eclipse proxy settings, and when I validate my account or connect, I get an I/O error or unable to connect to api.cloudfoundry.com.
I am quite sure it is the proxy it does not know about (it somehow is an issue with any kind of development, Maven, Grails and consorts).
Any ideas?
Thanks a lot!
Thomas
As an alternative, did you try configure the system proxy and select direct connect in eclipse?
so I don't know about actual proxy support, but while searching our JIRA for "proxy", I came accross those two : https://issuetracker.springsource.com/browse/STS-2975 and https://issuetracker.springsource.com/browse/STS-2872.
You may have a look at them, as they seem to imply that this is supported somehow.
From this, I assume there is proxy support as well. I just haven't had time to figure it out.
Sorry for such a half response, hope that helps
In Eclipse preferences > General/Network Preferences,
Use Manual proxy provider (not Native), and set your proxy for both HTTP and HTTPS.
Related
I've always used eclipse before, but I'm using Netbeans for the first time because of it's integration with Web Service clients.
However, after following multiple tutorials, the way to add a web service client is to:
https://netbeans.org/kb/docs/websvc/flower_swing.html
Make a new project
Right click on your project, New->Other->Other->Web Service Client
However, I do not have the web service client option available, not sure what I am doing wrong.
Please mention the net beans version you have. You should use newer version of the IDE to use latest features.
For other developers who will face this problem like me, I will leave my answer here.
I'm currently using Apache NetBeans IDE 11.0 and it's in Web Services -> Web Service Client. If you still cannot find it, just use filter feature. I found it with filter.
I'm experiencing some weird problems on using web stuff in Eclipse (Indigo, Indigo SR2 and Juno). My proxy configurations seems to be messed when Eclipse tries to do sth on web.
My browsers stop to communicate and I have to restart my machine in order to restore my Internet access again (or close Eclipse and browser and force the browser to reload proxy configurations). In Eclipse, the communication is unstable, working/not working sometimes.
My "NetWork Connections" are set to Manual, where proxy address, port, auth, user and passord are set to HTTP and HTTPS schemas (I didn't use it for SOCKS due to update issues - see this question).
I have no idea of what is happening and why, and how to fix it. Thanks for helping.
It is very unlikely that Eclipse influences your global settings. If anything outside of Eclipse does not work, should look there for the problem first. Eclipse can either use your system wide settings, or it's own overrides.
I understand your frustration - hard to know what is going wrong.. I really don't see what Eclipse can be doing to cause this though. I can suggest some further troubleshooting steps though.
Can you test the proxy config on any other machine?
Can you browse normally on this machine at other times?
Can you go to the same URL in browser that Eclipse is going to?
Perhaps do you have Eclipse checking all sites for updates (Help > Software) and this is just network slowdown?
When you are experiencing this effect, can you ping outside sites?
I am testing out an environment where I have multiple proxies set up depending on what URL I access. I have my browsers working by configuring my wpad.dat file properly according to the examples I found here. However, I am using Eclipse 3.6 and cannot seem to find a way to access different proxies based on any conditional information.
Any Eclipse veterans have an idea? Is there a plugin that I could use?
Thanks!
As it turns out, folks, there is no way to do this. I ended running an instance of Apache on my local machine, and using it as a proxy to do the conditional redirection based on the domain using the ProxyRemote configuration. Read more about it here:
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxyremote
I don't understand how to upload settings to the central server with Idea Server Plugin. I've logged into my JetBrains account, but I don't see any additional screens to do anything. I am using RubyMine, but that shouldn't matter.
Please refer to the FAQ. It works transparently and automatically, you don't have to do anything else.
I'm having an issue trying to connect through a proxy from Eclipse 3.6. The proxy supports both NTLM and Basic Auth schemes.
Eclipse seems to prefer NTLM auth scheme, instead of the basic one. However, after the selection is done, the proxy seems to hang and Eclipse retries the downloads forever. Using wireshark to monitor the traffic I can see:
Eclipse is trying to auth through NTLM
The proxy sends back a 407 response.
This happens 3 times, then the proxy stops responding and Eclipse retries the download until I hit cancel.
Is there a way to tell Eclipse to try Basic Auth instead of NTLM?
Best regards,
Manuel.
I don't know about the Basic Auth, but regarding NTLM proxy, check the bug 281384, also discussed at length in bug 281472.
It introduces a workaround for NTLMv2 Proxies.
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyPort=8080
-Dhttp.proxyHost=myproxy
-Dhttp.proxyUser=mydomain\myusername
-Dhttp.proxyPassword=mypassword
-Dhttp.nonProxyHosts=localhost|127.0.0.1
The first property disables the httpclient provider (and so uses the URLConnection-based provider, which does have support for NTLMv2 proxies),
and the next 5 properties are as specified by Sun for the URLConnection-based provider.
The problem is that standard Eclipse HTTP client can't manage the so named HTLM proxies. The method, proposed by #VonC was good till Kepler version of Eclipse.
The trick is to turn off the Eclipse HTTP client. But starting from Kepler, its name had changed. Add the following to the eclipse.ini file:
-vmargs
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
Also look here for a very good explanation and here for an "official" explanation of the Eclipse team.
You don't need to set the proxy parameters in the eclipse.ini. The settings in Windows-preferences-General-Net are enough. But you should check the global proxy settings on the OS, paying attention to possible automatic settings.