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

QR Code Access Limited to 2 Hours Due to External Database Configuration #1

Open
yeswanth49 opened this issue Jan 13, 2025 · 0 comments

Comments

@yeswanth49
Copy link
Owner

The QR codes generated by the application are only accessible for 2 hours. After this period, scanning the QR code returns a "No Profile Found" error. This issue occurs because the database is currently hosted on an server side code and lacks proper deployment and persistence.

Steps to Reproduce:

Generate a QR code from the application with a set of user details.
Wait for 2 hours.
Scan the QR code after 2 hours.
Observe the error message: "No Profile Found."

Expected Behavior:
The QR codes should be accessible indefinitely, provided the database entry exists, regardless of the time elapsed since generation.

Possible Cause:

Database hosting is dependent on an external URL, and entries are being timed out or not persisted correctly.

Suggested Solution:

Deploy the database to a persistent hosting solution (e.g., AWS RDS, Heroku Postgres, or another cloud provider).
Ensure database entries are persistent and not subject to automatic expiration unless explicitly configured.
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

1 participant