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

Plugin failing to install due to SSL issues #28

Closed
FestivalBobcats opened this issue Mar 31, 2014 · 3 comments
Closed

Plugin failing to install due to SSL issues #28

FestivalBobcats opened this issue Mar 31, 2014 · 3 comments

Comments

@FestivalBobcats
Copy link

This command is failing:

plugin -i medcl/elasticsearch-analysis-ik/1.2.6 -u https://github.com/medcl/elasticsearch-rtf/raw/master/plugins/analysis-ik/elasticsearch-analysis-ik-1.2.6.jar

The response:

-> Installing medcl/elasticsearch-analysis-ik/1.2.6...
Trying https://github.com/medcl/elasticsearch-rtf/raw/master/plugins/analysis-ik/elasticsearch-analysis-ik-1.2.6.jar...
Failed: SSLProtocolException[handshake alert:  unrecognized_name]
Trying http://download.elasticsearch.org/medcl/elasticsearch-analysis-ik/elasticsearch-analysis-ik-1.2.6.zip...
Trying http://search.maven.org/remotecontent?filepath=medcl/elasticsearch-analysis-ik/1.2.6/elasticsearch-analysis-ik-1.2.6.zip...
Trying https://oss.sonatype.org/service/local/repositories/releases/content/medcl/elasticsearch-analysis-ik/1.2.6/elasticsearch-analysis-ik-1.2.6.zip...
Trying https://github.com/medcl/elasticsearch-analysis-ik/archive/v1.2.6.zip...
Trying https://github.com/medcl/elasticsearch-analysis-ik/archive/master.zip...
Downloading .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONE
Installed medcl/elasticsearch-analysis-ik/1.2.6 into /usr/local/var/lib/elasticsearch/plugins/analysis-ik

Error while installing plugin, reason: IllegalArgumentException: Plugin installation assumed to be site plugin, but contains source code, aborting installation.

I dug a little deeper and tried to download the .jar with curl, and discovered it only worked when SSLv3 was forced.

The following command fails:

curl -o es-analysis-ik.jar -L https://github.com/medcl/elasticsearch-rtf/raw/master/plugins/analysis-ik/elasticsearch-analysis-ik-1.2.6.jar

curl: (35) error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)

But works when forcing SSLv3:

curl -3 -o es-analysis-ik.jar -L https://github.com/medcl/elasticsearch-rtf/raw/master/plugins/analysis-ik/elasticsearch-analysis-ik-1.2.6.jar

Any idea how I can get this to install through the ES plugin binary? We had previously supported this plugin at Qbox.io, but I've had to remove it temporarily due to this issue.

@medcl
Copy link
Member

medcl commented Apr 2, 2014

@medcl medcl closed this as completed Apr 2, 2014
@FestivalBobcats
Copy link
Author

Welllp, I feel stupid. Thanks for the help!

@FestivalBobcats
Copy link
Author

Well, actually... still can't install it with the plugin installer.

Trying http://github.com/medcl/elasticsearch-rtf/raw/master/plugins/analysis-ik/elasticsearch-analysis-ik-1.2.6.jar...

Failed: SSLProtocolException[handshake alert:  unrecognized_name]

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

2 participants