[GH-ISSUE #162] Error during restore: "Cannot read property 'importKey' of null" #8892

Closed
opened 2026-04-20 11:38:28 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @pageb018 on GitHub (Aug 29, 2018).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/162

Doing a test backup and restore. I copy the entire bw-data folder onto a new host. Run a docker-compose up on new host, I get the login page but when trying to authenticate I receive a "Cannot read property 'importKey' of null" error.

Not sure how to proceed, the logs do not seem to show an error.

bitwarden | POST /api/accounts/prelogin application/json; charset=utf-8:
bitwarden | => Matched: POST /api/accounts/prelogin
bitwarden | => Outcome: Success
bitwarden | => Response succeeded.
bitwarden | POST /api/accounts/prelogin application/json; charset=utf-8:
bitwarden | => Matched: POST /api/accounts/prelogin
bitwarden | => Outcome: Success
bitwarden | => Response succeeded.

Originally created by @pageb018 on GitHub (Aug 29, 2018). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/162 Doing a test backup and restore. I copy the entire bw-data folder onto a new host. Run a docker-compose up on new host, I get the login page but when trying to authenticate I receive a "Cannot read property 'importKey' of null" error. Not sure how to proceed, the logs do not seem to show an error. bitwarden | POST /api/accounts/prelogin application/json; charset=utf-8: bitwarden | => Matched: POST /api/accounts/prelogin bitwarden | => Outcome: Success bitwarden | => Response succeeded. bitwarden | POST /api/accounts/prelogin application/json; charset=utf-8: bitwarden | => Matched: POST /api/accounts/prelogin bitwarden | => Outcome: Success bitwarden | => Response succeeded.
Author
Owner

@mprasil commented on GitHub (Aug 29, 2018):

Please see #153, this seems to be issue with the chrome browser when you're not using https.

<!-- gh-comment-id:417021149 --> @mprasil commented on GitHub (Aug 29, 2018): Please see #153, this seems to be issue with the chrome browser when you're not using https.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#8892