error trying to connect: invalid URL, scheme is not http #1198
Answered
by
tobymurray
tobymurray
asked this question in
Q&A
-
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.
Answered by
tobymurray
Aug 12, 2023
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.
0 replies
Answer selected by
tobymurray
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?