GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — should be able to change hostname of generated URL · Issue #3140 · googleapis/google-cloud-java

should be able to change hostname of generated URL #3140

New issue
Copy link
New issue
Copy link
Closed
Closed
should be able to change hostname of generated URL#3140
Copy link
Assignees
pmakani
Labels
api: storageIssues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@yogeshpatilcrest
yogeshpatilcrest
opened on Apr 10, 2018
Issue body actions

We are facing google storage access issue in China. We have a kind of proxy controller at our CDN (Fastly) which will serve files from google storage to avoid Chinese blockage of Google hostnames.
So I need CDN's host in resource URL instead of storage.googleapis.com. I checked code and found it is currently hardcoded in StorageImpl.signUrl(...). So it would be good if it is possible to configure it.
Currently, URL looks like: https://storage.googleapis.com//<file_path>?GoogleAccessId=accessID
And I want something like: https://my.custom.host.com//<file_path>?GoogleAccessId=accessID

Reacted by montss

Activity

Next
  1. JustinBeckwith
    added
    triage meI really want to be triaged.
    🚨 criticalP0 critical issue. Requires immediate fix
    api: storageIssues related to the Cloud Storage API.
    on Jun 8, 2018
  2. yihanzhen
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    and removed
    🚨 criticalP0 critical issue. Requires immediate fix
    triage meI really want to be triaged.
    on Jun 20, 2018
  3. JustinBeckwith
    added
    🚨 criticalP0 critical issue. Requires immediate fix
    on Oct 7, 2018
  4. sduskis
    removed
    🚨 criticalP0 critical issue. Requires immediate fix
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Oct 9, 2018
  5. pmakani
    added 3 commits that reference this issue on Nov 5, 2018

    googleapis#3140 feature added to change hostname of generated Url

    44a75d8

    googleapis#3140 feature added to change hostname of generated Url

    6bea462

    googleapis#3140 feature added to change hostname of generated Url

    df86263
  6. sduskis
    assigned
    pmakani
    on Nov 12, 2018
  7. pmakani
    added a commit that references this issue on Nov 13, 2018

    googleapis#3140 feature added to change hostname of generated Url

    2430e6a
  8. 1 remaining item

  9. pmakani
    added 4 commits that reference this issue on Nov 15, 2018

    googleapis#3140 feature added to change hostname of generated Url

    74c0cbe

    googleapis#3140 feature added to change hostname of generated Url

    66c07a6

    googleapis#3140 feature added to change hostname of generated Url

    29b3b7f

    googleapis#3140 feature added to change hostname of generated Url

    3272204
  10. chingor13
    added a commit that references this issue on Nov 20, 2018

    Storage: Added feature to change host name of signed url (#3910)

    eb9fae5
  11. chingor13 commented on Nov 20, 2018

    @chingor13
    chingor13
    on Nov 20, 2018
    Contributor
    More actions

    Fixed in #3910

  12. chingor13
    closed this as completedon Nov 20, 2018
  13. snehashah16
    added a commit that references this issue on Feb 3, 2019

    Merge request (#4436)

    47c840e
  14. houglum commented on Sep 24, 2019

    @houglum
    houglum
    on Sep 24, 2019
    More actions

    A question popped up regarding this functionality on PR #6183.

    As far as I can tell, our CNAME docs and all CDNs (including fastly) suggest that you should point your CNAME or CDN alias at <bucket_name>.storage.googleapis.com, which uses virtual-hosted-style URLs (meaning the bucket is supplied in the hostname, rather than in the path portion of the URL).

    However, this code is producing path-style URLs (that include the bucket in the path portion of the URL instead), which wouldn't work if you followed those instructions... e.g. it would produce something like https://my.custom.host/mybucket/myobject..., instead of https://my.custom.host/myobject.

    I'd like to fix this, but I don't want to break anyone if they're depending on some other undocumented routing/proxying behavior. @yogeshpatilcrest could you confirm that when you supply this option, you expect the bucket to be in the path portion of the URI? If so, could you provide me with an example URL so I can look into how the routing/host logic works?

  15. suztomo
    added a commit that references this issue on Mar 9, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    e61a7bc
  16. chingor13
    added 5 commits that reference this issue on Mar 24, 2026

    feat: add toString to futures returned by operations (#3140)

    fbdbe04

    feat: add Batcher#close(timeout) and Batcher#cancelOutstanding (#3141)

    68fd533

    chore(main): release 2.45.0 (#3139)

    fbf904c

    chore(main): release 6.68.2-SNAPSHOT (#3140)

    7e59aab

    test(deps): update cross product test dependencies (#3140)

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

Metadata

Metadata

Assignees

  • @pmakani
    pmakani

Labels

api: storageIssues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.