httpx error deserialization in prefect_ray.RayTaskRunner #46408
Labels
bug
Something that is supposed to be working; but isn't
core
Issues that should be addressed in Ray Core
@external-author-action-required
Alternate tag for PRs where the author doesn't have labeling permission.
What happened + What you expected to happen
I'm using
prefect_ray.RayTaskRunner
with my Prefect flows. I'm using httpx in Prefect tasks for some API calls. I noticed whenhttpx
raises anHTTPStatusError
, ray fails to deserialize the error and throws the following error:Running without
RayTaskRunner
throws the right error, like this:Is this an issue in
ray
? Orprefect_ray
? Or am I doing something wrong?Versions / Dependencies
OS: Ubuntu 22.04
Python: 3.11
ray==2.31.0
prefect==2.19.7
prefect-ray==0.3.6
Reproduction script
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: