-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Elastic-Agent] Correctly unmarshal Protocol #17843
Conversation
The Protocol (https/http) was not correctly unmarshaly and assigned to the value of the struct. Because of this the checking was trying to use a plain text connection or a TLS enabled endpoint. Fixes: elastic#17841
Pinging @elastic/ingest-management (Team:Ingest Management) |
@michalpristas Lets make sure all our test in CI for integration only uses TLS. |
I can confirm this fixes the issues in cloud. |
@@ -23,6 +23,7 @@ | |||
- Remove the kbn-version on each request to the Kibana API. {pull}17764[17764] | |||
- Fixed process spawning on Windows {pull}17751[17751] | |||
- Fixed injected log path to monitoring beat {pull}17833[17833] | |||
- Make sure that the Elastic Agent connect over TLS in cloud. {pull}xx[xxx] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ph Can you fix this in a follow up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦 one day we wont need this.
Merged this already to get it into the build cycle. |
The Protocol (https/http) was not correctly unmarshaly and assigned to the value of the struct. Because of this the checking was trying to use a plain text connection or a TLS enabled endpoint. Fixes: elastic#17841 (cherry picked from commit 0765f94)
The Protocol (https/http) was not correctly unmarshaly and assigned to
the value of the struct. Because of this the checking was trying to use
a plain text connection or a TLS enabled endpoint.
Fixes: #17841
What does this PR do?
Why is it important?
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs