-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[HOLD for payment 2023-05-29]OldDot deeplink to Concierge does not keep user signed in using Firefox #17630
Comments
Triggered auto assignment to @twisterdotcom ( |
Bug0 Triage Checklist (Main S/O)
|
Asking callstack to investigate |
This is weird. LMK if I can help. I won't add any External labels for now. |
They will get someone tomorrow https://expensify.slack.com/archives/C03UK30EA1Z/p1681849120955559 Seems like in Firefox for some reason the app thinks its offline when loaded for a first time which then leads to the deeplink not working. Its weird because this works locally in firefox and also it works in other browsers just fine |
Hi! I'm Thiago from Callstack - expert contributor group - and I would like to take a look at this issue |
Thanks Thiago, he will look into this on Monday |
Feel free to drop your investigation here or also in Slack for faster communication @thiagobrez this one might be tricky to resolve |
Re-posting here the investigation results I posted on Slack, to keep this updated: On Firefox in production (only production) the app quickly becomes offline at first, before going online, which might be breaking the deeplink, or at least making debugging harder. Screen.Recording.2023-04-25.at.10.48.38.movThis can be stated by looking at the NetInfo state changes. NetInfo is configured to test reachability against Expensify's API. We can see that in the network tab, it tries to send a HEAD request twice but fails, which causes This only happens on Firefox in production, not on Chrome or Firefox in development. The difference between Firefox production and development is that in development the HEAD request points to the proxy This situation is happening even if you do not come from the OldDot concierge. If you just load new.expensify.com, you will see in the Network tab the first 3 requests all get aborted (even the first one which is not related), and then it starts working. Seems like Firefox is aborting everything in the first few seconds? My best guess would be that the automatic redirect between the long URL with the authToken and the final URL We can try delaying the redirect for a few seconds and check if those requests will succeed. We can also try playing with the default NetInfo timeouts, or with Content-Security Policies in the client. But for that I would need a way to run the app in production mode, so I can reproduce it locally. Is there any way I can do that? I tried |
Thank you very much for such thorough investigation, I am not sure whats the best way you could test this locallly, but if you create a PR with the changes I can make an internal release to build it https://expensify.slack.com/archives/C01GTK53T8Q/p1682444061299849 started a thread to discuss this in case anyone knows better way to debug this |
Made the build, thanks! |
I would forbid people from using Firefox.. What are the next steps here, any ideas how this might be happening? Thank you! |
@mountiny Definitely, it's not logging in because In |
Makes sense, thank you! |
Does this mean you can't use new.expensify.com if you use Firefox? Mozilla are literally a customer of ours. |
Hey @twisterdotcom, this issue only happens when being redirected from OldDot to NewDot via the Concierge chat bubble. You can still log in manually using Firefox and it should work as usual |
Hi! I'm Jakub from Callstack - expert contributor group - and I would like to take over this issue as Thiago is currently working on a different issue |
Correct this seems to be issue with the way how our deeplink from old dot to new dot works and the fact they only use Google SSO to log in and they cant do that now on New Dot. |
Okay okay, this is very edgy then. I go back on my caution here. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.15-12 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-05-25. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.16-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-05-29. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@mountiny, TBH, I don't know what to base on to determine whether we should create a regression test for this bug. 😂 |
I dont think we need a platform specific test for this to be done each regression suite |
Okay @ntdiary - could you DM me (ted@expensify.com) on new.expensify.com or post here your Upwork profile details for payment please? |
@twisterdotcom, this is my profile link: 🙂 |
@ntdiary has this been paid out, can we close the issue? |
ok there was a bank holiday here in UK so lots of people were off cc @twisterdotcom |
Paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
related to https://github.com/Expensify/Expensify/issues/276016
Action Performed:
Break down in numbered steps
Expected Result:
Describe what you think should've happened
Actual Result:
Describe what actually happened
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Given that the affected user only uses Google SSO and they cannot use google chrome for their internal reasosn they do not have a workaround
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number:
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: