A near few days, I face problem with upload almost file video .mp4 will be connection time out or can't get result when upload success. When I upload video I see my internet work normally, speed upload is stable about 2 -> 3 Mb/s.
Is it seem google start set timeout shorter or change something in recently ? And how do the way resolve my problem was facing?
This is my log in catch exception.
2019-11-24 03:41:18.770 ERROR 3545 --- [Thread-5] package.utils.UploadVideo : com.google.api.gax.rpc.ApiException: javax.net.ssl.SSLException: java.net.SocketException: Connection timed out (Write failed)
com.google.api.gax.rpc.ApiException: javax.net.ssl.SSLException: java.net.SocketException: Connection timed out (Write failed)
at com.google.photos.library.v1.upload.PhotosLibraryUploadExceptionMappingFn.apply(PhotosLibraryUploadExceptionMappingFn.java:48) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at com.google.photos.library.v1.upload.PhotosLibraryUploadExceptionMappingFn.apply(PhotosLibraryUploadExceptionMappingFn.java:29) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at com.google.api.core.ApiFutures$GaxFunctionToGuavaFunction.apply(ApiFutures.java:204) ~[api-common-1.8.1.jar:na]
at com.google.common.util.concurrent.AbstractCatchingFuture$CatchingFuture.doFallback(AbstractCatchingFuture.java:206) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.AbstractCatchingFuture$CatchingFuture.doFallback(AbstractCatchingFuture.java:194) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.AbstractCatchingFuture.run(AbstractCatchingFuture.java:107) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:398) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:141) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:130) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.ListenableFutureTask.done(ListenableFutureTask.java:86) ~[guava-26.0-android.jar:na]
at java.base/java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381) ~[na:na]
at java.base/java.util.concurrent.FutureTask.setException(FutureTask.java:250) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:269) ~[na:na]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:299) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:844) [na:na]
Caused by: javax.net.ssl.SSLException: java.net.SocketException: Connection timed out (Write failed)
at java.base/sun.security.ssl.Alerts.getSSLException(Alerts.java:214) ~[na:na]
at java.base/sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1969) ~[na:na]
at java.base/sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1921) ~[na:na]
at java.base/sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:794) ~[na:na]
at java.base/sun.security.ssl.AppOutputStream.write(AppOutputStream.java:67) ~[na:na]
at org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:124) ~[httpcore-4.4.12.jar:4.4.12]
at org.apache.http.impl.io.SessionOutputBufferImpl.write(SessionOutputBufferImpl.java:160) ~[httpcore-4.4.12.jar:4.4.12]
at org.apache.http.impl.io.ContentLengthOutputStream.write(ContentLengthOutputStream.java:113) ~[httpcore-4.4.12.jar:4.4.12]
at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:112) ~[httpcore-4.4.12.jar:4.4.12]
at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:156) ~[httpcore-4.4.12.jar:4.4.12]
at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:152) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:238) ~[httpcore-4.4.12.jar:4.4.12]
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123) ~[httpcore-4.4.12.jar:4.4.12]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[httpclient-4.5.10.jar:4.5.10]
at com.google.photos.library.v1.upload.PhotosLibraryUploadCallable.uploadNextChunk(PhotosLibraryUploadCallable.java:282) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at com.google.photos.library.v1.upload.PhotosLibraryUploadCallable.call(PhotosLibraryUploadCallable.java:135) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at com.google.photos.library.v1.upload.PhotosLibraryUploadCallable.call(PhotosLibraryUploadCallable.java:45) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
... 6 common frames omitted
Caused by: java.net.SocketException: Connection timed out (Write failed)
at java.base/java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:na]
at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111) ~[na:na]
at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:155) ~[na:na]
at java.base/sun.security.ssl.SSLSocketOutputRecord.deliver(SSLSocketOutputRecord.java:307) ~[na:na]
at java.base/sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:779) ~[na:na]
... 26 common frames omitted
2019-11-24 03:00:41.037 ERROR 3545 --- [Thread-5] package.utils.UploadVideo : com.google.api.gax.rpc.ApiException: java.lang.IllegalArgumentException: The upload was completed but failed to finalize or get the result.
com.google.api.gax.rpc.ApiException: java.lang.IllegalArgumentException: The upload was completed but failed to finalize or get the result.
at com.google.photos.library.v1.upload.PhotosLibraryUploadExceptionMappingFn.apply(PhotosLibraryUploadExceptionMappingFn.java:48) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at com.google.photos.library.v1.upload.PhotosLibraryUploadExceptionMappingFn.apply(PhotosLibraryUploadExceptionMappingFn.java:29) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at com.google.api.core.ApiFutures$GaxFunctionToGuavaFunction.apply(ApiFutures.java:204) ~[api-common-1.8.1.jar:na]
at com.google.common.util.concurrent.AbstractCatchingFuture$CatchingFuture.doFallback(AbstractCatchingFuture.java:206) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.AbstractCatchingFuture$CatchingFuture.doFallback(AbstractCatchingFuture.java:194) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.AbstractCatchingFuture.run(AbstractCatchingFuture.java:107) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:398) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:141) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:130) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.ListenableFutureTask.done(ListenableFutureTask.java:86) ~[guava-26.0-android.jar:na]
at java.base/java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381) ~[na:na]
at java.base/java.util.concurrent.FutureTask.setException(FutureTask.java:250) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:269) ~[na:na]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:299) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:844) [na:na]
Caused by: java.lang.IllegalArgumentException: The upload was completed but failed to finalize or get the result.
at com.google.photos.library.v1.upload.PhotosLibraryUploadCallable.buildUploadMediaItemResponse(PhotosLibraryUploadCallable.java:303) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at com.google.photos.library.v1.upload.PhotosLibraryUploadCallable.call(PhotosLibraryUploadCallable.java:183) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at com.google.photos.library.v1.upload.PhotosLibraryUploadCallable.call(PhotosLibraryUploadCallable.java:45) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
... 6 common frames omitted
2019-11-24 03:00:41.041 ERROR 3545 --- [Thread-5] package.utils.UploadVideo : https://photoslibrary.googleapis.com/v1/uploads?upload_id=AEnB2UqKTtRskNnp6d-P00yyAke_MwcpX_cpzQv3AOy4hEocBgyW_TVMaemog0IUeVfjKGgOx_GjtkfeDWxQNKdOSdz7Ar5oTw&upload_protocol=resumable
com.google.api.gax.rpc.ApiException: java.lang.IllegalArgumentException: The upload was completed but failed to finalize or get the result.
at com.google.photos.library.v1.upload.PhotosLibraryUploadExceptionMappingFn.apply(PhotosLibraryUploadExceptionMappingFn.java:48) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at com.google.photos.library.v1.upload.PhotosLibraryUploadExceptionMappingFn.apply(PhotosLibraryUploadExceptionMappingFn.java:29) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at com.google.api.core.ApiFutures$GaxFunctionToGuavaFunction.apply(ApiFutures.java:204) ~[api-common-1.8.1.jar:na]
at com.google.common.util.concurrent.AbstractCatchingFuture$CatchingFuture.doFallback(AbstractCatchingFuture.java:206) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.AbstractCatchingFuture$CatchingFuture.doFallback(AbstractCatchingFuture.java:194) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.AbstractCatchingFuture.run(AbstractCatchingFuture.java:107) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:398) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:141) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:130) ~[guava-26.0-android.jar:na]
at com.google.common.util.concurrent.ListenableFutureTask.done(ListenableFutureTask.java:86) ~[guava-26.0-android.jar:na]
at java.base/java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381) ~[na:na]
at java.base/java.util.concurrent.FutureTask.setException(FutureTask.java:250) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:269) ~[na:na]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:299) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:844) [na:na]
Caused by: java.lang.IllegalArgumentException: The upload was completed but failed to finalize or get the result.
at com.google.photos.library.v1.upload.PhotosLibraryUploadCallable.buildUploadMediaItemResponse(PhotosLibraryUploadCallable.java:303) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at com.google.photos.library.v1.upload.PhotosLibraryUploadCallable.call(PhotosLibraryUploadCallable.java:183) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at com.google.photos.library.v1.upload.PhotosLibraryUploadCallable.call(PhotosLibraryUploadCallable.java:45) ~[google-photos-library-client-1.4.0.jar:1.4.0]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
... 6 common frames omitted
A near few days, I face problem with upload almost file video .mp4 will be connection time out or can't get result when upload success. When I upload video I see my internet work normally, speed upload is stable about 2 -> 3 Mb/s.
Is it seem google start set timeout shorter or change something in recently ? And how do the way resolve my problem was facing?
This is my log in catch exception.