cucumber / cucumber-eclipse

Eclipse plugin for Cucumber
MIT License
192 stars 148 forks source link

Unable to install from Eclipse Marketplace #232

Closed mohanrajmcad closed 6 years ago

mohanrajmcad commented 6 years ago

I am not able to install plugins from market place as this URL is not accessible.

https://cucumber.github.io/cucumber-eclipse/update-site/content.xml

girijant commented 6 years ago

@mohanrajmcad, Let me look into this issue and will update.

girijant commented 6 years ago

@mohanrajmcad, This Issue is fixed. You may able to install our latest version plugin successfully from our eclipse market place. Also tested and works fine with Eclipse-Oxygen [Eclipse Java EE IDE for Web Developers.Version: Oxygen.2 Release (4.7.2), Build id: 20171218-0600]

Please retry and share your feedback asap, so that I can close this ticket. Awaiting your quick response.

mohanrajmcad commented 6 years ago

@girijant,

Same issue again, link is not accessible.

mohanrajmcad commented 6 years ago

@girijant,

It's still not resolved :(

girijant commented 6 years ago

@mohanrajmcad, As per my above comment the issue is got fixed and also tested in my Eclipse-Oxygen. It might be issue with eclipse-cache, please try with below steps:

  1. Check if any cucumber-plugin is already installed in your eclipse then try to uninstall the plugin by refering our uninstall-plugin-wiki.

  2. Clear your eclipse cache with below steps:

    • Open Eclipse and navigate to the Window > Preferences.
    • Scroll down the left-hand panel in the Preferences window and click the Remote Systems drop-down root menu. Select File Cache.
    • Click the Clear Cached Files button in the File Cache window. Note that this will automatically close any open remote files on your computer.
    • Press Apply and OK to save your changes and exit out of the Preferences window.
    • Restart Eclipse
    • Install plugin from eclipse-market place.
    • Restart Eclipse again. Please try with above steps and let me know.

Thanks, -Girija

malikpathirana commented 6 years ago

hi i have the same issue with Version: Oxygen.2 Release (4.7.2) Build id: 20171218-0600 please find the error log. I could not find a way to erase the cache as u mentioned above eclipse.buildId=4.7.2.M20171130-0510 java.version=1.8.0_161 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

org.eclipse.equinox.p2.transport.ecf Error Wed Feb 14 15:50:50 IST 2018 Unable to read repository at http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/compositeContent.xml.

org.apache.http.NoHttpResponseException: download.eclipse.org:80 failed to respond at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281) at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:259) at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:209) at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:686) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:488) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:263) at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

girijant commented 6 years ago

@mohanrajmcad, @malikpathirana, The specified repository at http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/compositeContent.xml is not our cucumber-eclipse-plugin repo.

You probably have to configure Eclipse to authenticate against your proxy. Open the preferences dialog and select General > Network Connections. Pick "HTTP", hit Edit and enter the details. If you don't know those, you should talk with someone within your company or group that do know.

Thanks, -Girija

CharanpreetHora commented 6 years ago

Still not able to download cucumber plugin. Any idea how to integrate. All the proxy details are correct. Able to access all websites. All admin rights are there. Still struggling to download any plugin for cucumber with eclipse. Can someone help please?

bojedlaajay commented 6 years ago

Try the bellow link. It works for me with Eclipse oxygen.3 it may also work for oxygen.1/oxygen.2 http://mrpotes.github.com/cukes-jvm-eclipse-plugin/update-site

Steps: Help -> Install New Software -> Work with: http://mrpotes.github.com/cukes-jvm-eclipse-plugin/update-site

ghost commented 6 years ago

I can not install the cucumber from eclipse either using 'install new software' or using market place. I have tried to add cucumber jars like junit, core, java, gherkin, html, dependencies etc to eclipse. also added the cucumber jars from below links to plugin folder in eclipse but still the feature files are not recognised :( https://github.com/cucumber/cucumber-eclipse/blob/master/cucumber.eclipse.download/download/0.0.21-SNAPSHOT/cucumber-eclipse-plugin-0.0.21-SNAPSHOT.zip

Not sure why that is but when reading the comments. https://cucumber.github.io/cucumber-eclipse/update-site/content.xml is throwing 404 error. could that be an issue? I need to resolve it urgently. Any help will be highly appreciated

girijant commented 6 years ago

@IshaSingh15, Thanks for your quick ticket. I fixed the issue in our repositroy for the latest release i.e. 0.0.22 (0.0.22.201806032001). Also updated our cucumber-plugin version in Eclipse-Market-Place with the latest release i.e. 0.0.22 (0.0.22.201806032001).

Please refer our Eclipse-Market-Place URL OR Plugin-Update-Site-URL for latest plugin installation from Eclipse-IDE.

I also tested and installed successfully with my Eclipse IDE (i.e. Oxygen edition) as below:

Eclipse Java EE IDE for Web Developers. 
Version: Oxygen.3a Release (4.7.3a)
Build id: 20180405-1200

Please find below snapshots while installing the latest plugin version (0.0.22.201806032001) from both Eclipse-Market-Place and Update-Site-URL: A. From our Eclipse-Market-Place: install_1_0 22 install_2_0 22 install_success_0 22

B. From our Update-Site-URL: install_1_0 22 install_2_0 22 install_3_0 22 install_success_0 22

Sgnanagu commented 6 years ago

Hi Girijant,

I am trying to download Cucumber plugin in my machine in Eclipse Photon IDE, But I am getting this error "Cannot complete the install because one or more required items could not be found. Software being installed: Cucumber Editor 0.7.6.201505100000 (org.agileware.natural.cucumber.feature.feature.group 0.7.6.201505100000) Missing requirement: Cucumber Editor 0.7.6.201505100000 (org.agileware.natural.cucumber.feature.feature.group 0.7.6.201505100000) requires 'org.eclipse.equinox.p2.iu; org.eclipse.xtext 2.1.0' but it could not be found". Please help me to fix this issue. Thx

girijant commented 6 years ago

@Sgnanagu, After seeing your error message, I feel you are downloading wrong Cucumber-eclipse plugin version i.e. observed from below your above message : Cucumber Editor 0.7.6.201505100000 (org.agileware.natural.cucumber.feature.feature.group 0.7.6.201505100000) Missing requirement: Cucumber Editor 0.7.6.201505100000 (org.agileware.natural.cucumber.feature.feature.group 0.7.6.201505100000). We never used 'org.agileware.natural.cucumber.feature.feature.group' such packages/code in this cucumber-eclipse plugin. Also we don't support to fix for such issues of other plugins. Please do the below steps :

I also tested, installed successfully and wroks fine with Eclipse Photon IDE.

robelgado commented 6 years ago

I cannot access this repository again -- seeing the same error that has been described here in the past. "could not find https://cucumber.io/cucumber-eclipse/update-site"

girijant commented 6 years ago

@robelgado, Let me check and test in my environment.

shimanprateek commented 6 years ago

@girijant, I am also getting the same error.Not able to install using "https://cucumber.io/cucumber-eclipse/update-site".

shimanprateek commented 6 years ago

@girijant, When I navigated to "https://cucumber.github.io/cucumber-eclipse/update-site/content.xml" is throwing 404 error. could that be an issue? I need to resolve it urgently. Any help will be highly appreciated

Sgnanagu commented 6 years ago

Hi,

I tried to install cucumber plugin as mentioned in your site, I am getting this below message. Guide me to install right plugin. [image: image.png] Thanks Saranya.

On Thu, Oct 25, 2018 at 4:02 AM shimanprateek notifications@github.com wrote:

@girijant https://github.com/girijant, When I navigated to " https://cucumber.github.io/cucumber-eclipse/update-site/content.xml" is throwing 404 error. could that be an issue? I need to resolve it urgently. Any help will be highly appreciated

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cucumber/cucumber-eclipse/issues/232#issuecomment-432953387, or mute the thread https://github.com/notifications/unsubscribe-auth/Ap1jkxnJFe3SWc-H2YRDZKzPshYizPdSks5uoXAZgaJpZM4RftsT .

-- Thanks & Regards, Saranya Swamynathan

girijant commented 6 years ago

Guys, Let me check and will fix this issue asap.

Thanks, -Girija

Santoskumar commented 5 years ago

Hi, Getting error while installing cucumber plugin Unable to read repository at https://cucumber.io/cucumber-eclipse/update-site/content.xml. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Kindly suggest what to do.

worgerm commented 5 years ago

I have the same issue as @Santoskumar.

I am behind a proxy at work, but I don't have any issues installing other eclipse plugins from the market place

firozautomation commented 5 years ago

Hi Girija,

I am also unable to install this cucumber plugin. Unable to read repository at https://cucumber.io/cucumber-eclipse/update-site/content.xml. Tried to install cucumber with Eclipse Oxygen and Eclipse Photon and I am unable to proceed ahead. Kindly request you to provide me the solution.

qvdk commented 5 years ago

@firozautomation @Santoskumar @worgerm Could you provide more information ?

PrasadNutalapati commented 5 years ago

I am having the same problem with the following message. Unable to read repository at https://cucumber.io/cucumber-eclipse/update-site/content.xml. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

version of the JVM used to run eclipse: java version "1.8.0_151" eclipse version: Eclipse IDE for Java Developers Version: Oxygen.3a Release (4.7.3a) Build id: 20180405-1200 OS: Mac OS X, v.10.14.2, x86_64 / cocoa

cucumber eclipse plugin version OS your network configuration ?? network proxy used ?? is the installation of an other plugin work ? NO. can you access the eclipse marketplace from the menu 'Help > Eclipse Marketplace' ? YES can you provide the cacert file from the JVM installation used by eclipse ?? do you also have a PKI error ? ??

qvdk commented 5 years ago

Hello @PrasadNutalapati

This is probably due to the domain cucumber.io. However, this last is a redirection to cucumber.github.io. This one is known by the certificate used for HTTPS.

So, could you try with this update site url: https://cucumber.github.io/cucumber-eclipse/update-site This should fix your issue. I updated our website.

girijant commented 5 years ago

@qvdk, I will check and update our eclipse market place URL accordingly if required. Thanks for sharing this info.

apsys commented 5 years ago

I am getting below error:

Unable to read repository at https://cucumber.io/cucumber-eclipse/update-site/content.xml. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I'm using: Eclipse Java EE IDE for Web Developers.

Version: 2018-09 (4.9.0) Build id: 20180917-1800 java version "1.8.0_201"

ghijsma commented 5 years ago

Getting same error for plugin version: 0.0.23.xxxx Unable to read repository at https://cucumber.io/cucumber-eclipse/update-site/content.xml. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Using Eclipse version: Eclipse IDE for Java Developers Version: 2019-06 (4.12.0) Build id: 20190614-1200 OS: Windows 10, v.10.0, x86_64 / win32 Java version: 1.8.0_181

shaneperrydc commented 5 years ago

Why has this issue been closed? I do not see a resolution listed.

qvdk commented 5 years ago

Hi @shaneperrydc

The Eclipse Marketplace was updated the last june, and new updates sites are available without the certificate issue.

Do you still encountered an issue during the installation from the Eclipse Marketplace ?

shaneperrydc commented 5 years ago

Hello and thank you for getting back to me. Yes, I am still having a problem installing Cucumber in the Eclipse Marketplace. When I attempt to, I get the following error:

Unable to read repository at https://cucumber.io/cucumber-eclipse/update-site/content.xml. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I appreciate any help you can provide.

-Shane

On Thu, Oct 3, 2019, 8:44 AM Quentin Vandekerckhove < notifications@github.com> wrote:

Hi @shaneperrydc https://github.com/shaneperrydc

The Eclipse Marketplace was updated the last june, and new updates sites are available without the certificate issue.

Do you still encountered an issue during the installation from the Eclipse Marketplace ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cucumber/cucumber-eclipse/issues/232?email_source=notifications&email_token=ABS3DPUEOQD6OMMIOJ3AK2TQMXSMTA5CNFSM4EL63MJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAICKSA#issuecomment-537929032, or mute the thread https://github.com/notifications/unsubscribe-auth/ABS3DPXZOJJ7UUXMYKSSM6TQMXSMTANCNFSM4EL63MJQ .

lakshmi2121 commented 5 years ago

Hi,

I am facing the same issue.

Kindly Assist.

girijant commented 5 years ago

What's the issue are you facing ?

lakshmi2121 commented 5 years ago

Hi

I am getting the below error when trying to install Cucumber Eclipse Plugin

Unable to read repository at https://cucumber.github.io/cucumber-eclipse-update-site/content.xml.

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Thanks

shaneperrydc commented 5 years ago

Yes, that is exactly my experience, too.

-Shane

On Mon, Oct 7, 2019, 10:36 AM lakshmi2121 notifications@github.com wrote:

Hi

I am getting the below error when trying to install Cucumber Eclipse Plugin

Unable to read repository at https://cucumber.github.io/cucumber-eclipse-update-site/content.xml.

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cucumber/cucumber-eclipse/issues/232?email_source=notifications&email_token=ABS3DPR3ZVCAQOBRMMW7TBTQNNCN3A5CNFSM4EL63MJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAQSGZY#issuecomment-539042663, or mute the thread https://github.com/notifications/unsubscribe-auth/ABS3DPQDMK6ZFTAR3Q3CKHTQNNCN3ANCNFSM4EL63MJQ .

andyblum commented 5 years ago

I want to add me too to this chorus. I am trying to install the eclipse plug-in for SolarLint.

qvdk commented 5 years ago

@lakshmi2121 @shaneperrydc Could you provide your Eclipse version, your JDK version and your operation system please?

lakshmi2121 commented 5 years ago

Hi qvdk,

My eclipse version is 4.10.0 JDK version : 1.8.0_191 Operating system: windows 10

shaneperrydc commented 5 years ago

and my versions are the same as Lakshmi except for the JDK version, which is 1.8.0_144.

-Shane

On Tue, Oct 8, 2019 at 10:51 AM lakshmi2121 notifications@github.com wrote:

Hi qvdk,

My eclipse version is 4.10.0 JDK version : 1.8.0_191 Operating system: windows 10

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cucumber/cucumber-eclipse/issues/232?email_source=notifications&email_token=ABS3DPUQSST7N4EDDWN3KCTQNSM5TA5CNFSM4EL63MJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAUOIAA#issuecomment-539550720, or mute the thread https://github.com/notifications/unsubscribe-auth/ABS3DPU6665U4BH73ZASI43QNSM5TANCNFSM4EL63MJQ .

qvdk commented 5 years ago

@lakshmi2121 @shaneperrydc

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

This error indicates your JVM doesn't find the certificat authority used to sign the one of https://cucumber.github.io.

The certificate used by this Github Page is signed by DigiCert.

  /tmp curl -v https://cucumber.github.io/cucumber-eclipse-update-site/content.xml.xz 2>&1 | grep "Server certificate" -A10
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=www.github.com
*  start date: Jun 27 00:00:00 2018 GMT
*  expire date: Jun 20 12:00:00 2020 GMT
*  subjectAltName: host "cucumber.github.io" matched cert's "*.github.io"
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
}

Thus, we need to check if DigiCert is known by your JVM used by your Eclipse installation.

Could you check the list of available certificate authorities with your JREs please ? You need to find the cacerts of your JRE used by Eclipse. This one is usually under the folder jre/lib/security.

keytool -list -v -keystore /opt/jdk1.8.0_221/jre/lib/security/cacerts | grep digicert

I checked for jdk 8 and 13 from a standard openjdk installation and both known DigiCert

vladdu commented 5 years ago

Check if you have JCE Unlimited Strength Policy installed. https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html

It is also recommended to have JDK 180_u161 or later

girijant commented 5 years ago

@lakshmi2121, @shaneperrydc, @qvdk, I am able to install the plugin-version 1.0.0 from my Eclipse-IDE by hitting to the Eclipse-Marketplace(https://marketplace.eclipse.org/content/cucumber-eclipse-plugin). Here is my environment details:

lakshmi2121 commented 5 years ago

@girijant thank you for your reply but it did not worked for me. I managed to find some other way. @shaneperrydc try the below. It worked for me hope it will work for you as well

install this plugin from eclipse : -- Run Help → Install new software → Here uncheck “Contact all update sites during install to find required software”, use Eclipse-Update-Site url : http://cucumber.github.io/cucumber-eclipse/update-site/ -- In Work with: input box, Select the check-box for 'Cucumber Eclipse Plugin', Select Next as per the instruction shown during installation.Eclipse will prompt that the content isn't authorized or something like that. just ignore and continue. then everything will be OK. Now Restart your Eclipse after completion of instruction.

Found some other solutions during my investigation hope something works

https://stackoverflow.com/questions/6470802/what-to-do-about-eclipses-no-repository-found-containing-error-messages?rq=1

 

https://stackoverflow.com/questions/28968836/eclipse-update-sites-http-proxy-authentication-required-error/33631964#33631964

qvdk commented 5 years ago

@lakshmi2121 can you provide the list of certificate authorities in cacerts file of your JDK please ?

shaneperrydc commented 5 years ago

That absolutely worked! Thank you so much for your help.

-Shane

On Thu, Oct 10, 2019 at 4:09 PM lakshmi2121 notifications@github.com wrote:

@girijant https://github.com/girijant thank you for your reply but it did not worked for me. I managed to find some other way. @shaneperrydc https://github.com/shaneperrydc try the below. It worked for me hope it will work for you as well

install this plugin from eclipse : -- Run Help → Install new software → Here uncheck “Contact all update sites during install to find required software”, use Eclipse-Update-Site url : http://cucumber.github.io/cucumber-eclipse/update-site/ -- In Work with: input box, Select the check-box for 'Cucumber Eclipse Plugin', Select Next as per the instruction shown during installation.Eclipse will prompt that the content isn't authorized or something like that. just ignore and continue. then everything will be OK. Now Restart your Eclipse after completion of instruction.

Found some other solutions during my investigation hope something works

https://stackoverflow.com/questions/6470802/what-to-do-about-eclipses-no-repository-found-containing-error-messages?rq=1

https://stackoverflow.com/questions/28968836/eclipse-update-sites-http-proxy-authentication-required-error/33631964#33631964

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cucumber/cucumber-eclipse/issues/232?email_source=notifications&email_token=ABS3DPRFOCDNKO5WUTZDYKLQN6DYLA5CNFSM4EL63MJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA5W43I#issuecomment-540765805, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABS3DPTRLQ4OX57M6T7ONYTQN6DYLANCNFSM4EL63MJQ .

lakshmi2121 commented 5 years ago

@qvdk I am not sure how to get that list for you

On Thu., Oct. 10, 2019, 4:15 p.m. Quentin Vandekerckhove, < notifications@github.com> wrote:

@lakshmi2121 https://github.com/lakshmi2121 can you provide the list of certificate authorities in cacerts file of your JDK please ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cucumber/cucumber-eclipse/issues/232?email_source=notifications&email_token=ANMHYF3BUSTXZV4V5TLAXLDQN6EMZA5CNFSM4EL63MJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA5XTOA#issuecomment-540768696, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANMHYFZSLZMH5YBUBQCDB5TQN6EMZANCNFSM4EL63MJQ .

qvdk commented 5 years ago

@lakshmi2121 You need to find the cacerts of your JRE used by Eclipse. This one is usually under the folder jre/lib/security.

Then, find DigiCert with the following command (don't forget to change the path)

keytool -list -v -keystore /opt/jdk1.8.0_221/jre/lib/security/cacerts | grep digicert
sjazayerli216 commented 4 years ago

Unable to read repository at https://cucumber.github.io/cucumber-eclipse/update-site/content.xml. PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

sjazayerli216 commented 4 years ago

can some one help me please thank you

lolotoms commented 4 years ago

Hi, Did you try with http instaead of https?