Giter Club home page Giter Club logo

Comments (16)

meienberger avatar meienberger commented on June 12, 2024 1

If it’s still happening, you can go through the reset password process to disable 2FA manually

from runtipi.

bordusko avatar bordusko commented on June 12, 2024 1

May I ask you to re-enable 2FA and tell me if this error keeps happening?

After resetting my password I've updated Tipi to version 2.5.0. Then I've re-enabled 2FA, logged out and now everything seems to work correctly, the login process with new 2FA is ok.

from runtipi.

JigSawFr avatar JigSawFr commented on June 12, 2024

Stack Trace from tipi-dashboard:

Error from server Error: Unsupported state or unable to authenticate data
    at o (/app/.next/server/chunks/5162.js:1:31638)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /app/.next/server/chunks/8545.js:278:100171
    at async /app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:406
    at async rm (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:15:5703)
    at async rD (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:22546)
    at async doRender (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/server/base-server.js:1391:30)
    at async cacheEntry.responseCache.get.routeKind (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/server/base-server.js:1552:28)
    at async NextNodeServer.renderToResponseWithComponentsImpl (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/server/base-server.js:1460:28)
    at async NextNodeServer.renderPageComponent (/app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/server/base-server.js:1843:24)

from runtipi.

malaiCo avatar malaiCo commented on June 12, 2024

I am having the same issue

from runtipi.

meienberger avatar meienberger commented on June 12, 2024

Does it happen after a full stop and start of runtipi?

from runtipi.

malaiCo avatar malaiCo commented on June 12, 2024

@meienberger yes, restarted tipi, restarted the server and nothing changed.
Finally did a password reset and it is working again.

from runtipi.

meienberger avatar meienberger commented on June 12, 2024

After some investigation, I still cannot find the root cause of this issue. However, I was able to reproduce the issue by changing my env var JWT_SECRET to a new value. @JigSawFr @malaiCo is it possible that you did something like that? Or removed .env file? The secret is generated deterministically based on state/seed so this might happen during a migration aswell if the seed file was not transferred over

from runtipi.

JigSawFr avatar JigSawFr commented on June 12, 2024

Completely removed state folder on my side ... πŸ‘―

from runtipi.

bordusko avatar bordusko commented on June 12, 2024

I have the same problem. I've also tryed the password reset but nothing has changed. I did it after a full stop of Tipi + complete reboot of the machine.

from runtipi.

meienberger avatar meienberger commented on June 12, 2024

I have the same problem. I've also tryed the password reset but nothing has changed. I did it after a full stop of Tipi + complete reboot of the machine.

What do you mean nothing changed? Were you able to reset your password?

from runtipi.

bordusko avatar bordusko commented on June 12, 2024

What do you mean nothing changed? Were you able to reset your password?

No, basically I'm locked out from the dashboard. I've done "runtipi-cli reset-password" that gave me "Password reset request created. Head back to the dashboard to set a new password", but when I go back to the dashboard I'm stuck with the same situation as screenshotted in the first post.

from runtipi.

meienberger avatar meienberger commented on June 12, 2024

It is not possible that after a successful password reset you get prompted for 2FA. You didn't complete the process. Go to /login, click on forgot password and follow the instructions on screen

from runtipi.

bordusko avatar bordusko commented on June 12, 2024

click on forgot password and follow the instructions on screen

You are right I've missed the quoted part. Now I'm in, thanks.

from runtipi.

meienberger avatar meienberger commented on June 12, 2024

click on forgot password and follow the instructions on screen

You are right I've missed the quoted part. Now I'm in, thanks.

No problem, glad you are unstuck now. May I ask you to re-enable 2FA and tell me if this error keeps happening? This would help me understand if it's something related to a recent update or specific to some user configs

from runtipi.

cygairko avatar cygairko commented on June 12, 2024

For me this happened after I have updated to 2.5 (coming from 2.1 or 2.2 - don't remember exactly). Does this change something in the env or on the secret?

from runtipi.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 30 days with no activity.

from runtipi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.