Prepare-offline-pack subcommand ERROR

HI,when i install logstash offline plugins,I get this error:
my server can not connect internet,so,i build my offline plugin pack in my another server that can connect internet.
os:rhel7.4
logstash:7.6
[root@logstash7 bin]# ./logstash-plugin install /home/logstash-offline-plugins-7.6.0.zip
OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
Validating /home/logstash-offline-plugins-7.6.0.zip
Unable to download data from https://rubygems.org - SocketError: Failed to open TCP connection to rubygems.org:443 (initialize: name or service not known) (https://rubygems.org/latest_specs.4.8.gz)
ERROR: Installation aborted, verification failed for /home/logstash-offline-plugins-7.6.0.zip

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.