Skip to content

HTTP_PROXY and HTTPS_PROXY environment variables are not correctly respected when jar-dependency fetch the pom. #6044

Closed

Description

Trying to build docker image, changed from logstash:latest to logstash:5

Building logstash
Step 1 : FROM logstash:5
 ---> b8378ec492c6
Step 2 : ENV http_proxy http://<my-corporate-proxy>:80
 ---> Using cache
 ---> 9920b7ec7ddb
Step 3 : ENV https_proxy http://<my-corporate-proxy>:80
 ---> Using cache
 ---> 5b3303a3253c
Step 4 : RUN logstash-plugin update logstash-input-beats
 ---> Running in 9388ecc74a70
Updating logstash-input-beats
Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core-event-java (5.0.0.pre.rc1), and Bundler cannot continue.
Make sure that `gem install logstash-core-event-java -v '5.0.0.pre.rc1'` succeeds before bundling.
WARNING: SSLSocket#session= is not supported
Error Bundler::InstallError, retrying 2/10
An error occurred while installing logstash-core-event-java (5.0.0.pre.rc1), and Bundler cannot continue.
Make sure that `gem install logstash-core-event-java -v '5.0.0.pre.rc1'` succeeds before bundling.
WARNING: SSLSocket#session= is not supported

I changed
logstash-plugin install logstash-input-beats
to
logstash-plugin update logstash-input-beats

as suggested in #5777 but it did not improve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions