quivr icon indicating copy to clipboard operation
quivr copied to clipboard

[Bug]: Unable to log in

Open tc0715888 opened this issue 10 months ago • 5 comments

What happened?

Step 5: Login to the app

You can now sign in to the app with [email protected] & admin. You can access the app at http://localhost:3000/login.

I logged in using the username and password provided on your website, but it showed "Failed to retrieve".

Relevant log output

No response

Twitter / LinkedIn details

No response

tc0715888 avatar Apr 22 '24 00:04 tc0715888

To address the login issue you're experiencing, let's start by ensuring the application is correctly running and that all configurations are properly set. Here are a few steps to troubleshoot the problem:

  1. Verify Application Status: Make sure the application is correctly built and served. If you're deploying, ensure the deployment process completed successfully.

  2. Check Port Configurations: Ensure that the Dockerfile's exposed port matches the container port in your deployment configuration. This is crucial for the application to communicate correctly.

  3. Review Recent Changes: Look into the recent changes in the codebase, especially those related to login functionality and data fetching restrictions for non-logged-in users. A change that prevents data fetching when a user is not logged in could impact the login process.

  4. Error Handling in Google Login: If you're using Google login, check the error handling part for any issues. The application should display specific error messages if the login fails due to missing credentials.

  5. Examine Error Logs: More detailed information from error logs or console outputs during the login attempt can be very helpful. Look for any error messages or codes that could indicate the nature of the problem, such as 401 (Unauthorized), which suggests issues with authentication credentials.

By following these steps, you should be able to narrow down the cause of the login issue. If the problem persists, providing more detailed information about any error messages or logs you encounter will be essential for further assistance.

Details

Sources


About Dosu This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

dosubot[bot] avatar Apr 22 '24 00:04 dosubot[bot]

Encountered the same problem. When accessing http://localhost:3000/login, I can see the form, but there is no response when clicking "Login" Button It seems like some scripts and stylesheets are not loaded properly

JerryKwan avatar May 21 '24 08:05 JerryKwan

Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.

github-actions[bot] avatar Aug 19 '24 12:08 github-actions[bot]

Same Issue , followed the doc Unable to login

mz0in avatar Aug 20 '24 08:08 mz0in

Same Issue , followed the doc Unable to login

the problem is when deploying on remote VPS , on local machine it's working

mz0in avatar Aug 21 '24 06:08 mz0in