REOPEN - Minio disable SSL with java client not working !
See original GitHub issueISSUE
Minio disable SSL with java client not working !
Expected Behavior
Minio disable SSL with java client should work with disable SSL flag
Current Behavior
Minio disable SSL with java client not working with disable SSL flag
Possible Solution
Steps to Reproduce (for bugs)
Use maven java client
String serviceUrl = "minio9.s3test.sdsdsd.com";
String accessKey = "dfgdfgdg";
String secretKey = "sdfsdfs+sdfsdfsd";
String bucketName = "mymb2";
MinioClient minioClient = MinioClient.builder().endpoint(serviceUrl,9000,false).credentials(accessKey, secretKey).build();
try {
///System.out.println(minioClient.listBuckets());
minioClient.setTimeout(new Long("121212"),new Long("121212"),new Long("121212"));
minioClient.makeBucket(
MakeBucketArgs.builder()
.bucket("my-bucketname")
.region("us-east-1")
.build());
} catch ( Exception exception){
System.out.print(exception.getMessage());
}
Getting socket timeout error
Sep 27, 2022 7:14:33 PM okhttp3.internal.platform.Platform log INFO: Callback failure for call to http://minio9.s3test.sdfsdf.com:9000/… java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:141) at okio.InputStreamSource.read(JvmOkio.kt:94) at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:125) at okio.RealBufferedSource.read(RealBufferedSource.kt:189)
Context
<dependency> <groupId>io.minio</groupId> <artifactId>minio</artifactId> <version>8.4.5</version> </dependency>Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:12 (3 by maintainers)
Top Results From Across the Web
minio client not able to talk to secure minio server that uses ...
You can use 'mc' with standard SSL without using 'insecure' option for example - if you have a domain certificate signed by known...
Read more >How to fix java.net.SocketException: Broken pipe?
If the server side HTTP application is getting Broken Pipe exceptions it just means the client browser has exited/gone to another page/timed out/gone...
Read more >How to Fix java.net.SocketException: Broken pipe in ... - Java67
Hello guys, If you have worked in a client-server Java application then you may be familiar with the "java.net.SocketException: Broken pipe" error, ...
Read more >Untitled
https://www.digitalocean.com/community/questions/sendmail-is-not-working-on-my- ... -a-firewall-while-creating-a-droplet-via-api 2019-09-18T20:04:40.751Z ...
Read more >Web IDE - GitLab Docs
While the terminal is running, it can be stopped by selecting Stop Terminal. This disconnects the terminal and stops the runner's terminal job....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
[balamurugana] can you try above steps and check at your side ??? without closeing this issue???
Both MinIO server and minio-java work fine with non-TLS i.e.
http
. It is purely your setup issue.