Blobclient download stream readall() never finishes. #19783
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
download_stream.readall()
hangs when running inside a container in GKE, but does not hang when executing the container locally.To Reproduce
Steps to reproduce the behavior:
Expected behavior
To download the contents of the blob
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I am trying to download the contents of a blob. My code hangs on the execution of the
readall()
method. When inspecting the container in the Pod, I can see that the contents of the file have been fully downloaded. yet thereadall()
method is still blocking.When I run the container locally on my laptop, the execution of the method completes and the program continues along nicely.
It's only when I've created a K8s CronJob that's supposed to periodically download the blobs the
readall()
method gets stuck. I don't understand why this is happening. My assumption is it has something to do with a network connectivity between google and azure. But I would like a way to understand how to debug this a bit further.The text was updated successfully, but these errors were encountered: