Skip to content

Instantly share code, notes, and snippets.

@bendk
Last active October 16, 2023 16:01
Show Gist options
  • Save bendk/59a11ae789dcda42eff7415496a9788c to your computer and use it in GitHub Desktop.
Save bendk/59a11ae789dcda42eff7415496a9788c to your computer and use it in GitHub Desktop.
Fxa Logs
10-03 18:19:17.805 7160 7211 D fxa_client: uniffi_fxa_client_fn_constructor_firefoxaccount_from_json
10-03 18:19:17.808 7160 7211 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_get_auth_state
10-03 18:19:17.809 7160 7215 D fxa_client: processChannel started: Disconnected(fromAuthIssues=true, connecting=false)
10-03 18:19:17.810 7160 7211 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_get_auth_state
10-03 18:19:29.623 7160 7211 D fxa_client: Processing action: BeginOAuthFlow(scopes=[profile, https://identity.mozilla.com/apps/oldsync, https://identity.mozilla.com/tokens/session], entrypoint=settings-menu, result=CompletableDeferredImpl{Active}@990033)
10-03 18:19:29.629 7160 7211 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_begin_oauth_flow
10-03 18:19:29.637 7160 7211 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_to_json
10-03 18:19:29.645 7160 7211 D fxa_client: Changing state from Disconnected(fromAuthIssues=true, connecting=false) to Disconnected(fromAuthIssues=true, connecting=true)
10-03 18:19:29.645 7160 7211 D fxa_client: Sending AuthStateChanged(newState=Disconnected(fromAuthIssues=true, connecting=true), transition=OAUTH_STARTED)
10-03 18:19:29.646 7160 7211 D fxa_client: Sending BeginOAuthFlow(url=https://accounts.firefox.com/oauth/force_auth?XXXX)
10-03 18:19:29.646 7160 7211 D fxa_client: Action processed: BeginOAuthFlow(scopes=[profile, https://identity.mozilla.com/apps/oldsync, https://identity.mozilla.com/tokens/session], entrypoint=settings-menu, result=CompletableDeferredImpl{Completed}@990033)
10-03 18:19:32.192 7160 7160 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_get_session_token
10-03 18:19:36.487 7160 7227 D fxa_client: Processing action: CompleteOAuthFlow(code=XXXX, state=XXXX)
10-03 18:19:36.492 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_complete_oauth_flow
10-03 18:19:37.786 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_to_json
10-03 18:19:37.801 7160 7227 D fxa_client: Changing state from Disconnected(fromAuthIssues=true, connecting=true) to Connected(authCheckInProgress=false)
10-03 18:19:37.801 7160 7227 D fxa_client: Sending AuthStateChanged(newState=Connected(authCheckInProgress=false), transition=OAUTH_COMPLETE)
10-03 18:19:37.808 7160 7227 D fxa_client: Running: getAccessToken
10-03 18:19:37.814 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_get_access_token
10-03 18:19:37.975 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_to_json
10-03 18:19:37.983 7160 7227 D fxa_client: Running: getTokenServerEndpointURL
10-03 18:19:37.984 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_get_token_server_endpoint_url
10-03 18:19:37.986 7160 7227 D fxa_client: Running: getProfile
10-03 18:19:37.987 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_get_profile
10-03 18:19:38.298 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_to_json
10-03 18:19:38.316 7160 7210 D fxa_client: Running: getProfile
10-03 18:19:38.318 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_get_profile
10-03 18:19:38.321 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_to_json
10-03 18:19:38.321 7160 7227 D fxa_client: Action processed: CompleteOAuthFlow(code=XXXX, state=XXXX)
10-03 18:19:38.322 7160 7227 D fxa_client: Processing action: InitializeDevice(name=Firefox Fenix on Google sdk_gphone64_x86_64, deviceType=MOBILE, supportedCapabilities=[SEND_TAB], result=null)
10-03 18:19:38.336 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_initialize_device
10-03 18:19:38.341 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_get_current_device_id
10-03 18:19:38.499 7160 7227 D fxa_client: Sending DeviceOperationComplete(operation=INITIALIZE_DEVICE, localDevice=LocalDevice(id=3205d67b224639381f515422800da8ab, displayName=Firefox Fenix on Google sdk_gphone64_x86_64, deviceType=MOBILE, capabilities=[SEND_TAB], pushSubscription=null, pushEndpointExpired=false))
10-03 18:19:38.500 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_get_session_token
10-03 18:19:38.502 7160 7227 D fxa_client: Running: getDevices
10-03 18:19:38.502 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_get_devices
10-03 18:19:38.737 7160 7227 D fxa_client: Running: pollDeviceCommands
10-03 18:19:38.738 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_poll_device_commands
10-03 18:19:38.882 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_to_json
10-03 18:19:38.895 7160 7227 D fxa_client: Running: gatherTelemetry
10-03 18:19:38.896 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_gather_telemetry
10-03 18:19:38.898 7160 7227 D fxa_client: Running: gatherTelemetry
10-03 18:19:38.899 7160 7227 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_gather_telemetry
10-03 18:19:38.900 7160 7227 D fxa_client: Action processed: InitializeDevice(name=Firefox Fenix on Google sdk_gphone64_x86_64, deviceType=MOBILE, supportedCapabilities=[SEND_TAB], result=null)
10-03 18:20:07.415 7160 7160 W fxa_client: simulateNetworkError
10-03 18:20:54.640 7160 7210 D fxa_client: Processing action: SetDeviceName(displayName=Firefox Fenix on Google sdk_gphone64_x86_, result=CompletableDeferredImpl{Active}@9b0bd73)
10-03 18:20:54.643 7160 7210 D fxa_client: Network error: retrying
10-03 18:20:54.647 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_set_device_name
10-03 18:20:54.810 7160 7210 D fxa_client: Sending DeviceOperationComplete(operation=SET_DEVICE_NAME, localDevice=LocalDevice(id=3205d67b224639381f515422800da8ab, displayName=Firefox Fenix on Google sdk_gphone64_x86_, deviceType=MOBILE, capabilities=[SEND_TAB], pushSubscription=null, pushEndpointExpired=false))
10-03 18:20:54.812 7160 7210 D fxa_client: Running: getDevices
10-03 18:20:54.814 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_get_devices
10-03 18:20:54.988 7160 7210 D fxa_client: Running: pollDeviceCommands
10-03 18:20:54.989 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_poll_device_commands
10-03 18:20:55.128 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_to_json
10-03 18:20:55.145 7160 7210 D fxa_client: Running: gatherTelemetry
10-03 18:20:55.146 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_gather_telemetry
10-03 18:20:55.148 7160 7210 D fxa_client: Running: gatherTelemetry
10-03 18:20:55.149 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_gather_telemetry
10-03 18:20:55.150 7160 7210 D fxa_client: Action processed: SetDeviceName(displayName=Firefox Fenix on Google sdk_gphone64_x86_, result=CompletableDeferredImpl{Completed}@9b0bd73)
10-03 18:21:22.050 7160 7160 W fxa_client: simulatePermanentAuthTokenIssue
10-03 18:21:22.051 7160 7160 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_simulate_permanent_auth_token_issue
10-03 18:21:30.463 7160 7210 D fxa_client: Processing action: SetDeviceName(displayName=Firefox Fenix on Google sdk_gphone64_x8, result=CompletableDeferredImpl{Active}@512b06f)
10-03 18:21:30.465 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_set_device_name
10-03 18:21:30.468 7160 7210 D fxa_client: Auth error: re-checking
10-03 18:21:30.468 7160 7210 D fxa_client: Changing state from Connected(authCheckInProgress=false) to Connected(authCheckInProgress=true)
10-03 18:21:30.468 7160 7210 D fxa_client: Sending AuthStateChanged(newState=Connected(authCheckInProgress=true), transition=AUTH_CHECK_STARTED)
10-03 18:21:30.471 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_check_authorization_status
10-03 18:21:30.475 7160 7210 E fxa_client: Authentication exception when checking authorization status
10-03 18:21:30.475 7160 7210 E fxa_client: mozilla.appservices.fxaclient.FxaException$Authentication: authentication error
10-03 18:21:30.475 7160 7210 E fxa_client: at mozilla.appservices.fxaclient.FfiConverterTypeFxaError.read(fxa_client.kt:2056)
10-03 18:14:22.327 5129 5544 E fxa_client: [rest of the stack manually truncated]
10-03 18:21:30.476 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_disconnect_from_auth_issues
10-03 18:21:30.476 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_to_json
10-03 18:21:30.483 7160 7210 D fxa_client: Changing state from Connected(authCheckInProgress=true) to Disconnected(fromAuthIssues=true, connecting=false)
10-03 18:21:30.484 7160 7210 D fxa_client: Sending AuthStateChanged(newState=Disconnected(fromAuthIssues=true, connecting=false), transition=AUTH_CHECK_FAILED)
10-03 18:21:30.487 7160 7210 E fxa_client: Exception when handling SetDeviceName(displayName=Firefox Fenix on Google sdk_gphone64_x8, result=CompletableDeferredImpl{Active}@512b06f)
10-03 18:21:30.487 7160 7210 E fxa_client: mozilla.appservices.fxaclient.FxaException$Authentication: authentication error
10-03 18:21:30.487 7160 7210 E fxa_client: at mozilla.appservices.fxaclient.FfiConverterTypeFxaError.read(fxa_client.kt:2056)
10-03 18:14:22.327 5129 5544 E fxa_client: [rest of the stack manually truncated]
10-03 18:21:30.487 7160 7210 D fxa_client: Sending DeviceOperationFailed(operation=SET_DEVICE_NAME)
10-03 18:21:30.487 7160 7210 D fxa_client: Action processed: SetDeviceName(displayName=Firefox Fenix on Google sdk_gphone64_x8, result=CompletableDeferredImpl{Completed}@512b06f)
10-03 18:21:11.017 7160 7160 W fxa_client: simulateTemporaryAuthTokenIssue
10-03 18:21:11.019 7160 7160 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_simulate_temporary_auth_token_issue
10-03 18:21:11.020 7160 7210 D fxa_client: Running: getProfile
10-03 18:21:11.022 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_get_profile
10-03 18:21:11.114 7160 7210 W fxa_client::internal::profile: Access token rejected, clearing the tokens cache and trying again.
10-03 18:21:11.408 7160 7210 D fxa_client: uniffi_fxa_client_fn_method_firefoxaccount_to_json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment