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

Bad default values in configuration #427

Closed
emilevauge opened this issue Jun 2, 2016 · 12 comments
Closed

Bad default values in configuration #427

emilevauge opened this issue Jun 2, 2016 · 12 comments
Assignees
Labels

Comments

@emilevauge
Copy link
Member

Default values for EntryPoints and DefaultEntryPoints are not set correctly:
https://github.com/containous/traefik/blob/master/traefik.go#L117
This ends up with error:

No entrypoint defined for frontend ..., defaultEntryPoints:[]. Skipping it
@erolg
Copy link

erolg commented Jun 11, 2016

This issue effect to Docker Compose demo

docker logs demo_traefik_1
...
time="2016-06-11T04:09:33Z" level=debug msg="Last docker config received more than 2s, OK" time="2016-06-11T04:09:33Z" level=debug msg="Creating frontend frontend-Host-whoami-docker-localhost" time="2016-06-11T04:09:33Z" level=error msg="No entrypoint defined for frontend frontend-Host-whoami-docker-localhost, defaultEntryPoints:[]. Skipping it"

@emilevauge
Copy link
Member Author

@erolg which version of traefik?

@erolg
Copy link

erolg commented Jun 12, 2016

@emilevauge, treafik:latest from docker hub

docker images traefik

REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
traefik             latest              bf7f4f01be40        12 days ago         19.91 MB

docker exec demo_traefik_1 /traefik version

2016/06/12 18:34:56 v1.0.0-rc1 built on the 2016-05-30_10:25:50PM

@rebaseTraefik
Copy link

rebaseTraefik commented Jun 12, 2016

Please update to the latest image :) this issue is solved.

@erolg
Copy link

erolg commented Jun 12, 2016

sorry I updated my image but forgot remove old container.

@ldez ldez added the kind/bug/confirmed a confirmed bug (reproducible). label Apr 29, 2017
@makeittotop
Copy link

I'm under the impression that the "defaultEntryPoint" is optional and if undefined it should fall back to "http". Based on this assumption I'd say that this issue still exists in the latest traefik binary - v1.2.3.

I didn't have the defaultEntryPoint defined as "http" in the traefik.toml file and I was hooking up traefik to consulCatalog and didn't define the entryPoint in the consul service either.

This is the error I got :-
No entrypoint defined for frontend <...>, defaultEntryPoints:[]

@Kurt108
Copy link

Kurt108 commented Oct 24, 2017

I can confirm the error in the docker-compose-demo (#427 (comment))
It only works for me by setting

# Entrypoints to be used by frontends that do not specify any entrypoint.
# Each frontend can specify its own entrypoints.
#
# Optional
# Default: ["http"]
#
defaultEntryPoints = ["http"]

it does not work with

# Entrypoints to be used by frontends that do not specify any entrypoint.
# Each frontend can specify its own entrypoints.
#
# Optional
# Default: ["http"]
#
# defaultEntryPoints = ["http", "https"]

@armpogart
Copy link

Same here on latest version of traefik, if I don't specify defaultEntryPoints explicitly, it doesn't work.

@dkinzer
Copy link

dkinzer commented Nov 28, 2017

I ran into the same issue using the docker image for the latest build.

@michaelarnauts
Copy link

This issue isn't fixed. I still have to add defaultEntryPoints = ["http"] to my traefik.toml file for the docker-compose to work.

@ldez
Copy link
Contributor

ldez commented Jan 23, 2018

@micaelmbagira Fixed in 1.5, see #2501

@michaelarnauts
Copy link

... what was released about 40 minutes ago. Thanks! :) Sorry for the spam!

@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

10 participants