I'm running a project with docker and traefik.
I try to access http://myproject.localhost/typo3 Suddenly i get this error: "404 page not found"
I don't know how to fix or to debug this error. The project was running fine before, maybe some files are corrupted but i'm not sure.
Project v12.
Traefik configuration:
version: '3'
networks:
web:
external: true
services:
traefik:
image: traefik:v2.4
container_name: traefik
command:
- "--log.level=DEBUG"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
restart: always
ports:
- "80:80"
- "7000:8080" # The Web UI (enabled by --api)
networks:
- web
volumes:
- /var/run/docker.sock:/var/run/docker.sock
This is the Docker-compose.yml configuration
services:
database:
container_name: myproject_database
image: mysql:8.0
working_dir: /var/www/html
volumes:
- database:/var/lib/mysql:cached
networks:
- stack
restart: always
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=true
- MYSQL_DATABASE=myproject
- MYSQL_USER=myproject
- MYSQL_PASSWORD=myproject
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci --sql_mode=''
application:
container_name: myproject_application
build:
context: .
dockerfile: ./docker/application/application.Dockerfile
args:
USER_ID: $USER_ID
GROUP_ID: $GROUP_ID
depends_on:
- database
extra_hosts:
- 'myproject.localhost:127.0.0.1'
networks:
- web
- stack
labels:
- "traefik.enable=true"
# Entity
- "traefik.http.routers.myproject.rule=
Host(`myproject.localhost`) ||
Host(`360.myproject.localhost`)
)"
- "traefik.http.routers.myproject.entrypoints=web"
- "traefik.http.routers.myproject_ssl.rule=
Host(`myproject.localhost`) ||
Host(`360.myproject.localhost`)
"
- "traefik.http.routers.myproject_ssl.entrypoints=websecure"
- "traefik.http.routers.myproject_ssl.tls=true"
- "traefik.http.services.myproject.loadbalancer.server.port=80"
- "traefik.docker.network=web"
working_dir: /var/www/html
volumes:
- ./docker/application/php.ini:/usr/local/etc/php/php.ini:cached
- ./:/var/www/html
restart: always
tooling:
container_name: myproject_tooling
build:
context: .
dockerfile: ./docker/tooling/tooling.Dockerfile
args:
USER_ID: $USER_ID
GROUP_ID: $GROUP_ID
networks:
- stack
tty: true
working_dir: /var/www/html
volumes:
- ./:/var/www/html
restart: always
caching:
image: redis:7.0
restart: always
networks:
- stack
networks:
web:
external: true
stack:
external: false
volumes:
database:
In the logs of traefick i see this error:
time="2025-12-01T14:56:24Z" level=error msg="Provider connection error Error response from daemon: , retrying in 2.244889923s" providerName=docker
time="2025-12-01T14:56:27Z" level=error msg="Failed to retrieve information of the docker client and server host: Error response from daemon: " providerName=docker
time="2025-12-01T14:56:27Z" level=error msg="Provider connection error Error response from daemon: , retrying in 7.05598259s" providerName=docker
time="2025-12-01T14:56:34Z" level=error msg="Failed to retrieve information of the docker client and server host: Error response from daemon: " providerName=docker
time="2025-12-01T14:56:34Z" level=error msg="Provider connection error Error response from daemon: , retrying in 11.90132241s" providerName=docker
time="2025-12-01T14:56:46Z" level=error msg="Failed to retrieve information of the docker client and server host: Error response from daemon: " providerName=docker
time="2025-12-01T14:56:46Z" level=error msg="Provider connection error Error response from daemon: , retrying in 10.919562466s" providerName=docker
Application log:
other logs:
[Sun Nov 30 16:11:07.041728 2025] [mpm_prefork:notice] [pid 1:tid 1] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Dec 01 14:31:02.162197 2025] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.65 (Debian) PHP/8.2.29 configured -- resuming normal operations
I didn't find any solution but to reinstall the project again, it is most probably i had to upgrade the docker engine. This is the most probably fixed the issue. I hope my answer help.