mozilla / openbadges-backpack

Mozilla Open Badges Backpack
https://backpack.openbadges.org/
Other
862 stars 263 forks source link

Unable to log in #1182

Open fouloleron opened 5 years ago

fouloleron commented 5 years ago

When attempting to log in via https://backpack.openbadges.org/backpack/login I receive the message:

Error: Cannot enqueue Query after fatal error.
   at Protocol._validateEnqueue (/app/node_modules/mysql/lib/protocol/Protocol.js:199:16)
   at Protocol._enqueue (/app/node_modules/mysql/lib/protocol/Protocol.js:135:13)
   at Connection.query (/app/node_modules/mysql/lib/Connection.js:208:25)
   at Function.find (/app/models/mysql-base.js:48:12)
   at Function.Model.findOne (/app/models/mysql-base.js:52:11)
   at /app/auth/passport.js:147:18
   at process._tickCallback (node.js:458:13)

This error did not appear yesterday; I was able to log in the last time I tried, approximately 24 hours ago.

Using Chrome Version 71.0.3578.127 (Official Build) (64-bit).

LennyObez commented 5 years ago

Same issue while attempting to sign in via backpack.openbadges.org/backpack/signup 👍

Error: Cannot enqueue Query after fatal error.
    at Protocol._validateEnqueue (/app/node_modules/mysql/lib/protocol/Protocol.js:199:16)
    at Protocol._enqueue (/app/node_modules/mysql/lib/protocol/Protocol.js:135:13)
    at Connection.query (/app/node_modules/mysql/lib/Connection.js:208:25)
    at Function.find (/app/models/mysql-base.js:48:12)
    at Function.Model.findOne (/app/models/mysql-base.js:52:11)
    at /app/auth/passport.js:250:22
    at process._tickCallback (node.js:458:13)

Using Chrome Version 72.0.3626.121 (Official Build) (64-bit) and Chrome Version 73.0.3683.75 (Official Build) (64-bit).

dmitryshagin commented 5 years ago

It works and fails randomly. I was able to log in last week and it does not work in the same way for a whole day today.

klenert2 commented 5 years ago

I also was able to log in last week and not today. Password reset not working i.e. says no such email address. Right before I was going to do a demo. I had uploaded digital badges created in Blackboard Open LMS to my backpack. But don't want to recommend backpack if functioning is unreliable or the site is no longer in use. Hard to find answers! Thanks

lrsmith2 commented 5 years ago

I am getting this error after having filled out my backpack and built out my presentation successfully for stakeholders this weekend on how it is supposed to work in Totara and Moodle:

Error: Cannot enqueue Query after fatal error. at Protocol._validateEnqueue (/app/node_modules/mysql/lib/protocol/Protocol.js:199:16) at Protocol._enqueue (/app/node_modules/mysql/lib/protocol/Protocol.js:135:13) at Connection.query (/app/node_modules/mysql/lib/Connection.js:208:25) at Function.find (/app/models/mysql-base.js:48:12) at Function.Model.findOne (/app/models/mysql-base.js:52:11) at /app/auth/passport.js:147:18 at process._tickCallback (node.js:458:13)

It is happening in both Chrome and Firefox, latest stable versions.

Thinking I had forgotten my pw, I tried to reset it. At first, it said my account did not exist. Then it allowed me to reset it. Then I tried to log in with the new pw and continued to get this error. Since others say this is random, I guess I will wait to see if it resolves itself? :-(

Screen Shot 2019-04-23 at 11 57 01 AM
lrsmith2 commented 5 years ago

It is working again today. I didn't even have to clear cache or history, so I am hoping that means it is fixed permanently. Thanks!

izendegi commented 5 years ago

I'm also having this error when trying to log in, so it hasn't been definitively fixed yet.

davidmcoleman commented 5 years ago

I'm getting this error too.