You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sign in - infinite spinner for some users with incorrect NVP structure #4058
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Alright so I did some investigating and thought it might have to do with the pinned reports NVP.
Here's what mine looks like atm
Ignoring the fact that there's a 0 in there for now 😄 ... we can see it's an array
tester's NVP
Maybe there was some migration at some point? I reset tester's NVP and was able to log in. So I think there's nothing to do on the code side, but unsure how many accounts have this old NVP and will be blocked from logging in.
Honestly, I'm super confused how we were even able to end up with this NVP. It looks like the code that sets this was seeting a csv string before and then set an array but never object 🤷♂️
changed the title [-]iOS - Sign in - infinite spinner if login with old accounts[/-][+]Sign in - infinite spinner for some users with incorrect NVP structure[/+]on Jul 16, 2021
After investigating it looks like there are only 3 affected accounts, and it seems that they're still able to load e.cash without any issues, so closing this one out. I'll clean up the 3 affected accounts in the internal issue.
Activity
MelvinBot commentedon Jul 15, 2021
Triggered auto assignment to @johnmlee101 (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.OSBotify commentedon Jul 15, 2021
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:johnmlee101 commentedon Jul 15, 2021
@kavimuru Can you re-test this? It seems like we had an issue with our backend which may have caused this
mvtglobally commentedon Jul 15, 2021
@johnmlee101 we are still able to repro. Video
Can you try to login with:
Mvtutest@gmail.com
Password1
Jag96 commentedon Jul 15, 2021
Looks like the same issue happens on web, looking at the logs it seems to be an Auth issue: logs
The error is similar to https://github.com/Expensify/Expensify/issues/170673, so I'm guessing this is related to https://github.com/Expensify/Auth/pull/5747. cc @marcaaron
marcaaron commentedon Jul 15, 2021
Hmm interesting. I've actually been seeing similar behavior for months locally. But the logs do make it seem like there is something we missed.
marcaaron commentedon Jul 15, 2021
Is this only reproducible on iOS ?
Jag96 commentedon Jul 15, 2021
I reproduced on web by using the credentials in #4058 (comment)
marcaaron commentedon Jul 15, 2021
Alright so I did some investigating and thought it might have to do with the pinned reports NVP.
Here's what mine looks like atm
Ignoring the fact that there's a
0in there for now 😄 ... we can see it's an arraytester's NVP
Maybe there was some migration at some point? I reset tester's NVP and was able to log in. So I think there's nothing to do on the code side, but unsure how many accounts have this old NVP and will be blocked from logging in.
Jag96 commentedon Jul 16, 2021
Hmm interesting, I think if we can run a query to check it'd be worth it. Then if there are affected accounts we can add a migration.
marcaaron commentedon Jul 16, 2021
Honestly, I'm super confused how we were even able to end up with this NVP. It looks like the code that sets this was seeting a csv string before and then set an array but never object 🤷♂️
[-]iOS - Sign in - infinite spinner if login with old accounts[/-][+]Sign in - infinite spinner for some users with incorrect NVP structure[/+]Jag96 commentedon Jul 16, 2021
After investigating it looks like there are only 3 affected accounts, and it seems that they're still able to load e.cash without any issues, so closing this one out. I'll clean up the 3 affected accounts in the internal issue.