You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a regression introduced in #1159: when default parameters are
used, the external URL would be empty, breaking resumable uploads.
Fixes#1166.
Fixes#1170.
Hi,
When writing to the storage bucket faker from a Golang project using the package sftp I get the following error message in my Go project:
Post "/upload/storage/v1/b/cc-acquiring-local-clearing-files/o?uploadType=resumable&name=mastercard%2F2023%2F05%2F16%2FYTF.AR.TR54.B.E0000000.D230516.T090025.txt&upload_id=b198a18a6a9c869741e648b294569fa5": unsupported protocol scheme ""
The logs of the storage faker however show:
storage_bucket |time="2023-05-16T18:15:56Z" level=info msg="10.4.1.1 - - [16/May/2023:18:15:56 +0000] \"POST /upload/storage/v1/b/cc-acquiring-local-clearing-files/o?alt=json&ifGenerationMatch=0&name=logs.txt&prettyPrint=false&projection=full&uploadType=resumable HTTP/1.1\" 200 479"
We create an io.WriteCloser from a BucketHandle object using the
"cloud.google.com/go/storage"
.Running this from a Mac (M1) with the env
STORAGE_EMULATOR_HOST
set tohttp://localhost:4443
using version v1.45.1.I downgraded to v1.44.2 which doesn't has this issue.
The text was updated successfully, but these errors were encountered: