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

Closed
opened 2026-03-03 01:24:39 +03:00 by kerem · 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.
kerem closed this issue 2026-03-03 01:24:39 +03:00
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.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#81
No description provided.