Giter Site home page Giter Site logo

Comments (15)

abstratt avatar abstratt commented on September 27, 2024

Please provide the errors logged during a failed install. I just tried it and it worked fine for me, no errors whatsoever (even though it was quite slow).

image

from eclipsegraphviz.

abstratt avatar abstratt commented on September 27, 2024

@jgsuess Saw your comment on the Marketplace:

This plugin is offered on the marketplace using jar:// URL that ends in a zip file for the site. Most corporate proxies will block this access from automated user agents. This probably means this plugin cannot be installed in most major companies. To address this, the project might want to stage a regular P2 repository layout.

JAR URLs are resolved inside the JVM, your proxy will not see a request for that URL, but for the encapsulated URL only. So, for this JAR URL:

jar:http://repository-textuml.forge.cloudbees.com/snapshot/com/abstratt/eclipsegraphviz/com.abstratt.eclipsegraphviz.repository/2.2.201606/com.abstratt.eclipsegraphviz.repository-2.2.201606.zip!/

the actual URL Eclipse will try to hit is:

http://repository-textuml.forge.cloudbees.com/snapshot/com/abstratt/eclipsegraphviz/com.abstratt.eclipsegraphviz.repository/2.2.201606/com.abstratt.eclipsegraphviz.repository-2.2.201606.zip

Did you manage to access the error log? (Window > View > Error Log, or /.metadata/.log)? That would help in understanding what is going on.

Also, if you are having connectivity issues, a workaround is to download the update site (http URL above), and install EclipseGraphviz from the locally download (zipped) update site.

from eclipsegraphviz.

jgsuess avatar jgsuess commented on September 27, 2024

from eclipsegraphviz.

abstratt avatar abstratt commented on September 27, 2024

@jgsuess It is a zip file:

$ curl -vI http://repository-textuml.forge.cloudbees.com/snapshot/com/abstratt/eclipsegraphviz/com.abstratt.eclipsegraphviz.repository/2.2.201606/com.abstratt.eclipsegraphviz.repository-2.2.201606.zip
*   Trying 184.73.235.178...
* Connected to repository-textuml.forge.cloudbees.com (184.73.235.178) port 80 (#0)
> HEAD /snapshot/com/abstratt/eclipsegraphviz/com.abstratt.eclipsegraphviz.repository/2.2.201606/com.abstratt.eclipsegraphviz.repository-2.2.201606.zip HTTP/1.1
> Host: repository-textuml.forge.cloudbees.com
> User-Agent: curl/7.47.0
> Accept: */*
> 
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Date: Thu, 06 Apr 2017 20:00:51 GMT
Date: Thu, 06 Apr 2017 20:00:51 GMT
< Server: Apache/2.4.10 (Unix) SVN/1.8.10
Server: Apache/2.4.10 (Unix) SVN/1.8.10
< Last-Modified: Thu, 06 Apr 2017 14:06:59 GMT
Last-Modified: Thu, 06 Apr 2017 14:06:59 GMT
< ETag: "16f30-54c8005c3e678"
ETag: "16f30-54c8005c3e678"
< Accept-Ranges: bytes
Accept-Ranges: bytes
< Content-Length: 94000
Content-Length: 94000
< Content-Type: application/zip
Content-Type: application/zip

< 
* Connection #0 to host repository-textuml.forge.cloudbees.com left intact

Also, if I grab the file:

curl -v http://repository-textuml.forge.cloudbees.com/snapshot/com/abstratt/eclipsegraphviz/com.abstratt.eclipsegraphviz.repository/2.2.201606/com.abstratt.eclipsegraphviz.repository-2.2.201606.zip > test.zip

unzip -t test.zip 
Archive:  test.zip
    testing: features/                OK
    testing: plugins/                 OK
    testing: artifacts.xml.xz         OK
    testing: content.xml.xz           OK
    testing: artifacts.jar            OK
    testing: content.jar              OK
    testing: features/com.abstratt.eclipsegraphviz.feature_2.2.201606.201704061406.jar   OK
    testing: p2.index                 OK
    testing: plugins/com.abstratt.graphviz_2.2.201606.201704061406.jar   OK
    testing: plugins/com.abstratt.imageviewer_2.2.201606.201704061406.jar   OK
    testing: plugins/com.abstratt.pluginutils_2.2.201606.201704061406.jar   OK
    testing: plugins/com.abstratt.content_2.2.201606.201704061406.jar   OK
    testing: plugins/com.abstratt.graphviz.ui_2.2.201606.201704061406.jar   OK
No errors detected in compressed data of test.zip.

from eclipsegraphviz.

jgsuess avatar jgsuess commented on September 27, 2024

from eclipsegraphviz.

abstratt avatar abstratt commented on September 27, 2024

@jgsuess That is unfortunate. If you confirm you can't download the zip file not even directly via the browser (how do you get Eclipse? Would .tgz resolve the issue?), you can try this other URL:

https://github.com/abstratt/eclipsegraphviz/releases/download/2.2.201606.201704061406/com.abstratt.eclipsegraphviz.repository-2.2.201606.zip

which is a GitHub "release" I created to get you unstuck.

from eclipsegraphviz.

jgsuess avatar jgsuess commented on September 27, 2024

from eclipsegraphviz.

abstratt avatar abstratt commented on September 27, 2024

I believe it uses ECF, which I believe uses Apache HTTP client. But does the UA matter? Are you able to grab the .zip file using a browser?

from eclipsegraphviz.

jgsuess avatar jgsuess commented on September 27, 2024

from eclipsegraphviz.

jgsuess avatar jgsuess commented on September 27, 2024

I cannot get the archive using curl, but can get it using the browser.

from eclipsegraphviz.

jgsuess avatar jgsuess commented on September 27, 2024

but eclipse reports:
Communication with repository at jar:http://repository-textuml.forge.cloudbees.com/snapshot/com/abstratt/eclipsegraphviz/com.abstratt.eclipsegraphviz.repository/2.2.201606/com.abstratt.eclipsegraphviz.repository-2.2.201606.zip!/content.xml.xz failed.
root cause
Caused by: java.net.SocketTimeoutException: Read timed out

from eclipsegraphviz.

abstratt avatar abstratt commented on September 27, 2024

Oh, that I have seen once in a while as well. At least you have the workaround of downloading the .zip file and installing from the archived update site - right?

from eclipsegraphviz.

jgsuess avatar jgsuess commented on September 27, 2024

from eclipsegraphviz.

abstratt avatar abstratt commented on September 27, 2024

@jgsuess Thanks for confirming it.

Agree that it is not ideal, but it is what we have for the moment with our current build infrastructure.

I added to the readme an installation method number 3 explaining the problem and how to work around it. Thanks for helping in understanding it.

from eclipsegraphviz.

abstratt avatar abstratt commented on September 27, 2024

Update site now is http based and should work behind a firewall/proxy as well.

from eclipsegraphviz.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.