CookieInterceptor:无法从服务器获取 cookie,响应代码 {0},不会再次尝试 cookie 身份验证

CookieInterceptor: Failed to get cookie from server, response code {0}, cookie authentication will not be attempted again

在 cloudant 中遇到未经授权的错误。

E/CookieInterceptor: Failed to get cookie from server, response code {0}, cookie authentication will not be attempted again 11-24 19:24:12.149 27485-27787/com.sshs.simplifiedshs E/PullStrategy: Batch 0 ended with error: CouchException: error: unauthorized, reason: _reader access is required for this request, statusCode: 401, msg: Unauthorized, cause: java.io.FileNotFoundException: https://*****_bulk_get at com.cloudant.mazha.CouchClient$ExecuteResult.(CouchClient.java:139) at com.cloudant.mazha.CouchClient$ExecuteResult.(CouchClient.java:89) at com.cloudant.mazha.CouchClient.execute(CouchClient.java:193) at com.cloudant.mazha.CouchClient.isBulkSupported(CouchClient.java:749) at com.cloudant.sync.replication.CouchClientWrapper.isBulkSupported(CouchClientWrapper.java:280) at com.cloudant.sync.replication.PullStrategy.run(PullStrategy.java:176) at java.lang.Thread.run(Thread.java:818) Caused by: java.io.FileNotFoundException: https://*****_bulk_get at com.android.okhttp.internal.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:206) at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210) at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25) at com.cloudant.http.HttpConnection.responseAsInputStream(HttpConnection.java:420) at com.cloudant.mazha.CouchClient.execute(CouchClient.java:176) at com.cloudant.mazha.CouchClient.isBulkSupported(CouchClient.java:749)  at com.cloudant.sync.replication.CouchClientWrapper.isBulkSupported(CouchClientWrapper.java:280)  at com.cloudant.sync.replication.PullStrategy.run(PullStrategy.java:176)  at java.lang.Thread.run(Thread.java:818) 

事件我更改了密钥和密码但没有解决问题。我的应用程序在几个小时前运行良好,但现在无法访问并面临错误。

请帮助我,提前谢谢你。

Sync-android (cloudant-sync-datastore) 1.1.3 有一个与 cookie 身份验证相关的错误,版本 1.1.4 修复了此问题,请参阅 change log 了解更多信息。