#Reqwest debugging

2 messages · Page 1 of 1 (latest)

gilded iris
#

Hey, trying to debug an issue with a Reqwest application. I'm getting an error when trying to build [at runtime] a ClientBuilder, but only within a docker container (works fine everywhere else). The error has no details that I can tell (other than source: Normal(ErrorStack[])). I tried to find a reference to a "Normal" error (??) in the reqwest codebase but didn't find anything, so I have no idea where the error could be propagating from; it seems to be undocumented. I'm assuming that there's an error due to missing a TLS/SSL dependency, but I don't know what that dependency could be, and I haven't been able to find a list of dependencies for native-tls or rustls-tls. I'm installing libssl-dev, but that's it; are there other things necessary at runtime to create a TLS context..?
Note - I'm reading the key/ca/cert files into memory before passing them in, so it can't even be a permissions error (I would assume).
Not sure if this is the best place to ask, as there doesn't seem to be any community forum/support group for reqwest that I could find -- sorry if this is off topic here.

noble plinth
#

I don't have any fixes for you, but "the error has no details" is itself a bug worth reporting. Well, what's the rest of the text outside of the source part?