PrimalHQ / primal-ios-app

Primal's iOS app for Nostr.
https://primal.net/downloads
MIT License
40 stars 9 forks source link

Intermittently feed/note will stop loading, infinite spinner #107

Open ghost opened 1 year ago

ghost commented 1 year ago

Describe the bug

Intermittently, I will open the app to check my feed but new notes won't load. I try refreshing but get stuck in an infinite spinner.

https://github.com/PrimalHQ/primal-ios-app/assets/123519473/f91e5527-e804-4000-a81a-01babfadbb84

https://github.com/PrimalHQ/primal-ios-app/assets/123519473/3bd07832-7079-4365-92a2-e4b5d307ed8c

Steps to reproduce

No clear repro steps. Probably happens once or twice a day. There is no clear workaround. Killing the app and restarting does not help. Usually if I try again in about 30-60 mins it will start working again

Expected behavior

Feed and notes will load

Environment

My relay setup: IMG_3708

Additional context

My npub: npub1am50jqjytzdtepftqfzf8grh2gs4wpt7d4t90zxc6z288wqazj5skdks29

ghost commented 1 year ago

I initially thought that this might be a relay issue (not saying is still couldn't be), but I've run this same minimal setup on other clients (eg. Damus) without similar issues.

PavleKreator commented 1 year ago

@owen1917 thanks for the report, based on the report and screenshots I think this was due to our restructuring of the server. A lot of work has been going into updating the backend so that it is more stable in the future. Hopefully this type of issues will not happen once we leave the beta stage.

ghost commented 1 year ago

@owen1917 thanks for the report, based on the report and screenshots I think this was due to our restructuring of the server. A lot of work has been going into updating the backend so that it is more stable in the future. Hopefully this type of issues will not happen once we leave the beta stage.

Sounds good, I will keep an eye on it and report if it happen again