Ingest-attachment cannot be installed

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