You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a debian:bookworm-slim image for a rust grpc api. Part of the server side of this API makes a http call to another service. But it looks like it fails with a rather unhelpful error message error sending request for url .
Doing some testing I noticed that it works fine if I install curl on the image.
Am I missing something here or is this a requirement for reqwest to make http requests?
Cheers,
A
Snippet of build
FROM debian:bookworm-slim AS release-base
RUN apt-get update && apt-get upgrade -y && apt-get install openssl -y
# binary copy and app stuff later
The text was updated successfully, but these errors were encountered:
For the error, you can use the {:?} format, or use an error reporter, to be able to print the source chain, which will explain more what happened.
As for why it suddenly works with curl, perhaps the curl package includes a system dependency on a TLS package that reqwest also wants? Or that enables more features in one? Hard to know without the full error message.
Hey reqwest team,
I'm building a
debian:bookworm-slim
image for a rust grpc api. Part of the server side of this API makes a http call to another service. But it looks like it fails with a rather unhelpful error messageerror sending request for url
.Doing some testing I noticed that it works fine if I install
curl
on the image.Am I missing something here or is this a requirement for reqwest to make http requests?
Cheers,
A
Snippet of build
The text was updated successfully, but these errors were encountered: