Skip to content

java.io.IOException: unexpected end of stream on com.squareup.okhttp.Address@170573c4 #353

@harshavardhana

Description

@harshavardhana
$ java -cp '.:minio-1.0.1-all.jar' FunctionalTest http://localhost:9000 WLGDGYAQYIGI833EV05A BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF
Test: makeBucket(String bucketName)
---------START-HTTP---------
PUT /minio-java-test-38qjbav HTTP/1.1
x-amz-acl: private
Host: localhost:9000
User-Agent: Minio (x86_64; x86_64) minio-java/dev
x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date: 20160206T080747Z
Authorization: AWS4-HMAC-SHA256 Credential=WLGDGYAQYIGI833EV05A/20160206/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-acl;x-amz-content-sha256;x-amz-date, Signature=*REDACTED*

java.io.IOException: unexpected end of stream on com.squareup.okhttp.Address@170573c4
    at com.squareup.okhttp.internal.http.Http1xStream.readResponse(Http1xStream.java:201)
    at com.squareup.okhttp.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:127)
    at com.squareup.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:737)
    at com.squareup.okhttp.internal.http.HttpEngine.access$200(HttpEngine.java:87)
    at com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:722)
    at com.squareup.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:576)
    at com.squareup.okhttp.Call.getResponse(Call.java:287)
    at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:243)
    at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:205)
    at com.squareup.okhttp.Call.execute(Call.java:80)
    at io.minio.MinioClient.execute(MinioClient.java:487)
    at io.minio.MinioClient.executePut(MinioClient.java:684)
    at io.minio.MinioClient.makeBucket(MinioClient.java:1412)
    at io.minio.MinioClient.makeBucket(MinioClient.java:1331)
    at FunctionalTest.makeBucket_test1(FunctionalTest.java:91)
    at FunctionalTest.main(FunctionalTest.java:689)
Caused by: java.io.EOFException: \n not found: size=0 content=...
    at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:201)
    at com.squareup.okhttp.internal.http.Http1xStream.readResponse(Http1xStream.java:186)
    ... 15 more

Works fine with an 'http://10.0.0.3:9000'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions