[GH-ISSUE #1234] Basic operation with fake-gcs-server #176

Closed
opened 2026-03-03 12:08:56 +03:00 by kerem · 2 comments
Owner

Originally created by @RaulPampliegaMayoral on GitHub (Jun 29, 2023).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1234

Hello!
I am trying to use fake-gcs-server with springboot and testcontainers. I have everything working correctly and with preloaded data in the /storage folder.
image

If I make a request to see the buckets apparently everything works correctly

image

If I make a request to see the metadata of a particular bucket, everything works correctly.

image

But when I ask for the different objects in a bucket I get a 404 response

image

I've been stuck on this for a while now and can't make any progress, any idea why that might be?

Thanks in advance

Originally created by @RaulPampliegaMayoral on GitHub (Jun 29, 2023). Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1234 Hello! I am trying to use fake-gcs-server with springboot and testcontainers. I have everything working correctly and with preloaded data in the /storage folder. ![image](https://github.com/fsouza/fake-gcs-server/assets/13700946/332cb6db-06c1-44bb-ac9e-0c53a0221902) If I make a request to see the buckets apparently everything works correctly ![image](https://github.com/fsouza/fake-gcs-server/assets/13700946/02243362-5337-4550-8c8e-9203a5c4cf82) If I make a request to see the metadata of a particular bucket, everything works correctly. ![image](https://github.com/fsouza/fake-gcs-server/assets/13700946/01e63f96-d149-4863-b6f1-d250b9312624) But when I ask for the different objects in a bucket I get a 404 response ![image](https://github.com/fsouza/fake-gcs-server/assets/13700946/8bbba23f-7652-4bff-8772-65cf12e7d3ec) I've been stuck on this for a while now and can't make any progress, any idea why that might be? Thanks in advance
kerem closed this issue 2026-03-03 12:08:56 +03:00
Author
Owner

@RaulPampliegaMayoral commented on GitHub (Jun 29, 2023):

It seems that if i upload files with the client the api is returned ok but with the data preloaded is not able to return anything

<!-- gh-comment-id:1613487494 --> @RaulPampliegaMayoral commented on GitHub (Jun 29, 2023): It seems that if i upload files with the client the api is returned ok but with the data preloaded is not able to return anything
Author
Owner

@RaulPampliegaMayoral commented on GitHub (Jun 29, 2023):

I have already solved the problem. Apart from mounting a directory with files in /data you have to launch the docker image with the parameter "-data /data".

<!-- gh-comment-id:1613769627 --> @RaulPampliegaMayoral commented on GitHub (Jun 29, 2023): I have already solved the problem. Apart from mounting a directory with files in /data you have to launch the docker image with the parameter "-data /data".
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#176
No description provided.