Closed Howy76 closed 2 years ago
do you have your server in a datacenter that might be blocked by chefkoch ? can you try a few different websites to import from ?
generally speaking we have implemented a proper error catch for the future but the issue your log shows indicates that chefkoch is refusing your conneciton
Unfortunately, all pages are blocked. My server is a small RaspPi that I have at home. I can also use other browsers like Edge, Chrome or Brave. All the same error message. The recipe pages are displayed normally in the browser.
interesting, i can import from all of those sites. Is there any firewall or network service that could block the requests from your PI ?
A firewall (ufw) is not installed. However, I have a network filter running for my home network. It filters the advertising out of the pages for me. PiHole. This filter does not show me any restrictions for the recipe pages. I have already whitelisted them. Brings no improvement. If I disable it, it doesn't work either. Nothing else is installed. I'm a little confused...
The db_recipes container has a console - what happens when you try wget www.lecker.de
from that console??
Do you mean it like this:
pi@raspberrypi:~ $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 64fd832847e5 nginx:mainline-alpine "/docker-entrypoint.…" 9 hours ago Up 38 minutes 0.0.0.0:8090->80/tcp, :::8090->80/tcp tandoor-nginx_recipes-1 0cffee96becb vabene1111/recipes "/opt/recipes/boot.sh" 9 hours ago Up 39 minutes 8080/tcp tandoor-web_recipes-1 eba676f107de postgres:11-alpine "docker-entrypoint.s…" 9 hours ago Up 39 minutes 5432/tcp tandoor-db_recipes-1 pi@raspberrypi:~ $ docker exec -it eba676f107de bash bash-5.1# wget www.lecker.de wget: bad address 'www.lecker.de' bash-5.1# wget https://www.chefkoch.de/ wget: bad address 'www.chefkoch.de' bash-5.1#
@Howy76 - it doesn't look like your docker container has a functional DNS or can't access the internet - you will need to fix that before url import will function.
@smilerz You were right about the faulty DNS. I have in the file
/etc/network/interfaces
added the following entry.
auto eth0 iface eth0 inet dhcp dns-nameservers 8.8.8.8
This gave the container access to the internet and the recipe import functioned.
Thank you very much for your hint.
Issue
Hi there, I'm new here and trying my hand at the recipe database. Thank you for the great project. The database works for me so far and I can also create new users and recipes myself. However, I cannot import recipes from any external site. In the frontend I get a red popup window and the message: Server Error (500). I have an Apache server running on port 80 with a small homepage. I don't have a domain and I don't want external access to the database.
The container seems to be running fine for me: pi@raspberrypi:/opt/tandoor $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 64fd832847e5 nginx:mainline-alpine "/docker-entrypoint.…" 2 hours ago Up 9 minutes 0.0.0.0:8090->80/tcp, :::8090->80/tcp tandoor-nginx_recipes-1 0cffee96becb vabene1111/recipes "/opt/recipes/boot.sh" 2 hours ago Up 9 minutes 8080/tcp tandoor-web_recipes-1 eba676f107de postgres:11-alpine "docker-entrypoint.s…" 2 hours ago Up 10 minutes 5432/tcp tandoor-db_recipes-1
Have I perhaps forgotten a small configuration?
Tandoor Version
1.0.4
OS Version
Raspberry Pi / Buster
Setup
Docker / Docker-Compose
Reverse Proxy
No reverse proxy
Other
No response
Environment file
Docker-Compose file
Relevant logs