error trying to connect: invalid URL, scheme is not http #1198
-
I'm new to this entire ecosystem and I'm trying to use this crate with Honeycomb. My code looks like:
Cargo.toml
and yields:
How am I expected to configure this? Honeycomb needs HTTPS but it seems like how I'm using this crate is wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I have no idea why, but the version of reqwest seems to be related to this. Relying on the reqwest client in opentelemetry-oltp seems to resolve this for me? |
Beta Was this translation helpful? Give feedback.
-
From what I understood this error is related to TLS. Adding the feature reqwest-rustls to opentelemetry-otlp fixed it for me. |
Beta Was this translation helpful? Give feedback.
I have no idea why, but the version of reqwest seems to be related to this. Relying on the reqwest client in opentelemetry-oltp seems to resolve this for me?