Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Remove Sync timeout #791

Closed
1 task
LaurentiuApahideanSV opened this issue Jun 26, 2019 · 9 comments · Fixed by #889
Closed
1 task

Remove Sync timeout #791

LaurentiuApahideanSV opened this issue Jun 26, 2019 · 9 comments · Fixed by #889
Assignees
Labels
defect Issue describes a defect that negatively impacts use. effort-S Expected to take less than a week for engineering to complete. feature-sync

Comments

@LaurentiuApahideanSV
Copy link

LaurentiuApahideanSV commented Jun 26, 2019

Steps to reproduce

  1. Open Lockwise and login with a Mozilla account that has saved logins.
  2. Drag down from the top of the screen in order to trigger the sync.

Expected behavior

The saved logins from the Mozilla account should be displayed.

Actual behavior

The "Syncing has timed out error" is displayed and the logins are not retrieved.

Device & build information

  • Device: Samsung Galaxy S9 (Android 8.0.0)
  • Build version: Lockwise version 1.1.2 (Build 4342)

Notes

The issue only occurs when using the account [email protected] pass: softvision
Attachments:
Syncing has timed out error is displayed constantly
logcat.txt

Eng todo

  • add telemetry around timeout
@LaurentiuApahideanSV LaurentiuApahideanSV added the defect Issue describes a defect that negatively impacts use. label Jun 26, 2019
@abodea
Copy link
Contributor

abodea commented Jun 26, 2019

Please note that this is the only device that had this issue, on others everything worked correctly.

@eliserichards
Copy link
Contributor

eliserichards commented Jun 26, 2019

This should be fixed with Sasha's PR #756. Update 7/3/19: Not fixed :( See #810

@isabelrios
Copy link
Contributor

This should be fixed with Sasha's PR #756.

Great! I was about to comment that this is happening to me on Pixel 3 with Lockwise 1.1.2 whenever I try to refresh my logins list.
Thanks!

@devinreams
Copy link
Contributor

This should be fixed with Sasha's PR #

I was about to comment that this is happening to me on Pixel 3 with Lockwise 1.1.2

Oh hmmm, then I think this issue is saying its still a problem since the testing was against builds that already included the change at #756.

@BaronKrause
Copy link

Happens on my Samsung S8+ since today's update.

Also I cant search passwords anymore since the on screen keyboard closes almost immediately every time. Worked prior to this update.

@isabelrios
Copy link
Contributor

@eliserichards FYi this is also happening every time you delete a login entry. Please see video: https://youtu.be/XoXP55Vyzf4

@yuvalwolf yuvalwolf mentioned this issue Jul 3, 2019
4 tasks
eliserichards pushed a commit that referenced this issue Jul 16, 2019
eliserichards pushed a commit that referenced this issue Jul 16, 2019
* Removing timeout to be fixed in #791

* Remove strings
eliserichards pushed a commit that referenced this issue Jul 25, 2019
* Add release notes for 1.1.2.4405

* Bump version to 1.2.0

* Add ignore to the flaky test. This needs to be fixed later. (#793)

* 626, 627: Add kebab menu for delete  (#764)

* Add kebab menu icon and strings. Set up fragment for addition to toolbar.

* Create fragment and dialog.

* Add confirmation dialog, actions, and presenters

* Routing

* Ensure item is actually deleted and item list is refreshed before navigating back.

* Refactor and remove edit for now

* Keeping edit button, just not doing any functionality with it

* Test for item detail presenter

* Ellipsize long item titles in detail view

* Delete confirmation toast

* Delete toast and tests

* Consumable toast notification for delete

* Specify return type on Optional extension

* ItemListPresenterTest needed a consumable for the delete toast test

* Cleanup

* Fix toast notifications

* Import strings from android-l10n (#809)

State: mozilla-l10n/android-l10n@63a5240

* 806-uitest-add-delete (#808)

* Adjust spinner dropdown size to fit longer words (l10n) (#812)

* Ellipsize text in item list (#811)

* 810: Reset support when syncing (#826)

* Reset support when info is null

* Reset support every time we sync.

* Removing timeout to be fixed in #791 (#833)

* Removing timeout to be fixed in #791

* Remove strings

* 828-l10nScreenshotsTest-delete (#829)

* Add dot to sentence (#837)

* 814: Telemetry for sync (#835)

* Add telemetry actions for sync, list update, and error states.

* Sync timeout instead of sync end

* Add sync complete event

* Add errors and ids to telemetry calls

* Update metrics docs to reflect telemetry sync changes (#841)

* Revert delete PRs (#836)

* Revert "828-l10nScreenshotsTest-delete (#829)"

This reverts commit bab9fe8.

* Revert "806-uitest-add-delete (#808)"

This reverts commit ec56009.

* Revert "626, 627: Add kebab menu for delete  (#764)"

This reverts commit 17605c3.

* Remove unused imports and fix lint error.

* Rebase and lint

* Update to version 1.1.3 (#844)

* Update version to 1.1.3

* Add release notes for 1.1.3
@eliserichards eliserichards changed the title Syncing has timed out error is displayed constantly Sync timeout not functioning correctly Jul 30, 2019
@linabutler
Copy link

This stands out in the log:

2019-06-26 15:55:39.498 25887-25914/? I/sync15::sync_multiple: Syncing passwords engine!
2019-06-26 15:55:39.499 25887-25914/? I/sync15::sync: Syncing collection passwords
2019-06-26 15:55:39.500 25887-25914/? W/sync15::sync: can't setup for the passwords collection - hopefully it works later
2019-06-26 15:55:39.504 25887-25914/? I/sync15::sync_multiple: Sync of passwords was successful!

That should only happen if the state machine cycles too many times (which would warn ⚠️), or if the collection is declined (explicitly unchecked in about:preferences#sync) or not in meta/global at all. Do you remember if you first signed in to the account on Lockwise, or in another app, @LaurentiuApahideanSV?

It sounds like we could add better logging for this to a-s, too. 😕

@isabelrios isabelrios added the QA-needed When needing QA Verification/Investigation label Aug 8, 2019
@isabelrios
Copy link
Contributor

Adding label to try to respond to Lina's question and provide more info if possible about this issue.
Thanks!

@LaurentiuApahideanSV
Copy link
Author

I have checked the browsing history of the account and it was created from Firefox not from Lockwise. I have also retested the issue on Lockwise 1.1.3 (4590) and it does not occur anymore, logins are successfully retrieved.

@eliserichards eliserichards removed the QA-needed When needing QA Verification/Investigation label Aug 9, 2019
@sandysage sandysage changed the title Sync timeout not functioning correctly Remove Sync timeout Aug 23, 2019
@eliserichards eliserichards added the effort-S Expected to take less than a week for engineering to complete. label Aug 23, 2019
eliserichards pushed a commit that referenced this issue Sep 11, 2019
* Add release notes for 1.1.2.4405

* Bump version to 1.2.0

* Add ignore to the flaky test. This needs to be fixed later. (#793)

* 626, 627: Add kebab menu for delete  (#764)

* Add kebab menu icon and strings. Set up fragment for addition to toolbar.

* Create fragment and dialog.

* Add confirmation dialog, actions, and presenters

* Routing

* Ensure item is actually deleted and item list is refreshed before navigating back.

* Refactor and remove edit for now

* Keeping edit button, just not doing any functionality with it

* Test for item detail presenter

* Ellipsize long item titles in detail view

* Delete confirmation toast

* Delete toast and tests

* Consumable toast notification for delete

* Specify return type on Optional extension

* ItemListPresenterTest needed a consumable for the delete toast test

* Cleanup

* Fix toast notifications

* Import strings from android-l10n (#809)

State: mozilla-l10n/android-l10n@63a5240

* 806-uitest-add-delete (#808)

* Adjust spinner dropdown size to fit longer words (l10n) (#812)

* Ellipsize text in item list (#811)

* 810: Reset support when syncing (#826)

* Reset support when info is null

* Reset support every time we sync.

* Removing timeout to be fixed in #791 (#833)

* Removing timeout to be fixed in #791

* Remove strings

* 828-l10nScreenshotsTest-delete (#829)

* Add dot to sentence (#837)

* 814: Telemetry for sync (#835)

* Add telemetry actions for sync, list update, and error states.

* Sync timeout instead of sync end

* Add sync complete event

* Add errors and ids to telemetry calls

* Update metrics docs to reflect telemetry sync changes (#841)

* Revert delete PRs (#836)

* Revert "828-l10nScreenshotsTest-delete (#829)"

This reverts commit bab9fe8.

* Revert "806-uitest-add-delete (#808)"

This reverts commit ec56009.

* Revert "626, 627: Add kebab menu for delete  (#764)"

This reverts commit 17605c3.

* Remove unused imports and fix lint error.

* Rebase and lint

* Update to version 1.1.3 (#844)

* Update version to 1.1.3

* Add release notes for 1.1.3

* Update releases.md (#847)

* Add more context to release notes

* Add descriptions for proguard rules upload.

* Revert "Revert delete PRs (#836)" (#842)

This reverts commit 974a585.

* 816: string updates for localization (#852)

* Revert "Revert delete PRs (#836)"

This reverts commit 974a585.

* Lockwise placeholder in delete_description and descriptive comment in edit string

* Update app services, android components, and megazord configuration (#865)

* Update app services, android components, and megazord configuration

* Update a-c to v7.0.0

* Send hashed UID ping when sync completes successfully.

* Remove handling for synctelemetryping, to be completed in separate issue. Update AS to 0.37.1

* Update Readme with l10n process (#872)

This is something we've been adding to all Readmes of mobile repos to direct people to Pontoon for localization (vs GitHub repos, where work isn't supposed to happen).

* 867 - Fix obvious NPE sync crash (#884)

* 871: Create infrastructure for feature flags (#882)

* Delete feature flag

* Move feature flags to separate support file

* Create support to check build configs. Create flags for CUD

* Add telemetry probes to syncIfRequired trigger syncs (#887)

* Import strings from l10n (#893)

* Import strings from android-l10n

State: mozilla-l10n/android-l10n@349efdb

* Commenting unused string for Espanol

* 791: Remove fake timeout from sync (#889)

* Remove fake timeout from sync

* Remove all sync timeout strings

* Rebase and lint

* Fail fast if the edge between to routes is not in the nav graph. (#895)

* Auto-signin with mozilla AuthProvider (#879) — behind a feature flag.

* WIP Automatic FxA sign-in support

* Cleanup welcome fragment/account detection

* Upgrade to Android Components 9.0.0

* Ensure landable, even if not releasable

* gradlew lint

* 628: edit view and routing (#843)

* Edit xml layout

* Add route, presenter, and fragment

Button clicks and dialog

Update dependencies

Edit presenter tests

Routing stuff

Usable state with spinner

Buttons working

Password visibility in edit mode

Lint

View

Create popup item and insert menu into detail view's kebab buttton

* Popup menu and click listener

Dropdown menu and formatting

Update list - in progress

DataStoreTest - mocked up test, stuck on init

Datastore update item detail test

* Save edited changes

Lint

Update dependencies

Edit unit tests

Add sync to datastore editing. Update var name in robot and screenshot tests

Reformatting dropdown menu and edit view

Adding inclusive popup to edit->detail view nav definition

Address nullable server passwords for delete and edit. Remove unused string.

Remove learn more clicks from test

Refactoring pushError into a helper method.

* Add fxalogin to autofill onboarding route. (#901)

* 798: routing back to itemlist on login/search/feedback forms (#890)

* Investigation

* Add locking routes.

* Explicitly ignore autofill on search and edit fields

* Ignore autofill on webviews

* Remove comments and clean up lint

* Add null text value for empty usernames (#902)

* Add null text value for empty usernames

* gradlew lint

* 907 fix ui tests (#908)

* 907: fix testSettings

* fixing routing issues

* fixing more routes

* changing button name and adding route

* fixing conflicts after rebase

* Update release-notes.md with v1.1.4

* Fix lint errors

* Update release-notes.md to correct bitrise version
eliserichards pushed a commit that referenced this issue Sep 12, 2019
* Add release notes for 1.1.2.4405

* Bump version to 1.2.0

* Add ignore to the flaky test. This needs to be fixed later. (#793)

* 626, 627: Add kebab menu for delete  (#764)

* Add kebab menu icon and strings. Set up fragment for addition to toolbar.

* Create fragment and dialog.

* Add confirmation dialog, actions, and presenters

* Routing

* Ensure item is actually deleted and item list is refreshed before navigating back.

* Refactor and remove edit for now

* Keeping edit button, just not doing any functionality with it

* Test for item detail presenter

* Ellipsize long item titles in detail view

* Delete confirmation toast

* Delete toast and tests

* Consumable toast notification for delete

* Specify return type on Optional extension

* ItemListPresenterTest needed a consumable for the delete toast test

* Cleanup

* Fix toast notifications

* Import strings from android-l10n (#809)

State: mozilla-l10n/android-l10n@63a5240

* 806-uitest-add-delete (#808)

* Adjust spinner dropdown size to fit longer words (l10n) (#812)

* Ellipsize text in item list (#811)

* 810: Reset support when syncing (#826)

* Reset support when info is null

* Reset support every time we sync.

* Removing timeout to be fixed in #791 (#833)

* Removing timeout to be fixed in #791

* Remove strings

* 828-l10nScreenshotsTest-delete (#829)

* Add dot to sentence (#837)

* 814: Telemetry for sync (#835)

* Add telemetry actions for sync, list update, and error states.

* Sync timeout instead of sync end

* Add sync complete event

* Add errors and ids to telemetry calls

* Update metrics docs to reflect telemetry sync changes (#841)

* Revert delete PRs (#836)

* Revert "828-l10nScreenshotsTest-delete (#829)"

This reverts commit bab9fe8.

* Revert "806-uitest-add-delete (#808)"

This reverts commit ec56009.

* Revert "626, 627: Add kebab menu for delete  (#764)"

This reverts commit 17605c3.

* Remove unused imports and fix lint error.

* Rebase and lint

* Update to version 1.1.3 (#844)

* Update version to 1.1.3

* Add release notes for 1.1.3

* Update releases.md (#847)

* Add more context to release notes

* Add descriptions for proguard rules upload.

* Revert "Revert delete PRs (#836)" (#842)

This reverts commit 974a585.

* 816: string updates for localization (#852)

* Revert "Revert delete PRs (#836)"

This reverts commit 974a585.

* Lockwise placeholder in delete_description and descriptive comment in edit string

* Update app services, android components, and megazord configuration (#865)

* Update app services, android components, and megazord configuration

* Update a-c to v7.0.0

* Send hashed UID ping when sync completes successfully.

* Remove handling for synctelemetryping, to be completed in separate issue. Update AS to 0.37.1

* Update Readme with l10n process (#872)

This is something we've been adding to all Readmes of mobile repos to direct people to Pontoon for localization (vs GitHub repos, where work isn't supposed to happen).

* 867 - Fix obvious NPE sync crash (#884)

* 871: Create infrastructure for feature flags (#882)

* Delete feature flag

* Move feature flags to separate support file

* Create support to check build configs. Create flags for CUD

* Add telemetry probes to syncIfRequired trigger syncs (#887)

* Import strings from l10n (#893)

* Import strings from android-l10n

State: mozilla-l10n/android-l10n@349efdb

* Commenting unused string for Espanol

* 791: Remove fake timeout from sync (#889)

* Remove fake timeout from sync

* Remove all sync timeout strings

* Rebase and lint

* Fail fast if the edge between to routes is not in the nav graph. (#895)

* Auto-signin with mozilla AuthProvider (#879) — behind a feature flag.

* WIP Automatic FxA sign-in support

* Cleanup welcome fragment/account detection

* Upgrade to Android Components 9.0.0

* Ensure landable, even if not releasable

* gradlew lint

* 628: edit view and routing (#843)

* Edit xml layout

* Add route, presenter, and fragment

Button clicks and dialog

Update dependencies

Edit presenter tests

Routing stuff

Usable state with spinner

Buttons working

Password visibility in edit mode

Lint

View

Create popup item and insert menu into detail view's kebab buttton

* Popup menu and click listener

Dropdown menu and formatting

Update list - in progress

DataStoreTest - mocked up test, stuck on init

Datastore update item detail test

* Save edited changes

Lint

Update dependencies

Edit unit tests

Add sync to datastore editing. Update var name in robot and screenshot tests

Reformatting dropdown menu and edit view

Adding inclusive popup to edit->detail view nav definition

Address nullable server passwords for delete and edit. Remove unused string.

Remove learn more clicks from test

Refactoring pushError into a helper method.

* Add fxalogin to autofill onboarding route. (#901)

* 798: routing back to itemlist on login/search/feedback forms (#890)

* Investigation

* Add locking routes.

* Explicitly ignore autofill on search and edit fields

* Ignore autofill on webviews

* Remove comments and clean up lint

* Add null text value for empty usernames (#902)

* Add null text value for empty usernames

* gradlew lint

* 907 fix ui tests (#908)

* 907: fix testSettings

* fixing routing issues

* fixing more routes

* changing button name and adding route

* fixing conflicts after rebase

* Update release-notes.md with v1.1.4

* Update release notes for v2.0.0

* Update version code and version name to v2.0.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
defect Issue describes a defect that negatively impacts use. effort-S Expected to take less than a week for engineering to complete. feature-sync
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants