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

[Question] Hostname lookup for www.youtube.com failed: Try again (Socket::Addrinfo::Error) #3538

Closed
HaJue60 opened this issue Jan 5, 2023 · 7 comments
Labels
question Further information is requested

Comments

@HaJue60
Copy link

HaJue60 commented Jan 5, 2023

Describe the bug

  1. Health Check invidious container on docker fails.
  2. I can see Message: Error connecting to 'invidious-db:5432': Connection refused (Socket::ConnectError)
  3. application is running, but very very slow.

Steps to Reproduce

Logs

Screenshots

logs.txt
docker-compose.yml.txt

Additional context

@HaJue60 HaJue60 added the bug Something isn't working label Jan 5, 2023
@unixfox
Copy link
Member

unixfox commented Jan 5, 2023

Something is wrong with the dns server.

Can you explain how did you install invidious?

@HaJue60
Copy link
Author

HaJue60 commented Jan 5, 2023

Hello Unixfox,
thank you for the fast anser.
I installed it as descibed in https://docs.invidious.io/installation/#docker-compose-method-production
it is a fresh installation.

nslookup www.youtube.com on server is working. see attachment
nslookup_on_raspi.txt

inside the container I got an error:
/invidious $ nslookup www.youtube.com
;; connection timed out; no servers could be reached

/invidious $

So you it seems that you are right, but at the moment I have no idea why the docker container connot find the dns-server

@unixfox
Copy link
Member

unixfox commented Jan 5, 2023

What's the architecture of your RPI? Is it ARMv8 or ARM64? You can find it in uname -a.

By the way on RPI you should use the correct docker image: #361 (comment)

@unixfox unixfox added question Further information is requested and removed bug Something isn't working labels Jan 5, 2023
@unixfox unixfox changed the title [Bug] Hostname lookup for www.youtube.com failed: Try again (Socket::Addrinfo::Error) [Question] Hostname lookup for www.youtube.com failed: Try again (Socket::Addrinfo::Error) Jan 5, 2023
@HaJue60
Copy link
Author

HaJue60 commented Jan 5, 2023

System: Kernel: 5.15.76-v8+ aarch64 bits: 64 Console: tty 0 Distro: Debian GNU/Linux 11 (bullseye)
Machine: Type: ARM Device System: Raspberry Pi 4 Model B Rev 1.4 details: BCM2835 rev: d03114 serial:
uname -a
Linux raspberrypi 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux

@HaJue60
Copy link
Author

HaJue60 commented Jan 5, 2023

maybe important:
I've running a pihole in the same docker environment.

@HaJue60
Copy link
Author

HaJue60 commented Jan 5, 2023

I found a workaround:
I've changed the docker-compose.yml of the pihole as desribed in

https://discourse.pi-hole.net/t/solve-dns-resolution-in-other-containers-when-using-docker-pihole/31413

now it is working

@unixfox
Copy link
Member

unixfox commented Jan 5, 2023

I'll close this issue as it was a misconfiguration on your side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants