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

Error: "producer: Error fetching jobs" err="failed to connect to user=ganymede database=ganymede-prd: hostname resolving error: lookup ganymede-db on 127.0.0.11:53: no such host #506

Open
rubaz100 opened this issue Sep 12, 2024 · 6 comments

Comments

@rubaz100
Copy link

I get this message after a while:

time=2024-09-12T18:59:01.937+02:00 level=ERROR msg="producer: Error fetching jobs" err="failed to connect to user=ganymede database=ganymede-prd: hostname resolving error: lookup ganymede-db on 127.0.0.11:53: no such host"

@Zibbp
Copy link
Owner

Zibbp commented Sep 12, 2024

Is your database container crashing or offline? Hostname resolving error likely means the container is not up and running

@rubaz100
Copy link
Author

I think I changed the OS and it worked. Idk

@TheFrodo
Copy link

Since yesterday, I've been experiencing the same issue: the database container keeps restarting continuously. I have double-checked everything and couldn’t find any errors. The only change has been the server's hostname, nothing else.

@Zibbp
Copy link
Owner

Zibbp commented Oct 26, 2024

Restart continuously as in instantly, or it takes a few minutes? No concerning logs in the Postgres container?

@TheFrodo
Copy link

Restart continuously. After restarting the server, the same error is still there.

@Zibbp
Copy link
Owner

Zibbp commented Oct 26, 2024

If you bring down all the services docker compose down then just bring up the database interactively, docker compose up ganymede-db. Do you see any errors? Can you post the output if it starts restarting?

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