Ingest-attachment cannot be installed

Hi, when installing the ingest-attachment I get an error:

testuser@testvm:/usr/share/opensearch-1.0.0/bin$ sudo -u opensearch ./opensearch-plugin install ingest-attachment
→ Installing ingest-attachment
→ Downloading ingest-attachment from opensearch
→ Failed installing ingest-attachment
→ Rolling back ingest-attachment
→ Rolled back ingest-attachment
Exception in thread “main” java.io.IOException: Server returned HTTP response code: 403 for URL: https://artifacts.opensearch.org/releases/plugins/ingest-attachment/1.0.0/ingest-attachment-1.0.0.zip
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1932)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1528)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
at org.opensearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:438)
at org.opensearch.plugins.InstallPluginCommand.downloadAndValidate(InstallPluginCommand.java:515)
at org.opensearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:306)
at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:260)
at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:237)
at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:99)
at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140)
at org.opensearch.cli.MultiCommand.execute(MultiCommand.java:104)
at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140)
at org.opensearch.cli.Command.main(Command.java:103)
at org.opensearch.plugins.PluginCli.main(PluginCli.java:60)
testuser@testvm:/usr/share/opensearch-1.0.0/bin$

Is the problem know and how canI solve it?

Even when I try to connect to
https://artifacts.opensearch.org/
then I get an error message back …

1 Like

I believe this is a known issue that is currently being worked on.

So version 1.0 is released, but when installing its not allowed to install needed plugins to replace elasticsearch?

It should have been available the moment 1.0 was public but looks like there was an oversight. There is a pending request with the team that manages this part of the downloads - I’ll update when I know more or have a public place where the issue is being tracked.

You can track this issue here:

Hi!

Similar issue here:

-> Installing ingest-attachment                                                                                                          
-> Downloading ingest-attachment from opensearch                                                                                         
[=================================================] 100%??                                                                               
-> Failed installing ingest-attachment                                                                                                   
-> Rolling back ingest-attachment                                                                                                        
-> Rolled back ingest-attachment                                                                                                         
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: https://artifacts.opensearch.org/release
s/plugins/ingest-attachment/1.0.0/ingest-attachment-1.0.0.zip.asc                                                                        
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1932)                            
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1528)                             
        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)                   
        at java.base/java.net.URL.openStream(URL.java:1167)                                                                              
        at org.opensearch.plugins.InstallPluginCommand.urlOpenStream(InstallPluginCommand.java:482)                                      
        at org.opensearch.plugins.InstallPluginCommand.verifySignature(InstallPluginCommand.java:622)                                    
        at org.opensearch.plugins.InstallPluginCommand.downloadAndValidate(InstallPluginCommand.java:600)                                
        at org.opensearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:306)                                           
        at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:260)                                            
        at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:237)                                            
        at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:99)                                           
        at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140)                                                         
        at org.opensearch.cli.MultiCommand.execute(MultiCommand.java:104)                                                                
        at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140)                                                         
        at org.opensearch.cli.Command.main(Command.java:103)                                                                             
        at org.opensearch.plugins.PluginCli.main(PluginCli.java:60)

I workaround it by downloading the file from https://artifacts.opensearch.org/release
s/plugins/ingest-attachment/1.0.0/ingest-attachment-1.0.0.zip and running:

bin/opensearch-plugin install file:///home/david/ingest-searchandmatchskills-7.10.0-0.0.1.zip
1 Like

I think this is a known issue now, to be fixed in 1.1.0