-
Notifications
You must be signed in to change notification settings - Fork 168
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
Exception in thread "main" sun.net.ftp.FtpLoginException: Invalid username/password #310
Comments
These instructions dont work 1:1 for me since my EMail client is not on my server. So i need to "transport" the link i received over to my server. First i copied the link "as is" but bash cannot deal with & characters in a pasted url. So i wrapped the url in doublequotes and tried to download it with wget, now i get: |
The error message i originally posted is what i get when i use my laptop to download the plugin, then copy it to the server, then try to install it there. |
you are missing a slash after the "file", it's not This is the correct one:
|
Aha, i thought i had tried that before. Thanks. |
I know this is probably a very stupid mistake i made but i really dont know what is causing this:
2, got mail with link
4, Downloaded on laptop, put readonlyrest on server, with this result:
/usr/share/elasticsearch# bin/elasticsearch-plugin install file://usr/share/elasticsearch/readonlyrest-1.16.15_es6.1.2.zip -> Downloading file://usr/share/elasticsearch/readonlyrest-1.16.15_es6.1.2.zip Exception in thread "main" sun.net.ftp.FtpLoginException: Invalid username/password at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:315) at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:400) at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:326) at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:245) at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:213) at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:204) at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:75) at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) at org.elasticsearch.cli.Command.main(Command.java:90) at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48)
The text was updated successfully, but these errors were encountered: