-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Web/mWeb- Sign in - Endless loading spinner appears when re login #3488
Comments
Triggered auto assignment to @Christinadobrzyn ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @Luke9389 ( |
Trying to replicate this on my mobile app - Staging e.cash v1.0.55-1 I'm not getting the same loading page when I sign in to a different account, I assume that is because I'm not logging into the second account as quickly as in the video @kavimuru so kindly created. I don't see any other GH's about this issue so I think it's up to engineering if this is something to fix now or wait. |
I'm also not sure if the deploy blocker label is needed on this GH - @Luke9389 - can you confirm? I'm changing this issue to daily. |
👋 @Christinadobrzyn, did you try to reproduce on Web and mWeb and on version All deploy blockers are set to FWIW, I can see the issue on Web on the latest |
Ah thanks for jumping in @trjExpensify I don't have a version higher than v1.0.55-1. Asking permission for v1.0.66-0 in Slack. I tried on the mobile app, not on the web. Does this fix need an external contractor or are we fixing this internally? |
Yeah, you'll need the alpha for the latest staging version on the mobile app. For testing Web/mWeb issues like this one, if you go to staging.expensify.cash, those will always be the latest for yah.
hourly deploy blockers are typically kept internal 👍 |
@Luke9389 is largely OoO today, so we're repulling the deploy blocker assignment trigger given that it's an hourly deploy blocker that's blocking N5. |
Triggered auto assignment to @pecanoro ( |
Bingo! :) |
Sorry guys, but I definitely can't take care either, cash bonus payroll project is extremely urgent and have a super tight deadline 😢 |
Can we use the demolition label here? It has really clear reproduction steps |
@trjExpensify the |
Triggered auto assignment to @alex-mechler ( |
Yep, cool. As long as someone takes it, as it is preventing us from being able to ship N5. 👍 |
I can take care of this today! |
Okay, found the root cause. When we go to sign out, we clean up the logins we create, and delete it here. However, since we have sped up onyx, we now delete our auth token before we fire this request, causing it to fail, and lock the network since we don't have a auth token. We only unlock the network when we get a valid authtoken again. Moving the delete login request before we clear the authtoken solves this problem, but I am running into a few other problems that still have to be solved with it |
Oops, @kidroca made Onyx too fast 🙃 |
I think we have the same problem we concluded here: #3485 (comment) And maybe it would be best to make a PR to move the call to cc @marcaaron |
Alright, so I have a fix PR. It has uncovered some other bugs, which I think are related to the cache that was recently added.
Both of these issues are solved when using the commit before caching was introduced to Onyx,
I tested this locally, and while it did work, it introduced another issue where the Magic Sign link page would briefly appear on the screen before switching over to the Password Form. |
@kidroca maybe this is the best path forward, would you be able to raise a PR with this change so we can discuss it further? Do you think that would resolve the issues raised by Alex above? |
Hey @alex-mechler. It looks like this might be the best path forward to unblocking the N5 release. Would you mind pushing this change so we can investigate a fix to the hopefully final issue of the Magic sign in appearing? Thanks 🙇♂️ |
Sure, I can take care of that |
So with that fix in Onyx, issue 2 (After signing into the account after the signout, You are brought to /r/, with no report ID) still exists after signing out and then back into a new account. I've pushed what I have to |
PR looks good to me. As discussed, I think the remaining redirect to |
PR is up, follow up issue for the |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Expected Result:
Able to log in to the account without any issue
Actual Result:
Infinite loading spinner appears on tapping "continue" after entering the email
Action Performed:
Workaround:
Unknown
Platform:
Web ✔️
iOS
Android
Desktop App
Mobile Web ✔️
Version Number:
1.0.66-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Bug5105359_Screen_Recording_20210609-144211_Chrome.mp4
Expensify/Expensify Issue URL:
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: