Can't regist user #943

Closed
opened 2026-02-04 23:25:07 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @BugKun on GitHub (Feb 20, 2021).

Your environment

Ubuntu server 2004 + Docker
Chrome version: 87.0.4280.141
Firefox version: 85.0.2

  • Bitwarden_rs version: bitwardenrs/server:latest
  • Install method: Docker image

Steps to reproduce

Open the page of register. And Input my info. Then click submit button.

Expected behaviour

Regist successfully

Actual behaviour

show error and did not send any api request for submit to server

Relevant logs

Chrome console

ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'importKey' of null
TypeError: Cannot read property 'importKey' of null
    at e.<anonymous> (webCryptoFunction.service.ts:47)
    at main.c9c57acc9b845fdb9052.js:1
    at Object.next (main.c9c57acc9b845fdb9052.js:1)
    at main.c9c57acc9b845fdb9052.js:1
    at new t (zone.js:913)
    at r (main.c9c57acc9b845fdb9052.js:1)
    at e.pbkdf2 (main.c9c57acc9b845fdb9052.js:1)
    at e.<anonymous> (crypto.service.ts:319)
    at main.c9c57acc9b845fdb9052.js:1
    at Object.next (main.c9c57acc9b845fdb9052.js:1)
    at w (zone.js:832)
    at zone.js:739
    at s (main.c9c57acc9b845fdb9052.js:1)
    at t.invoke (zone.js:386)
    at Object.onInvoke (core.js:28144)
    at t.invoke (zone.js:385)
    at e.run (zone.js:143)
    at zone.js:891
    at t.invokeTask (zone.js:421)
    at Object.onInvokeTask (core.js:28132)
Originally created by @BugKun on GitHub (Feb 20, 2021). ### Your environment Ubuntu server 2004 + Docker Chrome version: 87.0.4280.141 Firefox version: 85.0.2 * Bitwarden_rs version: bitwardenrs/server:latest * Install method: Docker image ### Steps to reproduce Open the page of register. And Input my info. Then click submit button. ### Expected behaviour Regist successfully ### Actual behaviour show error and did not send any api request for submit to server ### Relevant logs Chrome console ``` ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'importKey' of null TypeError: Cannot read property 'importKey' of null at e.<anonymous> (webCryptoFunction.service.ts:47) at main.c9c57acc9b845fdb9052.js:1 at Object.next (main.c9c57acc9b845fdb9052.js:1) at main.c9c57acc9b845fdb9052.js:1 at new t (zone.js:913) at r (main.c9c57acc9b845fdb9052.js:1) at e.pbkdf2 (main.c9c57acc9b845fdb9052.js:1) at e.<anonymous> (crypto.service.ts:319) at main.c9c57acc9b845fdb9052.js:1 at Object.next (main.c9c57acc9b845fdb9052.js:1) at w (zone.js:832) at zone.js:739 at s (main.c9c57acc9b845fdb9052.js:1) at t.invoke (zone.js:386) at Object.onInvoke (core.js:28144) at t.invoke (zone.js:385) at e.run (zone.js:143) at zone.js:891 at t.invokeTask (zone.js:421) at Object.onInvokeTask (core.js:28132) ```
Author
Owner

@BlackDex commented on GitHub (Feb 20, 2021):

Please search before opening issues.
Use HTTPS, search the wiki for info.

@BlackDex commented on GitHub (Feb 20, 2021): Please search before opening issues. Use HTTPS, search the wiki for info.
Author
Owner

@BugKun commented on GitHub (Feb 20, 2021):

I didn't enable HTTPS. I just use it at home. I access it by HTTP and IP address.
Should I have to enable HTTPS?

@BugKun commented on GitHub (Feb 20, 2021): I didn't enable HTTPS. I just use it at home. I access it by HTTP and IP address. Should I have to enable HTTPS?
Author
Owner

@BlackDex commented on GitHub (Feb 20, 2021):

Yes, as is told in several issues and even pinned issues!
As also in wiki articles etc...

@BlackDex commented on GitHub (Feb 20, 2021): Yes, as is told in several issues and even pinned issues! As also in wiki articles etc...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#943