-
Notifications
You must be signed in to change notification settings - Fork 39
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
https issues #14
Comments
Update on this issue. The error I am getting now is below:
|
I will try to look into it on the next days/weekend. |
After a very first glance, I think you need to configure either "certificate_authorities" to include the correct certificates or set "verification_mode" to "none". Setting "vverification_mode" to "none" is the same as using -k switch in curl. |
@bHoskins07: Which version do you use? |
Thanks for the quick response. elasticsearch version 5.1.1 |
Below is what I have set in httpbeat.yml file for input.
|
I'm having a similar issue. Is ssl even supported on the polling piece of this? The ssl configurations seem to be only available in the output sections of the full example config: https://github.com/christiangalsterer/httpbeat/blob/master/httpbeat.full.yml |
FYI Some comments in #15 from me about using SSL. |
As a quick test on my local machine I set InsecureSkipVerify = true in func convertTLSConfig(config *transport.TLSConfig) and it acted as I expected "verification_mode: none" to act. Not sure if you'd want to expose that configuration option instead? I'll leave it up to you. https://golang.org/src/crypto/tls/common.go
331 // server's certificate chain and host name. |
I fixed the issue and will cut a release soon. |
Release 3.2.0 now available |
Thanks for the timely fix & release. Works for me |
@christiangalsterer Yes, Thank You For the Fix. This worked for me as well. You are the best! 🥇 💯 |
Always glad to help... |
Hello,
I am attempting to recreate HTTPS request. When we issue curl request it looks like this...
curl --tlsv1.2 -n -k https://hostname:port/restendpoint
I configured httpbeat.yml, see below
I am sending directly to elasticsearch and also output to file but no data has being written to either.
I only get this INFO message in log.
2017/01/06 19:56:03.162631 logp.go:232: INFO No non-zero metrics in the last 30s
Any help would be appreciated!
Thanks
The text was updated successfully, but these errors were encountered: