-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with disconnecting relays [100,000 sats] #2072
Comments
npub127ekpmm3w2ttqfe9r4j3hhflx0uw89lw7457pyd9dc7zp03ld4dswn7dvk |
@jb55 @danieldaquino if relays are borked this is poor UX for all. Suggest bumping to highest priority 🙏 |
I am in the same boat.
Is Damus caching my profile and fetching old relay selection? It seems to be the case. Despite having new updated relays, i'm still seeing the old ones, and this prevents me from doing anything on Damus other than reading notes. |
Adding 100,000 sat bounty to fix this. |
This seems to have happened with the update to 1.7x So.. whatever code difference was introduced there is probably the culprit. |
Update: I am able to add new relays, but I cannot delete the old ones. I also cannot click on them. It's as if they are in the "disabled" state and I can't interact with them. Trying to add the same relay gives me duplicate relay error. |
Shawn, here. This does seem to correspond with the 1.7 release. I’m experiencing the same problems as @karnagebitcoin notes:
I am able to post. |
Report from a few weeks ago overlapping @shawnyeager and other ppl |
I was finally able to fix my relays but it was the weirdest experience that doesn't follow any logic. Here's what I did / happened:
That's it. Seems like the app crashing fixed the stuck relays. No idea how to replicate for you guys. |
I was able to replicate this issue (or at least part of the issue) locally based on the symptoms reported. Issue reproDevice: iPhone 15 simulator
Results: Other data: Saw interesting app logs during this test, such as this one:
I will start investigating the root cause. |
I have a draft of the fix that seems to resolve this problem! However, I modified code in several places (to prevent issues with trailing slashes in the future) so I should do more thorough testing before sending it over. |
On Wed, Mar 20, 2024 at 12:27:07PM -0700, Daniel D’Aquino wrote:
I have a draft of the fix that seems to resolve this problem!
However, I modified code in several places _(to prevent issues with trailing slashes in the future)_ so I should do more thorough testing before sending it over.
Thanks daniel! This was affecting lots of people it seems.
|
Performed more thorough testing and sent the patch to patches@damus.io. Code, discussion, and testing reports can all be found there (https://groups.google.com/a/damus.io/g/patches/c/GW34cPfIq2Y) Please let me know if there are any concerns or questions! Thank you! |
Thank you @danieldaquino @jb55 can we hot fix update the AppStore with this change alone? |
I wrote and tested my changes on top of 1.8, but I can backport the changes to 1.7 if needed |
Unclear if related to slash relays issues
Users shawn and karnage cannot remove relays. I am not sure how to troubleshoot @danieldaquino
https://damus.io/nevent1qqsvx5pc0023njqqq78y9rf9xcsahsjg7lxvawl7ggmcyyp8wvjrmzqprpmhxue69uhhyetvv9ujumn0wd68yct5dyhxxmmdqyvhwumn8ghj7ur4wfshv6tyvyhxummnw3ezumrpdejqzxnhwden5te0wfjkccte9ehhyctwvajhq6tvdshxgetkqy2hwumn8ghj7mn0wd68ytndd9kx7afwd3hkc4ndht4
https://damus.io/nevent1qqsrhpw78jsq2rs00sqct6lrdxjd0g0ga3vthcuftsrylzjqwakz8pqpr9mhxue69uhhwetvvdhk6efwdehhxarj9emkjmn99uq32amnwvaz7tm9v3jkutnwdaehgu3wd3skueqpr3mhxue69uhkummnw3ezuumgv9mku7t9v9nk2u3wdejhgtcpzpmhxue69uhkummnw3ezuamfdejs9rgfx6
The text was updated successfully, but these errors were encountered: