news-android icon indicating copy to clipboard operation
news-android copied to clipboard

error Java Okhttp3 on sync

Open osfrance opened this issue 2 years ago • 9 comments

Hi, when I try to sync nextcloud news, I had this error: IMG_20220206_103935

But if I clear the cache, it's work one time and I have this error again...

Thanks for help,


App Version: 0.9.9.69 App Version Code: 172


SSO enabled: true


OS Version: 3.10.61-g9b8dbae5efd(eng.Joshua.20210225.111659) OS API Level: 29 Device: zeroltexx Model (and Product): SM-G925F (zeroltexx)


sp_max_cache_size=250 sp_swipe_left_action=2 sw_use_single_sign_on=true cb_ShowOnlyUnread=false cb_openInBrowserDirectly=false lv_cacheImagesOffline=0 cb_ShowFastActions=true pref_sync_settings=15 cb_AutoSyncOnStart=true sp_news_detail_actionbar_icons=[] sp_swipe_right_action=1 cb_NavigateWithVolumeButtons=false sp_font_size=1.0 NewsWebVersionNumber=16.0.0 sp_search_in=0 sp_sort_order=1 cb_MarkAsReadWhileScrolling=false sp_feed_list_layout=6 cb_oled_mode=true sp_display_browser=1 sp_app_theme=2

osfrance avatar Feb 06 '22 09:02 osfrance

@osfrance Thank you for the report. Are you familiar with ADB? Would it be possible to get the full log? How many unread articles to you have? Is it something that happened after the latest update? Or is this an issue that occasionally happened before as well?

David-Development avatar Feb 08 '22 17:02 David-Development

@osfrance Just published a new version 0.9.9.70 - hopefully that helps fix this issue.

David-Development avatar Feb 19 '22 08:02 David-Development

Hi David, Sorry for my delayed response, I have 1755 unreads, and I have this problem for a long time (perhaps 6 month...) I have this issue after the first sync to Nextcould, I need to flush the cache app before trying to sync again... Yes I Know ADB, but where is the full log ? Thanks for the update, but I don't see it on F-Droid or Google play ... Thanks for help !

osfrance avatar Feb 21 '22 07:02 osfrance

Sorry for the delay. The update should be out by now! 🙂

Yes I Know ADB, but where is the full log ?

just run adb logcat - it will show the live-log from your devices. Just start the adb command, trigger the sync in the app and copy and paste the parts from the news app in here or probably even better send it privately via email [email protected]. Please make sure to double check if there is any sensitive information in the logs before you send them.

David-Development avatar Mar 07 '22 18:03 David-Development

@osfrance Does the issue still persist? If so, please reopen!

David-Development avatar Mar 27 '22 13:03 David-Development

Hi ! Sorry for the long time to respond ... yes the bug Persist with the v.0.9.9.72 I'll re-open this issue

osfrance avatar Apr 01 '22 13:04 osfrance

Hello, I also have these message when refreshing my news sometimes. When refreshing directly again I get the HTTP 500 Error. My Nextcloud is crashed and I can't open the site for a short time on the browser. Sometimes I have to restart the server because Nextcloud doesn't start itself again.

f85e4bfb-f387-4b58-b346-724350df0b86

7eadb4c2-27e9-4409-a139-e41c5fc54008

Ilav1 avatar May 20 '22 18:05 Ilav1

@David-Development

I also get these Java Error:

997fc877-6ba0-410c-a871-4d7e5b3fef86

The black part is my nextcloud domain.

I don't know if this Error has something to do with the other Java Error before. I can't reproduce the error. It occurred sometimes when I start the App (News are syncing on startup) and when I sync by myself.

Maybe you can reactivate the bug-thread?

Ilav1 avatar May 20 '22 18:05 Ilav1

@Ilav1 I'm not sure if this is something I can fix. It sounds like your server is crashing..? I'd try to investigate why the error is crashing. Once you get rid of the server crashes you shouldn't see those errors in the android app again. Maybe you have some crash logs in the nextcloud logs? Or in your docker logs in case you're running it in a docker container

David-Development avatar Jul 29 '22 15:07 David-Development

In case you guys keep on having these issues - please send me credentials for a test account (via email). Otherwise I'll close this for now. Thank you!

David-Development avatar Jan 31 '24 09:01 David-Development