0
最後の2日または3日アプリケーションがクラウドと初めて同期するとき、添付ファイルのダウンロードで問題が発生しています。CloudantのPreparedAttachmentでの問題
エラーログは次のとおりです。 -
W/PreparedAttachment: Problem reading from input or writing to output stream java.net.ProtocolException: unexpected end of stream
at com.android.okhttp.internal.http.HttpConnection$FixedLengthSource.read(HttpConnection.java:449)
at com.android.okio.RealBufferedSource$1.read(RealBufferedSource.java:168)
at java.io.InputStream.read(InputStream.java:162)
at com.cloudant.sync.datastore.PreparedAttachment.<init>(PreparedAttachment.java:83)
at com.cloudant.sync.datastore.AttachmentManager.prepareAttachment(AttachmentManager.java:213)
at com.cloudant.sync.datastore.DatastoreImpl.prepareAttachment(DatastoreImpl.java:1037)
at com.cloudant.sync.replication.DatastoreWrapper.prepareAttachment(DatastoreWrapper.java:136)
at com.cloudant.sync.replication.PullStrategy.processOneChangesBatch(PullStrategy.java:386)
at com.cloudant.sync.replication.PullStrategy.replicate(PullStrategy.java:252)
at com.cloudant.sync.replication.PullStrategy.run(PullStrategy.java:177)
at java.lang.Thread.run(Thread.java:818)
E/PullStrategy: There was a problem downloading an attachment to the datastore, terminating replication
com.cloudant.sync.datastore.AttachmentNotSavedException: java.net.ProtocolException: unexpected end of stream
at com.cloudant.sync.datastore.PreparedAttachment.<init>(PreparedAttachment.java:90)
at com.cloudant.sync.datastore.AttachmentManager.prepareAttachment(AttachmentManager.java:213)
at com.cloudant.sync.datastore.DatastoreImpl.prepareAttachment(DatastoreImpl.java:1037)
at com.cloudant.sync.replication.DatastoreWrapper.prepareAttachment(DatastoreWrapper.java:136)
at com.cloudant.sync.replication.PullStrategy.processOneChangesBatch(PullStrategy.java:386)
at com.cloudant.sync.replication.PullStrategy.replicate(PullStrategy.java:252)
at com.cloudant.sync.replication.PullStrategy.run(PullStrategy.java:177)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.net.ProtocolException: unexpected end of stream
at com.android.okhttp.internal.http.HttpConnection$FixedLengthSource.read(HttpConnection.java:449)
at com.android.okio.RealBufferedSource$1.read(RealBufferedSource.java:168)
at java.io.InputStream.read(InputStream.java:162)
at com.cloudant.sync.datastore.PreparedAttachment.<init>(PreparedAttachment.java:83)
at com.cloudant.sync.datastore.AttachmentManager.prepareAttachment(AttachmentManager.java:213)
at com.cloudant.sync.datastore.DatastoreImpl.prepareAttachment(DatastoreImpl.java:1037)
at com.cloudant.sync.replication.DatastoreWrapper.prepareAttachment(DatastoreWrapper.java:136)
at com.cloudant.sync.replication.PullStrategy.processOneChangesBatch(PullStrategy.java:386)
at com.cloudant.sync.replication.PullStrategy.replicate(PullStrategy.java:252)
at com.cloudant.sync.replication.PullStrategy.run(PullStrategy.java:177)
at java.lang.Thread.run(Thread.java:818)
私にあなたの助けを与えてください。ありがとうございました。
は、私のWiFiインターネットの問題を意味しますか?クラウドサーバの問題です。今日私のインターネットは、それがうまくいっている? –
この問題を解決するのを手伝ってもらえますか? –
この問題の解決策を教えてください。問題のために次のステップを踏むことができますか? –