Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tests fail on HEAD (Traefik creates a non-existent entrypoint for the optional docker-compose profile) #24

@stasadev

Description

@stasadev

Preliminary checklist

  • I am using the latest stable version of DDEV
  • I am using the latest stable version of this add-on

Expected Behavior

DDEV should not create an entrypoint for the optional profile (mongo-express) that has not yet been started.

Actual Behavior

https://github.com/ddev/ddev-mongo/actions/runs/16691927047/job/47250873609#step:2:291

Router doesn't become healthy:

$ docker logs ddev-router
2025-08-02T12:18:26+03:00 ERR Error while creating certificate store error="failed to load X509 key pair: tls: failed to find any PEM data in certificate input" tlsStoreName=default
2025-08-02T12:18:26+03:00 ERR EntryPoint doesn't exist entryPointName=http-9091 routerName=php-2023-mongo-express-8081-http@file
2025-08-02T12:18:26+03:00 ERR No valid entryPoint for this router routerName=php-2023-mongo-express-8081-http@file
2025-08-02T12:18:26+03:00 ERR EntryPoint doesn't exist entryPointName=http-9092 routerName=php-2023-mongo-express-8081-https@file
2025-08-02T12:18:26+03:00 ERR No valid entryPoint for this router routerName=php-2023-mongo-express-8081-https@file
2025-08-02T12:18:26+03:00 ERR EntryPoint doesn't exist entryPointName=http-9092 routerName=php-2023-mongo-express-8081-https@file
2025-08-02T12:18:26+03:00 ERR No valid entryPoint for this router routerName=php-2023-mongo-express-8081-https@file

This error was hidden from us because we did not have proper validation before:

Steps To Reproduce

Using DDEV HEAD:

ddev add-on get ddev/ddev-mongo
ddev restart

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions