Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something's broke after re-install (when logging in) #18

Open
EJShim opened this issue Apr 20, 2021 · 4 comments
Open

Something's broke after re-install (when logging in) #18

EJShim opened this issue Apr 20, 2021 · 4 comments

Comments

@EJShim
Copy link

EJShim commented Apr 20, 2021

I re-installed my wiki using make clean make start using same slack api credential keys.

docker containers are all running fine, but when I try to log in, I get :

image

chrome console says :

slack.callback:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

outline container console says :

Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt

can you help me? is it possible to use my original data??

@ramykfoury
Copy link

Same thing happens with me. Are you using make https?

@ramykfoury
Copy link

ramykfoury commented Jun 2, 2021

logged error taken from the outline docker image

    at Decipheriv.final (internal/crypto/cipher.js:174:29)
    at model.get (/opt/outline/node_modules/sequelize-encrypted/index.js:41:79)
    at model.get (/opt/outline/node_modules/sequelize/lib/model.js:3465:41)
    at model.funcs.<computed> (/opt/outline/node_modules/sequelize/lib/model.js:1106:25)
    at model.User.getJwtToken (/opt/outline/build/server/models/User.js:186:11)
    at signIn (/opt/outline/build/server/utils/authentication.js:71:41)
    at /opt/outline/build/server/middlewares/passport.js:52:34
    at callback (/opt/outline/node_modules/@outlinewiki/koa-passport/lib/framework/koa.js:93:25)
    at Strategy.strategy.success (/opt/outline/node_modules/passport/lib/middleware/authenticate.js:219:18)
    at verified (/opt/outline/node_modules/passport-oauth2/lib/strategy.js:186:20)
    at Strategy._verify (/opt/outline/build/server/auth/providers/slack.js:78:14)
    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  library: 'digital envelope routines',
  function: 'EVP_DecryptFinal_ex',
  reason: 'bad decrypt',
  code: 'ERR_OSSL_EVP_BAD_DECRYPT'
}

and after refreshing the outline login page with the error above, it redirects to https://mydomain.com/?notice=state-mismatch

Any help @chsasank?

@ramykfoury
Copy link

So other users (new users) are able to sign it correctly. This error seems to happen only with my account. I tried to revoke the permission from my account but also didn't work.

@Zeus540
Copy link

Zeus540 commented Sep 1, 2021

Hey

Has anyone found a solution to issue above as I am experiencing the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants