traefik / traefik

The Cloud Native Application Proxy
https://traefik.io
MIT License
51.44k stars 5.11k forks source link

Marathon label traefik.port cannot be parsed #261

Closed ktf closed 7 years ago

ktf commented 8 years ago

I am trying to use traefik to redirect to some marathon app running with --net=host so I try to force the port by setting the marathon label traefik.port to 8888. Treafik however complains it cannot parse it seems to print the message in https://github.com/containous/traefik/pull/138/files#diff-fca3fabc700de27831fb573ad618a81dR140 . If I drop the label and switch to bridge mode, it works just fine.

boymaas commented 8 years ago

Same Issue here. Trying to run a marathoh app with --net=host and not able to explicitly define a port with traefik.port due to https://github.com/containous/traefik/blob/master/provider/marathon.go#L202

timoreimann commented 7 years ago

This was fixed in #1394 and will be part of the upcoming 1.3 release.