Poor error message on Windows: "I/O error during system call, No error"
- Dominant language
- Java
- Stars
- 1.4k
- Forks
- 326
- Avg merge
- 16h 22m
- Merged PRs (30d)
- 17
Description
conscrypt-openjdk-uber version: v1.0.1
I am debugging some gRPC tests that are flaky when using Conscrypt on Windows. Some of the time when it flakes, I'm seeing the exception below:
```
javax.net.ssl.SSLException: Write error: ssl=000000002FF8B328: I/O error during system call, No error
at org.conscrypt.NativeCrypto.SSL_write(Native Method)
at org.conscrypt.NativeSsl.write(NativeSsl.java:396)
at org.conscrypt.ConscryptFileDescriptorSocket$SSLOutputStream.write(ConscryptFileDescriptorSocket.java:627)
at okio.Okio$1.write(Okio.java:79)
at okio.AsyncTimeout$1.write(AsyncTimeout.java:180)
at okio.RealBufferedSink.close(RealBufferedSink.java:229)
at io.grpc.okhttp.internal.framed.Http2$Writer.close(Http2.java:569)
at io.grpc.okhttp.AsyncFrameWriter$14.run(AsyncFrameWriter.java:203)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
```
I don't think this is the _cause_ of the flakes; I think it is just extra fallout. The error message is lacking information though. Based on [the code](https://github.com/google/conscrypt/blob/1.0.0/common/src/jni/main/cpp/conscrypt/jniutil.cc#L474) it's not clear there is any more information available.
It's fine with me to close this since there doesn't seem anything actionable, but I wanted to report it all the same.
Contributor guide
Assessment
This issue has not been assessed yet.