Skip to content
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

Getting - warning: cannot close fd before spawn with version googleauth-1.1.0 #356

Open
shalini-gupta-20 opened this issue Jan 11, 2022 · 1 comment
Labels
type: docs Improvement to the documentation for an API.

Comments

@shalini-gupta-20
Copy link

Hi,

I updated the logstash version to 7.16.2 and installed the below 2 plugins to use GCP pubsub:

bin/logstash-plugin install logstash-input-google_pubsub
bin/logstash-plugin install logstash-output-google_pubsub

However, I keep getting these warnings:
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/googleauth-1.1.0/lib/googleauth/credentials_loader.rb:163: warning: cannot close fd before spawn

Here are the logstash details:
[INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.16.2", "jruby.version"=>"jruby 9.2.20.1 (2.5.8) 2021-11-30 2a2962fbd1 OpenJDK 64-Bit Server VM 11.0.13+8 on 11.0.13+8 +indy +jit [linux-x86_64]"} │

logstash-output-google_pubsub (1.0.2-java)
logstash-codec-json (> 3.0)
logstash-codec-plain (
> 3.0)
logstash-core-plugin-api (>= 1.60, <= 2.99)

logstash-input-google_pubsub (1.2.1)
logstash-codec-plain
logstash-core-plugin-api (>= 1.60, <= 2.99)
stud (>= 0.0.22)

Can you please help with the error message?

@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Jan 11, 2022
@dazuma
Copy link
Member

dazuma commented Feb 15, 2022

The googleauth gem doesn't officially support jruby. It may work for the most part, but it's not in our CI and there may be various issues.

@dazuma dazuma added type: docs Improvement to the documentation for an API. and removed triage me I really want to be triaged. 🚨 This issue needs some love. labels Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: docs Improvement to the documentation for an API.
Projects
None yet
Development

No branches or pull requests

3 participants