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)
Yes, I should've mentioned (@pichalite brought me back here), you can also replace our use of bcryptjs with bcrypt.
npm i bcryptand then edit the
bcrypt.jsfile in NodeBB and change
var bcrypt = require('bcryptjs'),
var bcrypt = require('bcrypt'),
Restart NodeBB and try again.
@julian mentions fail
Crayz last edited by Crayz
var bcrypt = require('bcryptjs')
Many thanks @julian and guys, you save my day. It is working now, reduce to ~700ms.