Bug 551385 - Error with Marketplace
Summary: Error with Marketplace
Status: NEW
Alias: None
Product: MPC
Classification: Technology
Component: Install (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-23 15:54 EDT by Michael Gosselin CLA
Modified: 2019-09-30 14:34 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Gosselin CLA 2019-09-23 15:54:46 EDT
I received the following message:

The Eclipse Git-hosted URI 'http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/org.eclipse.setup' is blocked for direct access.
Please open a Bugzilla to add it to an official Oomph catalog.
For initial testing, use the file system local version of the resource.
Alternatively, run the setup archiver application as follows:
  C:\Program Files\EclipsePhotonR\eclipse\eclipsec.exe -application org.eclipse.oomph.setup.core.SetupArchiver -consoleLog -noSplash -uris http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/org.eclipse.setup

I also see an error unable to connect to http://mirror.cc.vt.edu in the error log.
Comment 1 Stephan Herrmann CLA 2019-09-23 16:07:42 EDT
Moving to Oomph.

I guess Ed's first question will be which version you are using (of Eclipse? of the installer?), because I believe referencing the URI you show has been abandoned some years ago, no?

On the other hand, I'm puzzled why you mention the Marketplace, so please describe the situation where you are seeing the error!
Comment 2 Michael Gosselin CLA 2019-09-23 16:15:03 EDT
Hi there. I was using what I thought was Eclipse Photon R, because I'm trying to set up Atelier from Intersystems, which I did originally on Oxygen. However, I managed to get a software update over the weekend, and now I'm on Eclipse 2019-09.  

So, I'm confused.

I'm sure there's a problem with the original setup, but I'm hoping not to completely remove Eclipse PhotonR, then download it again, then install it. But I'll do it if I must.

The version is 2019-09 R (4.13.0)
Build id: 20190917-1200
Comment 3 Ed Merks CLA 2019-09-23 23:30:38 EDT
Michael,

Generally all the setups resources, including http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/org.eclipse.setup are accessible via http://www.eclipse.org/setups/setups.zip which effectively contains all setups.

Are you able to access the setups.zip in a browser?

So nothing should ever directly access those git.eclipse.org-hosted URIs.  In fact, the underlying infrastructure for accessing external resources blocks such direct access because if some failure in downloading the setups.zip occurs (e.g., the www.eclipse.org goes down) 10,000s of people might hammer the git.eclipse.org host to death; it's happened in the past.

All resources that Oomph downloads are cached in 

~/.eclipse/org.eclipse.oomph.setup/cache

where ~ is your home folder.  This folder should contain

http___www.eclipse.org_setups_setups.zip

If it does not, or this file is empty, that would lead to the logged message you see.  The absence of this file would indicate that your application is generally not able to access external resources from the internet, so you'd have all kinds of problems with updates, and with installing anything from Marketplace.  You can delete all the files in this cache folder and restart your IDE.  The http___www.eclipse.org_setups_setups.zip should be re-downloaded when the IDE starts up.  If that file is not present, you definitely have a problem accessing the internet from this application.  Perhaps your firewall has blocked the application, or your firewall is interfering with the resources being downloaded.  I.e., often a virus checker can cause problems when locking files while they are being scanned.

In the end though, failure to access the setup resources will not bother your application.  You just won't be able to use Oomph setups in that application.  But I don't think that's what you're trying to do.

What exactly are you trying to do?  Install something Marketplace?
Comment 4 Michael Gosselin CLA 2019-09-24 13:44:57 EDT
Hello again.

First, I am able to download the zip file, and moved the two folders http and https into the ~/.eclipse/org.eclipse.oomph.setup folder (no cache folder).  

But yes, I was trying to get to the marketplace, and install some software. Specifically, Atelier from Intersystems, which I was told only worked from Photon. 

Thanks,
Comment 5 Ed Merks CLA 2019-09-25 04:39:52 EDT
So it seems clear to me that your Eclipse application is not properly able to access the internet at all.  So nothing that requires such access is going to work.


Please exist your Eclipse application, delete the <workspace>/.metadata./.log, start it again, and try your marketplace install.  Then attach your .log to this Bugzilla so I can see what things are all failing.

Also try this.  In the Quick Access in the upper right type Web and open the "Internal Web Browser".  Are  you able to download this file from within your IDE?

http://www.eclipse.org/setups/setups.zip

Does this site load in the Browser in your IDE?

http://mirror.cc.vt.edu/

What kind of firewall protection are you running on your OS? What kind of anti-virus software are you using?

The only setting that I'm aware of that would have some impact the Eclipse application's access to the internet are Window -> Preferences -> General -> Network Connections, but unless you are behind some type of firewall, the default settings here should be fine.
Comment 6 Michael Gosselin CLA 2019-09-25 16:18:37 EDT
(In reply to Ed Merks from comment #5)
> Also try this.  In the Quick Access in the upper right type Web and open the
> "Internal Web Browser".  Are  you able to download this file from within
> your IDE?
> 
> http://www.eclipse.org/setups/setups.zip

I did download that from an external browser; I had not tried from an internal browser. Would it make a difference?

> 
> Does this site load in the Browser in your IDE?
> 
> http://mirror.cc.vt.edu/

Yes; it just loaded.
 
> What kind of firewall protection are you running on your OS? What kind of
> anti-virus software are you using?

The firewall is done through the business, but I know others who use Eclipse.  The only thing that resembles anti-virus software is the Symantec Endpoint Protection.
 
> The only setting that I'm aware of that would have some impact the Eclipse
> application's access to the internet are Window -> Preferences -> General ->
> Network Connections, but unless you are behind some type of firewall, the
> default settings here should be fine.

I'll check those settings. Thanks.
Comment 7 Ed Merks CLA 2019-09-27 00:46:28 EDT
I will move this to Marketplace client. They'll likely better understand why MPC isn't working for you.
Comment 8 Michael Gosselin CLA 2019-09-30 14:34:48 EDT
Thank you.