Nodeclipse / nodeclipse

Nodeclipse-1 : Eclipse plugin for Node.js, PhantomJS development (Nodeclipse core plugin); Maven and Gradle (with Android) plugins
https://nodeclipse.github.io/
158 stars 78 forks source link

No repository found at http://www.nodeclipse.org/updates/. #47

Closed dvelasquez1987 closed 11 years ago

dvelasquez1987 commented 11 years ago

I am not able to install 0.4 through eclipse.

eclipse.buildId=M20130204-1200 java.version=1.7.0_21 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

Error Wed May 22 13:35:03 PDT 2013 Unexpected exception: HTTP Server 'Internal Error': http://marketplace.eclipse.org/sites/default/files/styles/medium/public/CuteResultsOK.png?itok=QMoBoT0C

org.eclipse.core.runtime.CoreException: HTTP Server 'Internal Error': http://marketplace.eclipse.org/sites/default/files/styles/medium/public/CuteResultsOK.png?itok=QMoBoT0C at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.epp.internal.mpc.core.util.AbstractP2TransportFactory.invokeStream(AbstractP2TransportFactory.java:35) at org.eclipse.epp.internal.mpc.core.util.TransportFactory$1.stream(TransportFactory.java:69) at org.eclipse.epp.internal.mpc.ui.catalog.AbstractResourceRunnable.run(AbstractResourceRunnable.java:64) at org.eclipse.epp.internal.mpc.ui.catalog.AbstractResourceRunnable.call(AbstractResourceRunnable.java:51) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.eclipse.ecf.filetransfer.IncomingFileTransferException: HttpClient connection error response code 500. at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:739) at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:879) at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:570) at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106) at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:422) at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.read(FileReader.java:273) at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.java:172) ... 13 more

paulvi commented 11 years ago

Hello @dvelasquez1987

Yep it sometime happens. The repository is hosted on GitHub pages, together with www.nodeclipse.org site. Try some time later.

Though you gave very detail information, I don't see what exact version of Eclipse is used (4.2 or 4.3?) and what distro (Eclipse Classic or Eclipse for JEE developers etc?)

dvelasquez1987 commented 11 years ago

Hello @PaulVI Thanks for the answer I just try again no luck. I am running Eclipse 4.2 for JEE developers, however I did try the classic as well didn't work either. more info about my eclipse. Version: Juno Service Release 2 Build id: 20130225-0426 Eclipse Platform 4.2.2.M20130204-1200

Thanks!

paulvi commented 11 years ago

@dvelasquez1987 This is the most popular Eclipse distribution with currently 1,960,218 downloads http://www.eclipse.org/downloads/

This is related to https://github.com/Nodeclipse/eclipse-node-ide/issues/1 Nodeclipse 3 entries couldn't be installed

We have 1000+ installs in a moth only through Marketplace client (where we can see statistic data) I just checked, that there were

    Unsuccessful Installs in the last 7 Days:58

See http://marketplace.eclipse.org/content/nodeclipse/metrics#.UZ1658o3uUk

I am trying now, and I see the same status for 2-5 minutes (I had this issue before, and some friend of mine also mentioned that)

calc-req

That is, installation is very very slow. I am currently in Beijing, China

@tomotaro1065 I think we need some kind of mirror for our p2 repository.

try http://www.tomotaro1065.com/nodeclipse/updates/

@pulse00 Can you tell how it is like in Europe?

Please help to brainstorm!

I have idea to put p2 repo on several clouds. For example Azure. (I think GitHub is hosted on Amazon, is it?)

pushkar-g commented 11 years ago

For me also it installs but it takes a lot of time from Singapore.

paulvi commented 11 years ago

@ pushkar85 How long exactly?

For me in China today, it is like 2-5 minutes :-O

pushkar-g commented 11 years ago

Issue seems to be fixed now. I just tried again and it installed in 1-2 mins.

Maybe it was a slow mirror?

paulvi commented 11 years ago

It happened before. It happened today. It will happen in the future.

2013-5-23 16:10 Installed 0.4 with JSDT dependency in 3 minutes.

dvelasquez1987 commented 11 years ago

@PaulVI I did installed using this repository http://www.tomotaro1065.com/nodeclipse/updates/ but the official one still not working for me. "no repository found at..."

pulse00 commented 11 years ago

@PaulVI I've seen this behaviour before with updatesites hosted on github pages. I've contacted github support regarding these issues - their response was that gh-pages are not designed for serving large amount of binary content.

That's why i've moved my p2 repos away from github pages and now serve them on amazon s3 / cloudfront.

paulvi commented 11 years ago

That is the solution. Where can we read more about amazon s3 / cloudfront (quick start)? Is it free?

I also have seen GitHub suggest to use S3 or SourceSourge We have Nodeclipse NTS there http://sourceforge.net/projects/nodeclipse As it impossible to serve 200MB files from GitHub.

paulvi commented 11 years ago

I also propose #47/2 making updatesite.zip

For example that is standard distribution for Spring Tools http://www.springsource.org/downloads/sts-ggts

pulse00 commented 11 years ago

Where can we read more about amazon s3 / cloudfront (quick start)? Is it free?

It's not free ;) It dependes on the amount of traffic and the number of GET requests per month. I'm currently paying around 0.50 Euro per month, for about 6 GB of traffic and ~50k GET requests.

Compared to the hours spent for debugging when the updatesite is unavailable, this is reasonably cheap for me...

If you're deciding to use this for hosting your artifacts, my workflow looks like this (this is all automated in a single jenkins build):

  1. Build the repository using the latest artifacts
  2. If the build succeeds, uploads the artifacts to s3
  3. If the upload succeeded, clear the cloudfront cache, so all clients received the new version of the repository

Resources

paulvi commented 11 years ago

FYI one tool to view remote p2 repo https://github.com/Nodeclipse/p2-browser

paulvi commented 11 years ago

@dvelasquez1987 Check also GitHub System Status https://status.github.com/messages