GCloud Upload httplib2.RedirectMissingLocation: Redirected but the response is missing a Location: header

后端 未结 4 1646
予麋鹿
予麋鹿 2021-01-17 18:48

I am attempting to upload a small file to gcloud using a simple python program

client = storage.Client(project=GCLOUD_PROJECT)
bucket = client.get_bucket(GCL         


        
4条回答
  •  灰色年华
    2021-01-17 19:26

    I had this error on Dataflow (masquerading also as a BrokenPipe). Downgrading google-api-python-client to the versions >=1.7.8,<1.7.12 fixed it, because 1.7.12 introduced a dependency on httplib2 0.17.0 which was somehow incompatible.

提交回复
热议问题