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

Failure to initialize cloudfoundry http client #28271

Closed
jsoriano opened this issue Oct 6, 2021 · 1 comment · Fixed by #28277
Closed

Failure to initialize cloudfoundry http client #28271

jsoriano opened this issue Oct 6, 2021 · 1 comment · Fixed by #28277
Assignees
Labels
bug regression Team:Integrations Label for the Integrations team

Comments

@jsoriano
Copy link
Member

jsoriano commented Oct 6, 2021

Cloudfoundry input fails to initialize with the following error:

2021-10-05T21:16:41.114-0700    ERROR   [input.cloudfoundry-v1] compat/compat.go:122    Input 'cloudfoundry-v1' failed with: expected http transport on client

Issue is probably related to the changes in http clients in #25219, doppler consumer expects a transport that has probably a different type now, here:

transport, ok := client.Transport.(*http.Transport)
if !ok {
return nil, fmt.Errorf("expected http transport on client")
}

Investigate how this could have been detected by tests.

For confirmed bugs, please report:

  • Version: 7.14.0, 7.15.0, 7.15.1
  • Steps to Reproduce: Use the cloudfoundry input with Filebeat 7.14.0.

cc @bvader

@jsoriano jsoriano added bug regression Team:Integrations Label for the Integrations team labels Oct 6, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug regression Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants