sorry this problem is solved the problem was the local firewall β
Solved 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.
-
Are you on DigitalOcean Ubuntu v16.04? It's an ongoing problem with that specific version of Ubuntu on DigitalOcean... they are investigating
In the meantime, you could use Ubuntu 16.10, though that's not supported for as long...
-
@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.