{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/News-Android-App/issues/528","repository_url":"https://api.github.com/repos/owncloud/News-Android-App","labels_url":"https://api.github.com/repos/owncloud/News-Android-App/issues/528/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/News-Android-App/issues/528/comments","events_url":"https://api.github.com/repos/owncloud/News-Android-App/issues/528/events","html_url":"https://github.com/owncloud/News-Android-App/issues/528","id":172684278,"number":528,"title":"Syncing of \"read\" status back to server doesn't work anymore","user":{"login":"arjan-s","id":10400299,"avatar_url":"https://avatars.githubusercontent.com/u/10400299?v=3","gravatar_id":"","url":"https://api.github.com/users/arjan-s","html_url":"https://github.com/arjan-s","followers_url":"https://api.github.com/users/arjan-s/followers","following_url":"https://api.github.com/users/arjan-s/following{/other_user}","gists_url":"https://api.github.com/users/arjan-s/gists{/gist_id}","starred_url":"https://api.github.com/users/arjan-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjan-s/subscriptions","organizations_url":"https://api.github.com/users/arjan-s/orgs","repos_url":"https://api.github.com/users/arjan-s/repos","events_url":"https://api.github.com/users/arjan-s/events{/privacy}","received_events_url":"https://api.github.com/users/arjan-s/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/News-Android-App/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-08-23T12:19:13Z","updated_at":"2016-09-27T10:57:35Z","closed_at":null,"body":"The problem has existed for multiple versions of both, but currently I'm using these versions:\r\nownCloud 9.1.0\r\nownCloud News Reader 0.9.8.7 from Play Store\r\n\r\nThe app synchronizes everything correctly from the server to the app, but when I mark an item as read on the app, it doesn't sync that status back to the server.\r\nI've tried multiple things, but nothing makes it work again:\r\n- clear local cache\r\n- reset the app's settings/storage\r\n- uninstall the app and install it again"},"comment":{"url":"https://api.github.com/repos/owncloud/News-Android-App/issues/comments/249832782","html_url":"https://github.com/owncloud/News-Android-App/issues/528#issuecomment-249832782","issue_url":"https://api.github.com/repos/owncloud/News-Android-App/issues/528","id":249832782,"user":{"login":"diegosolor","id":14811702,"avatar_url":"https://avatars.githubusercontent.com/u/14811702?v=3","gravatar_id":"","url":"https://api.github.com/users/diegosolor","html_url":"https://github.com/diegosolor","followers_url":"https://api.github.com/users/diegosolor/followers","following_url":"https://api.github.com/users/diegosolor/following{/other_user}","gists_url":"https://api.github.com/users/diegosolor/gists{/gist_id}","starred_url":"https://api.github.com/users/diegosolor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegosolor/subscriptions","organizations_url":"https://api.github.com/users/diegosolor/orgs","repos_url":"https://api.github.com/users/diegosolor/repos","events_url":"https://api.github.com/users/diegosolor/events{/privacy}","received_events_url":"https://api.github.com/users/diegosolor/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T10:57:35Z","updated_at":"2016-09-27T10:57:35Z","body":"I found the problem in my case. Trying to mark as read an item I had the following exception:\r\n\r\n```\r\n09-27 10:45:11.582 7209-7230/de.luhmer.owncloudnewsreader W/System.err: java.io.IOException: stream was reset: REFUSED_STREAM\r\n     at com.squareup.okhttp.internal.framed.FramedStream.checkOutNotClosed(FramedStream.java:578)\r\n     at com.squareup.okhttp.internal.framed.FramedStream.access$1200(FramedStream.java:35)\r\n     at com.squareup.okhttp.internal.framed.FramedStream$FramedDataSink.emitDataFrame(FramedStream.java:511)\r\n     at com.squareup.okhttp.internal.framed.FramedStream$FramedDataSink.close(FramedStream.java:548)\r\n     at okio.RealBufferedSink.close(RealBufferedSink.java:241)\r\n     at com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:888)\r\n     at com.squareup.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:749)\r\n     at com.squareup.okhttp.Call.getResponse(Call.java:268)\r\n     at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:224)\r\n     at de.luhmer.owncloudnewsreader.reader.HttpJsonRequest$AuthorizationInterceptor.intercept(HttpJsonRequest.java:145)\r\n     at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:221)\r\n     at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:195)\r\n     at com.squareup.okhttp.Call.execute(Call.java:79)\r\n     at de.luhmer.owncloudnewsreader.reader.HttpJsonRequest.performTagChangeRequest(HttpJsonRequest.java:231)\r\n     at de.luhmer.owncloudnewsreader.reader.owncloud.OwnCloudReaderMethods.PerformTagExecutionAPIv2(OwnCloudReaderMethods.java:372)\r\n     at de.luhmer.owncloudnewsreader.reader.owncloud.apiv2.APIv2.PerformTagExecution(APIv2.java:75)\r\n     at de.luhmer.owncloudnewsreader.reader.owncloud.AsyncTask_PerformItemStateChange.doInBackground(AsyncTask_PerformItemStateChange.java:48)\r\n     at de.luhmer.owncloudnewsreader.reader.owncloud.AsyncTask_PerformItemStateChange.doInBackground(AsyncTask_PerformItemStateChange.java:33)\r\n     at android.os.AsyncTask$2.call(AsyncTask.java:292)\r\n     at java.util.concurrent.FutureTask.run(FutureTask.java:237)\r\n     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n     at java.lang.Thread.run(Thread.java:818)\r\n\r\n```\r\n\r\nWhich seems a bug in nginx version 1.9 and 1.10 with http2 protocol. okhttp project also notice this [bug](https://github.com/square/okhttp/issues/2506).\r\nAfter disable http2 everything works\r\n\r\nHope it helps!\r\n"}}
{"actor":{"display_login":"diegosolor"}}