javax.net.ssl.SSLException: Write error: ssl=0x7f70604080: I/O error during system call, Broken pipe
问题 I use retrofit for uploading image to server, but have a strange issue api method declaration: @POST("/uploadImage") @Multipart Result<UploadImageResponse> uploadImage(@Part("image") TypedByteArray image); rest adapter user custom client: OkClient client = new OkClient(getUnsafeOkHttpClient()); where private OkHttpClient getUnsafeOkHttpClient() { try { // Create a trust manager that does not validate certificate chains final TrustManager[] trustAllCerts = new TrustManager[]{new