{"id":4808,"date":"2017-04-27T18:18:42","date_gmt":"2017-04-27T18:18:42","guid":{"rendered":"http:\/\/putridparrot.com\/blog\/?p=4808"},"modified":"2017-04-27T18:18:42","modified_gmt":"2017-04-27T18:18:42","slug":"unable-to-install-new-software-in-eclipse-behind-a-proxy","status":"publish","type":"post","link":"https:\/\/putridparrot.com\/blog\/unable-to-install-new-software-in-eclipse-behind-a-proxy\/","title":{"rendered":"Unable to install new software in Eclipse (behind a proxy)"},"content":{"rendered":"<p>I&#8217;m using Eclipse to do some Java work and I wanted to install subclipse from the marketplace\/via the install new software. Now I have to go through a proxy server and this can be setup easy enough, but I found the Install New Software dialog stuck at 2% for ages or Market place just does nothing. I even tried downloading the plugin I wanted and deploy manually but it wanted to access other plugins\/components, meaning again I got stuck accessing anything on the web.<\/p>\n<p>So how to we fix this issue&#8230;<\/p>\n<p><em>Note: I&#8217;m using Neon at the time of writing, therefore I can only confirm that the below works for this version of Eclipse.<\/em><\/p>\n<p><strong>Setting your proxy in Eclipse<\/strong><\/p>\n<p>First let&#8217;s review setting up our proxy server configuration in Eclipse.<\/p>\n<ul>\n<li>Select Window | Preferences<\/li>\n<li>Select General | Network Connections<\/li>\n<li>Switch Active Provider to Manual<\/li>\n<li>Edit HTTP &#038; HTTPS to set your proxy host, port, user credentials<\/li>\n<li>You may also need to set SOCKS up for your proxy, but this might cause an issue if your proxy doesn&#8217;t support it. <em>Spoiler Alert: this was caused a problem where I couldn&#8217;t download from the market place etc. see below<\/em><\/li>\n<li>You may well need to Add localhost and 127.0.0.1 to the Proxy bypass option in the Network Connections dialog<\/li>\n<li>I had HTTP, host dynamic unchecked<\/li>\n<li>Press OK to confirm your proxy settings<\/li>\n<\/ul>\n<p><strong>Install new software or go to the Eclipse Marketplace<\/strong><\/p>\n<p>Now I want to install subclipse (or install new software). Either way when running install I now hit the previously mentioned problem of not completing our download from the market place. <\/p>\n<p>The problem appears to be down to (if you read setting up the proxy you&#8217;ll see the spoiler), the proxy actually doesn&#8217;t support SOCKS. So if you&#8217;ve setup a host, user credentials etc. for SOCKS, select SOCKS and click the Clear button (you cannot remove the fields using Edit). <\/p>\n<p><em>Ofcourse if your proxy does support SOCKS, I&#8217;m afraid this probably won&#8217;t help.<\/em><\/p>\n<p>Now retry accessing the Install New Software or Eclipse Marketplace and all should work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using Eclipse to do some Java work and I wanted to install subclipse from the marketplace\/via the install new software. Now I have to go through a proxy server and this can be setup easy enough, but I found the Install New Software dialog stuck at 2% for ages or Market place just does [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[168],"tags":[],"class_list":["post-4808","post","type-post","status-publish","format-standard","hentry","category-eclipse"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/4808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/comments?post=4808"}],"version-history":[{"count":5,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/4808\/revisions"}],"predecessor-version":[{"id":4834,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/4808\/revisions\/4834"}],"wp:attachment":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/media?parent=4808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/categories?post=4808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/tags?post=4808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}