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

Credentials system having issues connecting to the DB on initial start up #8613

Open
aarushik93 opened this issue Nov 11, 2024 — with Linear · 0 comments
Open

Credentials system having issues connecting to the DB on initial start up #8613

aarushik93 opened this issue Nov 11, 2024 — with Linear · 0 comments

Comments

Copy link
Contributor

aarushik93 commented Nov 11, 2024

There's a very weird and consistent issue happening with the credentials system on both cloud and local docker dev. When you first do a new rollouts or up all the credentials 500 out, seemingly unable to connect to the database.

Error in get_user_integrations: All connection attempts failed

I have to restart my rest server to make it work again. I've reported it earlier as well thought it was a one off, but it's definitely consistently happening now

Steps to replicate:

  • Start from a fresh install
  • docker compose build && docker compose up
  • npm run dev / yarn dev
  • Go to builder and in network you'll see HTTP 500 errors from the credentials endpoint. In the rest container you will see logs saying: Error in get_user_integrations: All connection attempts failed
  • Restart rest container, and everything is back to normal

Same thing happens on cloud when upgrading the containers (ie new deploy)

Pwuts added a commit that referenced this issue Nov 26, 2024
- Add `/integrations/credentials` endpoint which lists all credentials for the authenticated user
- Amend credential fetching logic in front end to fetch all at once instead of per provider

- Resolves #8770
- Resolves (hopefully) #8613
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