App
App copied to clipboard
[$500] `openApp` and `reconnectApp` consistently failing every time sign into the app with error
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: Reproducible in staging?: n/a Reproducible in production?: n/a If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): [email protected] Logs: https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: @puneetlath Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1712076134934759
Action Performed:
- Sign in to app
Expected Result:
Should be no error
Actual Result:
openApp and reconnectApp shows error
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
- [ ] Android: Native
- [ ] Android: mWeb Chrome
- [ ] iOS: Native
- [ ] iOS: mWeb Safari
- [x] MacOS: Chrome / Safari
- [ ] MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidence
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~01db64f0c98a4baf4f
- Upwork Job ID: 1775338512686096384
- Last Price Increase: 2024-04-03
Triggered auto assignment to @jliexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989
Had a quick look at this with Jason 1:1. I can't manage to reproduce this on my account. Those API calls (openApp and reconnectApp) do not error on my account. And I'm not comfortable supportaling into another staff members account to check if they error there.
I think this needs someone from engineering to triage and diagnose further.
Job added to Upwork: https://www.upwork.com/jobs/~01db64f0c98a4baf4f
Triggered auto assignment to Contributor Plus for review of internal employee PR - @dukenv0307 (Internal)
@dukenv0307 (since you're assigned) just curious: are you able to repro this?
@jliexpensify There's no error on my side. Here's the evidence
https://github.com/Expensify/App/assets/129500732/a2592083-453e-47d7-971b-a96bf3e30fcc
Current assignee @dukenv0307 is eligible for the External assigner, not assigning anyone new.
@dukenv0307 we're going to move forward with attempting to diagnose and fix this issue. Hoping a Contributor can repro and has a solution!
Almost sure that this is internal, since the error is in the API command
Current assignee @dukenv0307 is eligible for the Internal assigner, not assigning anyone new.
Thanks @iwiznia!
@puneetlath can you check if you get the same error in ReconnectApp but not on the call right after loading the app like the one above, instead, disconnect from wifi and recconect to it and check the response there? If it works (I assume it will) then the only problem is in OpenApp (which is called by ReconnectApp when we have no updateID, see https://expensify.slack.com/archives/C06SCNUBB28/p1712181414857909)
It seems you are right @iwiznia
So if I'm understanding correctly, it seems like this issue will be resolved with Ioni's PR right?
Just the reconnect part
Yeah, so we still need to fix the OpenApp issue that I'm experiencing.
Just wondering: this openApp error is a general sign in issue, but doesn't fit into any Waves - but it could fit under the setup/support part of #collect. Would it be appropriate to add there?
I feel like #wave-collect makes sense.
@jliexpensify, @dukenv0307 Whoops! This issue is 2 days overdue. Let's get this updated quick!
Is something taking this on internally? Is it part of the fire clean-up or something?
@trjExpensify - @hayata-suenaga has confirmed that this isn't fire-related. Would you consider this a Hot Pick? Otherwise, if it's appropriate (since it kind of fits, but also doesn't), I can also post in the #wave-collect channel to see if someone can take it.
I think you can post it in wave-collect 😄
@jliexpensify @dukenv0307 this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
I'll take on looking into this. Since I'm the main person affected.
@puneetlath, @jliexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!
I am facing this, logs here. Could it be related to mostRecentReportActionLastModified being malformed?
@marcaaron Any ideas why we are generating the oldest like this? It's not a valid format for the back-end.
Malformed REQUEST: 'mostRecentReportActionLastModified' = '1970-01-01T00:00:00.000Z', ignoring (should match '\d{4}-\d{2}-\d{2}( \d{2}:\d{2}:\d{2}(\.\d{3})?)?').