Comments (5)
Yes, this functionality is broken.
The issue: #57
from java-storage.
Tracking in #57
from java-storage.
FYI, this is believed to be completely fixed in the current versions of the relevant libraries that you get with libraries-bom 4.0.0. If anyone still sees this with the latest versions of all libraries, please reopen this bug and @ me.
from java-storage.
@elharo No, it doesn't work with libraries-bom 4.0.0
Simple code to reproduce:
package storage;
import com.google.cloud.storage.*;
public class Spaces {
public static void main(String... args) throws Exception {
String bucketName = "bucket_generation_signed";
String blobName = "1 2";
byte[] content = "Hello world".getBytes("utf8");
StorageOptions.getDefaultInstance().getService().create(BlobInfo.newBuilder(bucketName, blobName ).build(), content);
System.out.println("sent: " + content.length);
Storage s = StorageOptions.getDefaultInstance().getService();
byte[] read = s.readAllBytes(bucketName, blobName);
System.out.println("read: " + read.length);
}
}
Exception in thread "main" com.google.cloud.storage.StorageException: 404 Not Found
No such object: bucket_generation_signed/1+2
from java-storage.
@elharo #57 is still open, I don't think we need to reopen this one.
from java-storage.
Related Issues (20)
- com.example.storage.ITBucketSnippets: testDefaultKMSKey failed HOT 1
- com.example.storage.ITBucketSnippets: testBucketRetention failed HOT 1
- Java-Storage: GCS object larger than 129 GB not downloading to local system HOT 4
- replace usages of the word Apiary with Json
- Re-enable conformance tests for resumable uploads when testbench is fixed
- Cloud strorage v2 API, writeObject missing header x-goog-request-params for client streaming call HOT 9
- Cloud storage v2 API, add support for batch operations HOT 2
- Retrying idempotent requests that return 503 backendError HOT 1
- com.google.cloud.storage.StorageException: java.lang.IllegalStateException: Connection pool shut down when trying to check if bucket exists HOT 5
- CVE-2023-33953 through io.grpc.* (1.56.1) HOT 3
- com.example.storage.QuickstartSampleIT: testQuickstartGrpc failed HOT 1
- com.example.storage.QuickstartSampleIT: testQuickstartGrpcDp failed HOT 1
- Google Cloud Storage library using deprecated javax package HOT 4
- Async / streaming support
- com.example.storage.bucket.PrintPubSubNotificationTest: testPrintBucketPubSubNotification failed HOT 2
- Warning: a recent release failed HOT 2
- Add support for Autoclass v2.1 HOT 1
- grpc compatibility with storage 2.27.x HOT 3
- Google Cloud Storage: unexpected exception after successfully writing to a Google Cloud Storage object HOT 2
- grpc compatibility issue 2.27.1 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-storage.