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

New source never transitions out of "Awaiting key" state #862

Open
eloquence opened this issue Mar 4, 2020 · 1 comment · Fixed by #864
Open

New source never transitions out of "Awaiting key" state #862

eloquence opened this issue Mar 4, 2020 · 1 comment · Fixed by #864
Assignees
Labels
bug Something isn't working

Comments

@eloquence
Copy link
Member

Encountered during QA. Intermittent.

STR

  1. Create new sources until you hit the "Awaiting key" issue for the source.
  2. Wait until the next sync.

Expected behavior

A key is eventually fetched for the source

Actual behavior

The source never changes state. Other sources work fine, but the original source remains in the "Awaiting key" state. Logging out and back in resolves.

Note

#830 recently touched this area of the code to resolve #803.

@eloquence eloquence added bug Something isn't working release blocker labels Mar 4, 2020
@eloquence eloquence added this to QA Period (Kanban Mode) in SecureDrop Team Board Mar 4, 2020
@rmol rmol self-assigned this Mar 4, 2020
@rmol rmol mentioned this issue Mar 4, 2020
6 tasks
@eloquence eloquence removed this from QA Period - 3/4-3/16 (Kanban Mode) in SecureDrop Team Board Mar 4, 2020
@eloquence
Copy link
Member Author

eloquence commented Jun 9, 2020

Observing this again, with slightly different STR.

Environment type: Qubes prod
Client version: 0.2.0
Workstation version: 0.3.0
Server version: 1.4.0~rc1

STR:

  1. Populate a staging environment with a large number of sources (I had >300)
  2. Delete all of them in a batch via the JUI
  3. Create a new source through the SUI
  4. Client crashes upon sync (could be related to Potential crashes between source deletion and accessing source in the gui #906)
  5. Restart the client. It never successfully fetches the key for the new source

Even deleting the client database and syncing from scratch had no effect; this one source continues to be broken. Will poke a bit more at logs tomorrow and try to get a clean repro.

@eloquence eloquence reopened this Jun 9, 2020
@eloquence eloquence changed the title [0.2.1-deb] New source never transitions out of "Awaiting key" state New source never transitions out of "Awaiting key" state Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants