Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse Luna getting protocol_version fatal alert #38

Closed
rainbow99984 opened this issue May 11, 2018 · 6 comments
Closed

Eclipse Luna getting protocol_version fatal alert #38

rainbow99984 opened this issue May 11, 2018 · 6 comments

Comments

@rainbow99984
Copy link

I'm trying to install the plugin using market place, after searching for the plugin, I selected the plugin to install, the confirm window leads to following error:-
Unable to read repository at https://ecd-plugin.github.io/update/content.xml.
Received fatal alert: protocol_version
.I'm not behind any proxy, using direct connection, able to install other plugins.
Thanks

@RobertZenz
Copy link
Collaborator

This should be a duplicate of #11 and #29.

@RobertZenz
Copy link
Collaborator

In case it isn't, drop me a note and I'll test it on Luna. But I do not believe that this is a general problem.

@rainbow99984
Copy link
Author

rainbow99984 commented May 11, 2018

Hi, I checked both the suggestions, I have checked my proxy settings and it is selected direct option. I can open market place see the plugin list and search too, when tried eclipse internal browser to open website all worked. but When I tried to open https://ecd-plugin.github.io/update/content.xml I get something like

&(|(osgi.arch=x86)(osgi.arch=x86_64))(|(osgi.os=linux)(osgi.os=macosx)(osgi.os=win32))) (org.eclipse.update.install.features=true) (&(|(osgi.arch=x86)(osgi.arch=x86_64))(|(osgi.os=linux)(osgi.os=macosx)(osgi.os=win32))) %license %copyright (org.eclipse.update.install.features=true) true %license %copyright (org.eclipse.update.install.features=true) %license %copyright Bundle-SymbolicName: org.sf.feeling.decompiler.source.attach;singleton:=true Bundle-Version: 3.0.0.201709092115 (org.eclipse.update.install.features=true) true %license %copyright Bundle-SymbolicName: org.sf.feeling.decompiler.jd;singleton:=true Bundle-Version: 3.0.0.201709092115 (org.eclipse.update.install.features=true) %license %c

If you can suggest what should i do, Thank you

@RobertZenz
Copy link
Collaborator

Okay, now that is interesting, I've just tested this with a Linux/JDK7/Eclipse4.4 installation and it seems like the problem is that the TSL connection to the repository cannot be established. From what I can gather that is because Eclipse tries to connect with a TLS version which is no longer supported by GitHub, so the connection "simply" fails.

From what I could gather, the following should fix the problem when added to the eclipse.ini:

-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2

I say should because it did nothing for me. I'm a little bit at a loss here, and the overall consensus seems to be "upgrade to Java 1.8". But I know that that is not always possible.

There are two workarounds which I can think of:

  1. Download the whole update repository and add it as source on the local filesystem.
    1. Download the the zip of the repository.
    2. Unpack it to somewhere on the filesystem.
    3. Go to "Install new software" and enter the location of that as source, file://YOURLOCATION.
  2. Download the necessary jars and place them in the dropins directory. I have never done that before, though.

Obviously you won't get automatic updates with this method, but I'm at little loss here are what we could do to mitigate this.

@rainbow99984
Copy link
Author

Hi, So I tried the -Dhttps method didn't work for me as well.
Btw in my eclipse.ini, I have -vm option set to JDK8
Tried the local filesystem work around and it did worked, at least I have something to work with
Thank you for the help.

@eliandroribeiro
Copy link

Setting my eclipse to run on java 8 resolved my problem.
See this stackoverflow answer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants