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

[$250] [HOLD for payment 2024-12-03] Got logged out of the app in web staging #51707

Closed
1 of 8 tasks
m-natarajan opened this issue Oct 30, 2024 · 48 comments
Closed
1 of 8 tasks
Assignees
Labels
AutoAssignerNewDotQuality Used to assign quality issues to engineers Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@m-natarajan
Copy link

m-natarajan commented Oct 30, 2024

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?: Needs Reproduction
Reproducible in production?: Needs Reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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
Expensify/Expensify Issue URL:
Issue reported by: @iwiznia
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1730209919216239

Action Performed:

  1. Go to staging.new.expensify.com and signin
  2. Do some browsing

Expected Result:

User able to use the app without any issue

Actual Result:

User got log out of the app

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021864120074677263168
  • Upwork Job ID: 1864120074677263168
  • Last Price Increase: 2024-12-04
@m-natarajan m-natarajan added Daily KSv2 Needs Reproduction Reproducible steps needed Bug Something is broken. Auto assigns a BugZero manager. AutoAssignerNewDotQuality Used to assign quality issues to engineers labels Oct 30, 2024
Copy link

melvin-bot bot commented Oct 30, 2024

Triggered auto assignment to @mallenexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Oct 30, 2024

Triggered auto assignment to @MarioExpensify (AutoAssignerNewDotQuality)

@MelvinBot
Copy link

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

@iwiznia
Copy link
Contributor

iwiznia commented Oct 30, 2024

Got it again today.

@iwiznia
Copy link
Contributor

iwiznia commented Oct 31, 2024

Alright, got it again. Seems I get it every day at the start of my day. Here's some data:

  • Page was stuck
  • I reloaded
  • Ended up on login screen

This is the logs and network requests after reloading:
image

Suspicious thing is accountID=unknwon.
Here are the logs:

10:44:19.051 index.ts:148 [OnyxUpdateManager] Listening for updates from the server
10:44:19.114 Log.ts:76 [info] [Onyx] set called for key: logs properties:  hasChanged: true - "" 
10:44:19.124 hook.js:591 Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module to this app, or remove `useNativeDriver`. Make sure to run `bundle exec pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md
overrideMethod @ hook.js:591
T @ NativeAnimatedHelper.js:412
Z @ AnimatedEvent.js:92
event @ AnimatedImplementation.js:395
(anonymous) @ animated.js:66
useMemo @ react-dom.production.min.js:177
t.useMemo @ react.production.min.js:26
T @ animated.js:66
fo @ react-dom.production.min.js:160
vA @ react-dom.production.min.js:289
Il @ react-dom.production.min.js:279
pl @ react-dom.production.min.js:279
fl @ react-dom.production.min.js:279
al @ react-dom.production.min.js:267
b @ scheduler.production.min.js:13
k @ scheduler.production.min.js:14
e.exports @ _invoke.js:5
p.<computed> @ _task.js:35
I @ _task.js:21
y @ _task.js:25
Show 20 more frames
Show lessUnderstand this warning
10:44:19.128 Log.ts:76 [info] [Onyx] set called for key: activeClients properties: 0,1,2,3 hasChanged: true - "" 
10:44:19.129 Log.ts:76 [info] [NetworkConnection] NetInfo state change - {"isInternetReachable":null,"isConnected":true,"type":"other","details":{"isConnectionExpensive":false}} 
10:44:19.129 Log.ts:76 [info] [Network] Client is back online because: NetInfo received a state change event - "" 
10:44:19.129 Log.ts:76 [info] [NetworkStatus] NetInfo.addEventListener event coming, setting "offlineStatus" to false with network state: {"isInternetReachable":null,"isConnected":true,"type":"other","details":{"isConnectionExpensive":false}} - "" 
10:44:19.129 Log.ts:76 [info] [NetworkConnection] NetInfo state change - {"isInternetReachable":null,"isConnected":true,"type":"other","details":{"isConnectionExpensive":false}} 
10:44:19.129 Log.ts:76 [info] [Network] Client is back online because: NetInfo received a state change event - "" 
10:44:19.129 Log.ts:76 [info] [NetworkStatus] NetInfo.addEventListener event coming, setting "offlineStatus" to false with network state: {"isInternetReachable":null,"isConnected":true,"type":"other","details":{"isConnectionExpensive":false}} - "" 
10:44:19.129 Log.ts:76 [info] [Onyx] merge called for key: network properties: isOffline,networkStatus hasChanged: true - "" 
10:44:19.129 Log.ts:76 [info] [NetworkConnection] NetInfo state change - {"isInternetReachable":null,"isConnected":true,"type":"other","details":{"isConnectionExpensive":false}} 
10:44:19.129 Log.ts:76 [info] [Network] Client is back online because: NetInfo received a state change event - "" 
10:44:19.129 Log.ts:76 [info] [NetworkStatus] NetInfo.addEventListener event coming, setting "offlineStatus" to false with network state: {"isInternetReachable":null,"isConnected":true,"type":"other","details":{"isConnectionExpensive":false}} - "" 
10:44:19.130 Log.ts:76 [info] [Onyx] merge called for key: network properties: isOffline,networkStatus hasChanged: false - "" 
10:44:19.134 Log.ts:76 [info] App launched - {"Platform":{"OS":"web","isTesting":false},"CONFIG":{"default":{"APP_NAME":"NewExpensify","AUTH_TOKEN_EXPIRATION_TIME":5400000,"ENVIRONMENT":"staging","EXPENSIFY":{"EXPENSIFY_URL":"https://www.expensify.com/","SECURE_EXPENSIFY_URL":"https://secure.expensify.com/","NEW_EXPENSIFY_URL":"https://staging.new.expensify.com/","DEFAULT_API_ROOT":"https://www.expensify.com/","DEFAULT_SECURE_API_ROOT":"https://secure.expensify.com/","STAGING_API_ROOT":"https://staging.expensify.com/","STAGING_SECURE_API_ROOT":"https://staging-secure.expensify.com/","PARTNER_NAME":"chat-expensify-com","PARTNER_PASSWORD":"e21965746fd75f82bb66","EXPENSIFY_CASH_REFERER":"ecash","CONCIERGE_URL_PATHNAME":"concierge/","DEVPORTAL_URL_PATHNAME":"_devportal/","CONCIERGE_URL":"https://www.expensify.com/concierge/","SAML_URL":"https://www.expensify.com/authentication/saml/login"},"IS_IN_PRODUCTION":true,"IS_IN_STAGING":true,"IS_USING_LOCAL_WEB":false,"PUSHER":{"APP_KEY":"268df511a204fbb60884","SUFFIX":"","CLUSTER":"mt1"},"SITE_TITLE":"New Expensify","FAVICON":{"DEFAULT":"/favicon.png","UNREAD":"/favicon-unread.png"},"CAPTURE_METRICS":false,"ONYX_METRICS":false,"DEV_PORT":8082,"E2E_TESTING":false,"SEND_CRASH_REPORTS":true,"IS_USING_WEB_PROXY":false,"APPLE_SIGN_IN":{"SERVICE_ID":"com.chat.expensify.chat.AppleSignIn","REDIRECT_URI":"https://staging.new.expensify.com/appleauth"},"GOOGLE_SIGN_IN":{"WEB_CLIENT_ID":"921154746561-gpsoaqgqfuqrfsjdf8l7vohfkfj7b9up.apps.googleusercontent.com","IOS_CLIENT_ID":"921154746561-s3uqn2oe4m85tufi6mqflbfbuajrm2i3.apps.googleusercontent.com"},"GCP_GEOLOCATION_API_KEY":"","FIREBASE_WEB_CONFIG":{"apiKey":"AIzaSyDxzigVLZl4G8MP7jACQ0qpmADMzmrrON0","appId":"1:921154746561:web:7b8213357d07d6e4027c40","projectId":"expensify-chat"},"USE_REACT_STRICT_MODE_IN_DEV":false}}} 
10:44:19.134 Log.ts:76 [info] [Migrate Onyx] start - "" 
10:44:19.135 Log.ts:76 [info] [API] Called API.paginate - {"command":"OpenReport","reportID":"64819207","reportActionID":"","emailList":"","accountIDList":"","parentReportActionID":"0","shouldRetry":false,"clientLastReadTime":""} 
10:44:19.135 Log.ts:76 [info] [API] Preparing request - {"command":"OpenReport","type":"makeRequestWithSideEffects"} 
10:44:19.135 Log.ts:76 [info] [API] Applying optimistic data - {"command":"OpenReport","type":"makeRequestWithSideEffects"} 
10:44:19.136 Log.ts:76 [info] [Network] Making API request - {"command":"OpenReport"} {request: {…}, response: undefined}
10:44:19.136 Log.ts:76 [info] [Migrate Onyx] Skipped migration RenameCardIsVirtual because there are no cards linked to the account - "" 
10:44:19.137 Log.ts:76 [info] [Migrate Onyx] Skipped migration RenameReceiptFilename because there are no transactions - "" 
10:44:19.137 Log.ts:76 [info] [Migrate Onyx] Skipped migration KeyReportActionsDraftByReportActionID because there were no reportActionsDrafts - "" 
10:44:19.137 Log.ts:76 [info] [Migrate Onyx] Skipped TransactionBackupsToCollection migration because there are no transactions - "" 
10:44:19.137 Log.ts:76 [info] [Migrate Onyx] Skipped migration RemoveEmptyReportActionsDrafts because there were no reportActionsDrafts - "" 
10:44:19.138 Log.ts:76 [info] [Migrate Onyx] finished in 6ms - "" 
10:44:19.165 rocket-loader.min.js:1 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
t.addEventListener @ rocket-loader.min.js:1
registerListeners @ TouchEventManager.ts:136
attachEventManager @ GestureHandler.ts:78
(anonymous) @ GestureHandlerWebDelegate.ts:51
init @ GestureHandlerWebDelegate.ts:50
init @ GestureHandler.ts:62
init @ FlingGestureHandler.ts:30
attachGestureHandler @ RNGestureHandlerModule.web.ts:71
Na @ attachHandlers.ts:82
(anonymous) @ index.tsx:154
rA @ react-dom.production.min.js:243
yA @ react-dom.production.min.js:260
IA @ react-dom.production.min.js:259
mA @ react-dom.production.min.js:258
(anonymous) @ react-dom.production.min.js:282
El @ react-dom.production.min.js:280
al @ react-dom.production.min.js:269
b @ scheduler.production.min.js:13
k @ scheduler.production.min.js:14
e.exports @ _invoke.js:5
p.<computed> @ _task.js:35
I @ _task.js:21
y @ _task.js:25
Show 13 more frames
Show less
10:44:19.165 rocket-loader.min.js:1 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
t.addEventListener @ rocket-loader.min.js:1
registerListeners @ TouchEventManager.ts:137
attachEventManager @ GestureHandler.ts:78
(anonymous) @ GestureHandlerWebDelegate.ts:51
init @ GestureHandlerWebDelegate.ts:50
init @ GestureHandler.ts:62
init @ FlingGestureHandler.ts:30
attachGestureHandler @ RNGestureHandlerModule.web.ts:71
Na @ attachHandlers.ts:82
(anonymous) @ index.tsx:154
rA @ react-dom.production.min.js:243
yA @ react-dom.production.min.js:260
IA @ react-dom.production.min.js:259
mA @ react-dom.production.min.js:258
(anonymous) @ react-dom.production.min.js:282
El @ react-dom.production.min.js:280
al @ react-dom.production.min.js:269
b @ scheduler.production.min.js:13
k @ scheduler.production.min.js:14
e.exports @ _invoke.js:5
p.<computed> @ _task.js:35
I @ _task.js:21
y @ _task.js:25
Show 13 more frames
Show less
10:44:19.167 Log.ts:76 [info] [BootSplash] hiding splash screen - "" 
10:44:19.168 Log.ts:76 [info] [Onyx] merge called for key: modal properties: willAlertModalBecomeVisible,isPopover hasChanged: true - "" 
10:44:19.170 Log.ts:76 [info] [Onyx] merge called for key: modal properties: willAlertModalBecomeVisible,isPopover hasChanged: false - "" 
10:44:19.180 Log.ts:76 [info] Found existing deviceID - "78a46e99-5eea-28e8-1810-965c31336f03" 
10:44:19.181 Log.ts:76 [info] [SequentialQueue] Unable to flush. No requests to process. - "" 
10:44:19.181 Log.ts:76 [info] [Onyx] merge called for key: report_64819207 properties: reportName hasChanged: true - "" 
10:44:19.183 Log.ts:76 [info] [Onyx] merge called for key: reportMetadata_64819207 properties: isLoadingInitialReportActions,isLoadingOlderReportActions,hasLoadingOlderReportActionsError,isLoadingNewerReportActions,hasLoadingNewerReportActionsError,lastVisitTime hasChanged: true - "" 
10:44:19.259 Timing.ts:54 Timing:staging.new.expensify.trie_initialization 18.799999997019768
10:44:19.259 Log.ts:76 [info] [API] Called API.read - {"command":"SendPerformanceTiming","name":"staging.new.expensify.trie_initialization","value":18.799999997019768,"platform":"web"} 
10:44:19.259 Log.ts:76 [info] [API] Preparing request - {"command":"SendPerformanceTiming","type":"read"} 
10:44:19.259 Log.ts:76 [info] [Network] Making API request - {"command":"SendPerformanceTiming"} {request: {…}, response: undefined}
10:44:19.701 Log.ts:76 [info] [NetworkConnection] NetInfo state change - {"isInternetReachable":true,"isConnected":true,"type":"other","details":{"isConnectionExpensive":false}} 
10:44:19.701 Log.ts:76 [info] [Network] Client is back online because: NetInfo received a state change event - "" 
10:44:19.701 Log.ts:76 [info] [NetworkStatus] NetInfo.addEventListener event coming, setting "offlineStatus" to true with network state: {"isInternetReachable":true,"isConnected":true,"type":"other","details":{"isConnectionExpensive":false}} - "" 
10:44:19.701 Log.ts:76 [info] [Onyx] merge called for key: network properties: isOffline,networkStatus hasChanged: true - "" 
10:44:19.712 Log.ts:76 [info] [Onyx] merge called for key: network properties: timeSkew hasChanged: false - "" 
10:44:19.723 Log.ts:76 [info] [Network] Finished API request in 588ms - {"command":"OpenReport","jsonCode":404,"requestID":"8db414413d7c9c0e-EZE"} {request: {…}, response: {…}}
10:44:19.723 Log.ts:76 [hmmm] [Pagination] Did not receive any items in the response to OpenReport - "" 
10:44:19.723 OnyxUpdates.ts:29 [OnyxUpdateManager] Applying https update
10:44:19.723 Log.ts:76 [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"OpenReport"} 
10:44:19.724 Log.ts:76 [info] [Onyx] set called for key: isCheckingPublicRoom hasChanged: true - "" 
10:44:19.724 Log.ts:76 [info] [Onyx] merge called for key: reportMetadata_64819207 properties: isLoadingInitialReportActions hasChanged: true - "" 
10:44:19.726 OnyxUpdates.ts:64 [OnyxUpdateManager] Done applying HTTPS update
10:44:19.726 Log.ts:76 [info] [Onyx] set called for key: isCheckingPublicRoom hasChanged: false - "" 
10:44:19.983 Log.ts:76 [info] [Network] Finished API request in 724ms - {"command":"SendPerformanceTiming","jsonCode":200,"requestID":"8db414413d909c0e-EZE"} {request: {…}, response: {…}}
10:44:19.984 OnyxUpdates.ts:29 [OnyxUpdateManager] Applying https update
10:44:19.984 Log.ts:76 [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"SendPerformanceTiming"} 
10:44:19.984 OnyxUpdates.ts:64 [OnyxUpdateManager] Done applying HTTPS update
10:44:20.242 Log.ts:76 [info] [Onyx] merge called for key: account properties: success,errors,message,isLoading hasChanged: false - "" 
10:44:20.267 Log.ts:76 [info] Navigating to route - {"path":"/"} 
10:44:20.270 Log.ts:76 [info] [Onyx] merge called for key: lastVisitedPath hasChanged: true - "" 
7610:44:20.501 Chrome is moving towards a new experience that lets people make an informed choice with respect to third-party cookies.Understand this warning
10:44:20.642 client:168 [GSI_LOGGER]: Failed to render button because there is no parent or options set.
overrideMethod @ hook.js:591
_.Q @ client:168
tr @ client:283
g @ index.tsx:48
c @ rocket-loader.min.js:1
load
t.addEventListener @ rocket-loader.min.js:1
M @ index.tsx:61
rA @ react-dom.production.min.js:243
bl @ react-dom.production.min.js:285
Al @ react-dom.production.min.js:272
Ua @ react-dom.production.min.js:127
(anonymous) @ react-dom.production.min.js:282
El @ react-dom.production.min.js:280
al @ react-dom.production.min.js:269
b @ scheduler.production.min.js:13
k @ scheduler.production.min.js:14
e.exports @ _invoke.js:5
p.<computed> @ _task.js:35
I @ _task.js:21
y @ _task.js:25
Show 14 more frames
Show lessUnderstand this warning
10:44:21.478 Log.ts:76 [info] Previous log requestID - {"requestID":"8db4144d4e4d9c0e-EZE"} 
10:44:21.478 OnyxUpdates.ts:29 [OnyxUpdateManager] Applying https update
10:44:21.478 Log.ts:76 [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"Log"} 
10:44:21.478 OnyxUpdates.ts:64 [OnyxUpdateManager] Done applying HTTPS update
10:44:24.606 firebaseWebConfig.ts:8 
        
        
       POST https://firebaselogging-pa.googleapis.com/v1/firelog/legacy/log?key=AIzaSyCx80ru6-RXeTi3GvqkFsMVyMf-vpgIoVw net::ERR_BLOCKED_BY_CLIENT
(anonymous) @ index.esm2017.js:782
(anonymous) @ index.esm2017.js:752
(anonymous) @ index.esm2017.js:742
(anonymous) @ index.esm2017.js:718
setTimeout
Fe @ index.esm2017.js:709
(anonymous) @ index.esm2017.js:704
Promise.then
_init @ index.esm2017.js:1411
(anonymous) @ index.esm2017.js:1509
getOrInitializeService @ index.esm2017.js:290
initialize @ index.esm2017.js:234
Je @ index.esm2017.js:1480
98164 @ firebaseWebConfig.ts:8
f @ bootstrap:19
30168 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
35646 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
53947 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
17328 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
99018 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
55922 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
91149 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
42851 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
5577 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
49636 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
94067 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
67707 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
77394 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
t @ main-eec7ac5a15dd017f60c0.bundle.js:1
(anonymous) @ main-eec7ac5a15dd017f60c0.bundle.js:1
f.O @ chunk loaded:23
(anonymous) @ main-eec7ac5a15dd017f60c0.bundle.js:1
t @ jsonp chunk loading:71
(anonymous) @ main-eec7ac5a15dd017f60c0.bundle.js:1
Show 11 more frames
Show lessUnderstand this error
10:44:24.606 index.esm2017.js:78 [2024-10-31T13:44:24.606Z]  Performance: Tries left: 2.
10:44:24.985 Log.ts:76 [info] [Onyx] set called for key: currentDate hasChanged: true - "" 
10:44:31.379 m=credential_button_library:216 
        
        
       POST https://play.google.com/log?format=json&hasfast=true&authuser=0 net::ERR_BLOCKED_BY_CLIENT
(anonymous) @ m=credential_button_library:216
Uh @ m=credential_button_library:190
Wh.next @ m=credential_button_library:191
(anonymous) @ m=credential_button_library:191
Xh @ m=credential_button_library:191
Ui.send @ m=credential_button_library:216
Ji.flush @ m=credential_button_library:209
(anonymous) @ m=credential_button_library:204
qi @ m=credential_button_library:203
(anonymous) @ m=credential_button_library:202
setTimeout
ni.start @ m=credential_button_library:202
Ji.log @ m=credential_button_library:206
dj.log @ m=credential_button_library:220
Gl @ m=credential_button_library:303
(anonymous) @ m=credential_button_library:303
Promise.then
Ll.h @ m=credential_button_library:303
(anonymous) @ m=credential_button_library:307
(anonymous) @ button?theme=outline&size=large&type=icon&shape=circle&client_id=921154746561-gpsoaqgqfuqrfsjdf8l7vohfkfj7b9up.apps.googleusercontent.com&iframe_id=gsi_260640_173583&as=sAaQ9cPqaLqi085Fv63PYA:313Understand this error
10:44:34.609 firebaseWebConfig.ts:8 
        
        
       POST https://firebaselogging-pa.googleapis.com/v1/firelog/legacy/log?key=AIzaSyCx80ru6-RXeTi3GvqkFsMVyMf-vpgIoVw net::ERR_BLOCKED_BY_CLIENT
(anonymous) @ index.esm2017.js:782
(anonymous) @ index.esm2017.js:752
(anonymous) @ index.esm2017.js:742
(anonymous) @ index.esm2017.js:718
setTimeout
Fe @ index.esm2017.js:709
(anonymous) @ index.esm2017.js:748
Promise.catch
(anonymous) @ index.esm2017.js:742
(anonymous) @ index.esm2017.js:718
setTimeout
Fe @ index.esm2017.js:709
(anonymous) @ index.esm2017.js:704
Promise.then
_init @ index.esm2017.js:1411
(anonymous) @ index.esm2017.js:1509
getOrInitializeService @ index.esm2017.js:290
initialize @ index.esm2017.js:234
Je @ index.esm2017.js:1480
98164 @ firebaseWebConfig.ts:8
f @ bootstrap:19
30168 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
35646 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
53947 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
17328 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
99018 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
55922 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
91149 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
42851 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
5577 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
49636 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
94067 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
67707 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
77394 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
t @ main-eec7ac5a15dd017f60c0.bundle.js:1
(anonymous) @ main-eec7ac5a15dd017f60c0.bundle.js:1
f.O @ chunk loaded:23
(anonymous) @ main-eec7ac5a15dd017f60c0.bundle.js:1
t @ jsonp chunk loading:71
(anonymous) @ main-eec7ac5a15dd017f60c0.bundle.js:1
Show 15 more frames
Show lessUnderstand this error
10:44:34.609 index.esm2017.js:78 [2024-10-31T13:44:34.609Z]  Performance: Tries left: 1.
10:44:45.015 firebaseWebConfig.ts:8 
        
        
       POST https://firebaselogging-pa.googleapis.com/v1/firelog/legacy/log?key=AIzaSyCx80ru6-RXeTi3GvqkFsMVyMf-vpgIoVw net::ERR_BLOCKED_BY_CLIENT
(anonymous) @ index.esm2017.js:782
(anonymous) @ index.esm2017.js:752
(anonymous) @ index.esm2017.js:742
(anonymous) @ index.esm2017.js:718
setTimeout
Fe @ index.esm2017.js:709
(anonymous) @ index.esm2017.js:748
Promise.catch
(anonymous) @ index.esm2017.js:742
(anonymous) @ index.esm2017.js:718
setTimeout
Fe @ index.esm2017.js:709
(anonymous) @ index.esm2017.js:748
Promise.catch
(anonymous) @ index.esm2017.js:742
(anonymous) @ index.esm2017.js:718
setTimeout
Fe @ index.esm2017.js:709
(anonymous) @ index.esm2017.js:704
Promise.then
_init @ index.esm2017.js:1411
(anonymous) @ index.esm2017.js:1509
getOrInitializeService @ index.esm2017.js:290
initialize @ index.esm2017.js:234
Je @ index.esm2017.js:1480
98164 @ firebaseWebConfig.ts:8
f @ bootstrap:19
30168 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
35646 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
53947 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
17328 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
99018 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
55922 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
91149 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
42851 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
5577 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
49636 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
94067 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
67707 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
77394 @ main-eec7ac5a15dd017f60c0.bundle.js:1
f @ bootstrap:19
t @ main-eec7ac5a15dd017f60c0.bundle.js:1
(anonymous) @ main-eec7ac5a15dd017f60c0.bundle.js:1
f.O @ chunk loaded:23
(anonymous) @ main-eec7ac5a15dd017f60c0.bundle.js:1
t @ jsonp chunk loading:71
(anonymous) @ main-eec7ac5a15dd017f60c0.bundle.js:1
Show 19 more frames
Show lessUnderstand this error
10:44:45.015 index.esm2017.js:78 [2024-10-31T13:44:45.015Z]  Performance: Tries left: 0.
10:44:50.013 Log.ts:76 [info] [BootSplash] splash screen status - {"appState":"background","splashScreenState":"visible"} 
10:44:50.013 Log.ts:76 [alrt] [BootSplash] splash screen is still visible - {"propsToLog":{"isSidebarLoaded":false,"isAuthenticated":false}} 
10:44:50.241 Log.ts:76 [info] Previous log requestID - {"requestID":"8db41501793c9c0e-EZE"} 
10:44:50.242 OnyxUpdates.ts:29 [OnyxUpdateManager] Applying https update
10:44:50.242 Log.ts:76 [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"Log"} 
10:44:50.242 OnyxUpdates.ts:64 [OnyxUpdateManager] Done applying HTTPS update
10:45:06.843 Log.ts:76 [info] [Onyx] set called for key: activeClients properties: 0,1,2,3 hasChanged: false - "" 
10:45:10.682 Log.ts:76 [info] Flushing logs as app is going inactive - {} 
10:45:12.232 Log.ts:76 [info] Previous log requestID - {"requestID":"8db4158ae9c59c0e-EZE"} 
10:45:12.232 OnyxUpdates.ts:29 [OnyxUpdateManager] Applying https update
10:45:12.232 Log.ts:76 [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"Log"} 
10:45:12.232 OnyxUpdates.ts:64 [OnyxUpdateManager] Done applying HTTPS update
10:45:40.349 Log.ts:76 [info] [Onyx] set called for key: activeClients properties: 0,1,2,3 hasChanged: false - "" 
10:46:31.538 Log.ts:76 [info] Flushing logs as app is going inactive - {} 
10:46:33.248 Log.ts:76 [info] Previous log requestID - {"requestID":"8db417853ac69c0e-EZE"} 
10:46:33.249 OnyxUpdates.ts:29 [OnyxUpdateManager] Applying https update
10:46:33.249 Log.ts:76 [info] [OnyxUpdateManager] Applying update type: https with lastUpdateID: 0 - {"command":"Log"} 
10:46:33.249 OnyxUpdates.ts:64 [OnyxUpdateManager] Done applying HTTPS update
10:46:47.030 Log.ts:76 [info] [Onyx] set called for key: activeClients properties: 0,1,2,3 hasChanged: false - "" 

@iwiznia
Copy link
Contributor

iwiznia commented Oct 31, 2024

Another weird thing:

10:44:19.723 Log.ts:76 [info] [Network] Finished API request in 588ms - {"command":"OpenReport","jsonCode":404,"requestID":"8db414413d7c9c0e-EZE"} {request: {…}, response: {…}}
That response is:

image

so why 404 but with onyx data? Logs for that request are here

@iwiznia
Copy link
Contributor

iwiznia commented Oct 31, 2024

Odd about that request:

Throwing exception with message: '404 Public room not found' from auth/command/OpenReport.cpp:120

Why would it think it's a public room?

@iwiznia
Copy link
Contributor

iwiznia commented Oct 31, 2024

Ohhh probably because of:

8db414413d7c9c0e-EZE	2024-10-31 13:44:19 513		/api.php	staging-www1.rno	undefined	[104.28.152.17->/api.php] Malformed REQUEST: 'authToken', ignoring (should match '([vV]\d:[\w\d+\/]+={0,2}:)?[0-9A-F]{1,1024}') ~~ value: '<REDACTED> (strlen: 4)'
8db414413d7c9c0e-EZE	2024-10-31 13:44:19 513		/api.php	staging-www1.rno	undefined	[104.28.152.17->/api.php] Malformed REQUEST: 'email', ignoring (should match '((?:DELETED_\d@)*[\w\.'#%+-]+@[a-zA-Z\d\.-]+\.[a-zA-Z]{2,}|^\+?[1-9]\d{1,14}$)') ~~ value: 'null'

Why I have no authToken or email?!?

@iwiznia
Copy link
Contributor

iwiznia commented Oct 31, 2024

The session onyx key has this:
image

@iwiznia iwiznia removed the Daily KSv2 label Oct 31, 2024
@mallenexpensify
Copy link
Contributor

@MarioExpensify @iwiznia any chance this can be worked on Externally? Guessing not

@MarioExpensify
Copy link
Contributor

Hey @mallenexpensify @iwiznia, I still haven't got a chance to take a look at this one in detail. I'll try to reproduce it locally (possibly later today) and report back.

@iwiznia
Copy link
Contributor

iwiznia commented Nov 4, 2024

I get this every day or really every time I close my computer and come back a few hours later.

@mallenexpensify
Copy link
Contributor

I know I was on staging.new.expensify.com yesterday in Chrome cuz I was testing. Just hopped on there again and didn't got logged off. Site's wonky right now though, so likely not the best time to test :/

@mallenexpensify mallenexpensify removed the Bug Something is broken. Auto assigns a BugZero manager. label Nov 6, 2024
@mallenexpensify mallenexpensify removed their assignment Nov 6, 2024
@mallenexpensify mallenexpensify added the Bug Something is broken. Auto assigns a BugZero manager. label Nov 6, 2024
Copy link

melvin-bot bot commented Nov 6, 2024

Triggered auto assignment to @slafortune (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 6, 2024
@melvin-bot melvin-bot bot added the Weekly KSv2 label Nov 21, 2024
@allgandalf
Copy link
Contributor

👋 can someone assign me here for payment please, I reviewed the linked PR

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 26, 2024
@melvin-bot melvin-bot bot changed the title Got logged out of the app in web staging [HOLD for payment 2024-12-03] Got logged out of the app in web staging Nov 26, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 26, 2024
Copy link

melvin-bot bot commented Nov 26, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Nov 26, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.66-8 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 2024-12-03. 🎊

For reference, here are some details about the assignees on this issue:

  • @zirgulis does not require payment (Contractor)
  • @allgandalf requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Nov 26, 2024

@allgandalf @mallenexpensify @allgandalf The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@allgandalf
Copy link
Contributor

@mallenexpensify @neil-marcellini do we need a checklist for this one?

@mallenexpensify
Copy link
Contributor

do we need a checklist for this one?

I don't know if we need a test case for this which means.... we should create one and let QA decide if they want to add or update one in TestRail.

Can you propose the regression test steps please @allgandalf ?

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 3, 2024
Copy link

melvin-bot bot commented Dec 3, 2024

Payment Summary

Upwork Job

  • Contributor: @zirgulis is from an agency-contributor and not due payment
  • ROLE: @allgandalf paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@mallenexpensify)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@mallenexpensify mallenexpensify added the External Added to denote the issue can be worked on by a contributor label Dec 4, 2024
Copy link

melvin-bot bot commented Dec 4, 2024

Job added to Upwork: https://www.upwork.com/jobs/~021864120074677263168

@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-12-03] Got logged out of the app in web staging [$250] [HOLD for payment 2024-12-03] Got logged out of the app in web staging Dec 4, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 4, 2024
@mallenexpensify mallenexpensify removed Needs Reproduction Reproducible steps needed Help Wanted Apply this label when an issue is open to proposals by contributors labels Dec 4, 2024
Copy link

melvin-bot bot commented Dec 4, 2024

Current assignee @allgandalf is eligible for the External assigner, not assigning anyone new.

@mallenexpensify
Copy link
Contributor

@allgandalf can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~021864120074677263168

@allgandalf
Copy link
Contributor

Regression Test Proposal

  • Log in with any validated account
  • Send a message in any chat
  • Go offline immediately after

Verify you are not logged out

  • Go online

Verify you are not logged out

Do we agree 👍 or 👎

@allgandalf
Copy link
Contributor

@neil-marcellini @mallenexpensify not super sure what the exact testing steps would be.

This issue is for extreme cases like the user is having a really bad connection and we make reauthentication calls used to fail. so do let me know if you guys have a better test in mind

@mallenexpensify
Copy link
Contributor

Thx @allgandalf , I agree with you, this is a bit extreme + edge case so a test is tricky. I created the test case and will let QA decide what's best.

@github-project-automation github-project-automation bot moved this from CRITICAL to Done in [#whatsnext] #quality Dec 6, 2024
@mallenexpensify
Copy link
Contributor

Contributor+: @allgandalf paid $250 via Upwork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AutoAssignerNewDotQuality Used to assign quality issues to engineers Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
Development

No branches or pull requests