[GH-ISSUE #1170] createWriteStream() with resumable true results in absolute URLs error on 1.45.1 #172

Closed
opened 2026-03-03 12:08:54 +03:00 by kerem · 1 comment
Owner

Originally created by @byumark on GitHub (May 17, 2023).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1170

We recently upgraded to fake-gcs-server 1.45.1 and started getting the following error from google-cloud/storage when streaming to the fake gcs server using createWriteStream():

TypeError: Only absolute URLs are supported

When we move back to 1.45.0, then we no longer have the issue. Also, if we set resumable to false then 1.45.1 does not cause an error. For example:

createWriteStream({ resumable: false })

Originally created by @byumark on GitHub (May 17, 2023). Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1170 We recently upgraded to fake-gcs-server 1.45.1 and started getting the following error from google-cloud/storage when streaming to the fake gcs server using `createWriteStream()`: ```TypeError: Only absolute URLs are supported``` When we move back to 1.45.0, then we no longer have the issue. Also, if we set `resumable` to `false` then 1.45.1 does not cause an error. For example: ```createWriteStream({ resumable: false })```
kerem 2026-03-03 12:08:54 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@fsouza commented on GitHub (May 27, 2023):

Thanks for reporting and apologies for the breakage. This is the same issue as #1166 (different SDKs have different error messages).

I broke it in #1159. #1184 fixes it.

<!-- gh-comment-id:1565582162 --> @fsouza commented on GitHub (May 27, 2023): Thanks for reporting and apologies for the breakage. This is the same issue as #1166 (different SDKs have different error messages). I broke it in #1159. #1184 fixes it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-gcs-server#172
No description provided.