Skip to content
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

Iphone forgets previously saved connected node #1463

Closed
bakerb15 opened this issue May 15, 2023 · 7 comments
Closed

Iphone forgets previously saved connected node #1463

bakerb15 opened this issue May 15, 2023 · 7 comments
Labels
Bug Something isn't working

Comments

@bakerb15
Copy link

Describe the bug

after adding a tor connected node. App works as expected but at some point forgets the saved node causing me to have to re-add the node.

Reproduce

Reproduce the bug step by step.

Zeus version

v0.7.5

Node interface

LND (REST)

Network

Tor

Device

iPhone 13

Device operating system

IOS version 16.4.1 (a)

Log output

No response

@bakerb15 bakerb15 added the Bug Something isn't working label May 15, 2023
@kaloudis
Copy link
Contributor

This could happen if you skip v0.7.4 before upgrading to v0.7.5

Or has this happened entirely while using v0.7.5?

@bakerb15
Copy link
Author

I believe entirely on v0.7.5.

Yesterday was first day that I added node. It happened immediately after adding the node. I then re-added and it was good for about 24 hours.

I'm going to attempt to reproduce a 3rd time. I do have a fair amount of technical skills, just not familiar with apple products; this is my first iphone EVER!
I'll try to figure out how to produce some logs if possible.

@bakerb15
Copy link
Author

bakerb15 commented May 18, 2023

Kept the configuration for 3 days and just dropped it. This time i know it wasn't due to any upgrade. I found the .ips file associated with Zeus. I can post but am trying to ensure there isn't anything in there that i don't want public.

@kaloudis
Copy link
Contributor

Switched over to iPhone for my daily driver to diagnose this.

Had this happen to me day 1 with a node connected over LNC

@kaloudis
Copy link
Contributor

My theory is that the keychain is often accessed by other apps and that causes this value to not be fetched properly, which then leads to the rest of the Zeus keychain data to be cleared

if ([[NSUserDefaults standardUserDefaults] boolForKey:@"HAS_RUN_BEFORE"] == NO) {

@kaloudis
Copy link
Contributor

perhaps not though.

related issue: emeraldsanto/react-native-encrypted-storage#116

@kaloudis
Copy link
Contributor

Should be partially alleviated with #1561 - but there are still some cases in which it gets triggered without hitting the Restart button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants