media_link & self_link in blob do not update when client option "api_endpoint" is set #1272
Labels
api: storage
Issues related to the googleapis/python-storage API.
type: question
Request for information or clarification. Not an issue.
I am not sure this is intentional or not, but I had problems with it when using fake-gcs-server. I attempted to set the
api_endpoint
field tohttp://localhost:4443
, but the media_link and self_link hosts continue to be0.0.0.0
. Here is the code used to configure the client:Here is an image of the blob during execution:
![Screenshot 2024-05-09 at 7 00 18 PM](https://private-user-images.githubusercontent.com/135887157/329408957-30e02979-0c2e-4ae1-ae7d-0ef3adc99200.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0MzQ1MDcsIm5iZiI6MTcyMjQzNDIwNywicGF0aCI6Ii8xMzU4ODcxNTcvMzI5NDA4OTU3LTMwZTAyOTc5LTBjMmUtNGFlMS1hZTdkLTBlZjNhZGM5OTIwMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDczMVQxMzU2NDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02OTY1MzZmZjQzZTM5MjhmZjZjYjQ2ZmQwYmZlNGU0NGU3ZmE5ZmRlMWZlZmQwYmY4MjlkNTQ4NzIyMGMxMmViJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.TpLIPUr189UTPVI0qrzFV0mK8rwrkhIgAB9INcpYRnQ)
This become problematic because we are running in docker container that needs the hostname to be custom. Let me know if you need more details!
The text was updated successfully, but these errors were encountered: