The problem already solve thankyou for all the help. It works when u rewrite the the http rq to https.
Local login take a long time...
-
Why "local login" take 13s to process? Is this a bug?
Version v1.2.1, using mongodb, new setup without much plugins.Please advise, thanks.
-
@julian yes using ubuntu 16.04.
Thanks for the info. -
@julian You mentioned that DigitalOcean is investigating this issue, do you have the link to the thread?
Is there any easier workaround? (beside upgrading to 16.10 or re-install 14.04)
Thanks.
-
Yes, I should've mentioned (@pichalite brought me back here), you can also replace our use of bcryptjs with bcrypt.
npm i bcrypt
and then edit thebcrypt.js
file in NodeBB and changevar bcrypt = require('bcryptjs'),
to read
var bcrypt = require('bcrypt'),
Restart NodeBB and try again.
-
@julian mentions fail
-
@julian I am running Ubuntu 16.04 hosted at http://nfoservers.com -- my login was slow as well, roughly 5 seconds after pressing the button. The bcrypt change solved my problem, thanks.
-
@julian said in Local login take a long time...:
var bcrypt = require('bcryptjs')
Many thanks @julian and guys, you save my day. It is working now, reduce to ~700ms.
Suggested Topics
-
0 Votes11 Posts431 Views
-
Custom Login Page
Unsolved Technical Support0 Votes3 Posts875 Views
-
0 Votes5 Posts1358 Views
-
0 Votes3 Posts1280 Views
-
0 Votes1 Posts1047 Views