Skip to content

upload file to cloud storage stuck randomly #1563

Description

@matrixl

My program will stuck randomly when call blob.upload_from_filename function, most of the time it happend to a pdf file (it also happened to small size pdf file). with version 0.10.1

client = storage.Client.from_service_account_json(app.config["GCS_KEYFILE"], app.config["GCS_PROJECTID"])
bucket = client.get_bucket(app.config["GCS_BUCKETID"])
blob = bucket.blob(remote_path)
blob.upload_from_filename(filename=local_path)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions