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

Broken provider icon in Dashboard #5813

Closed
strarsis opened this issue Nov 11, 2019 · 4 comments
Closed

Broken provider icon in Dashboard #5813

strarsis opened this issue Nov 11, 2019 · 4 comments
Labels
area/webui kind/bug/confirmed a confirmed bug (reproducible). priority/P2 need to be fixed in the future status/5-frozen-due-to-age
Projects
Milestone

Comments

@strarsis
Copy link

What did you do?

Open a weighted service in Dashboard (HTTP Services tab).

What did you expect to see?

Proper provider icons in Services list.

What did you see instead?

Broken image indicator from browser instead of a provider icon.
dc4d5fcd-f3a8-4632-88cc-0af2e227dbf8

Output of traefik version: (What version of Traefik are you using?)

Version:      2.0.4
Codename:     montdor
Go version:   go1.13.3
Built:        2019-10-28T20:23:57Z
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?

docker-compose.yml:

version: '3'

services:
  reverse-proxy:
    image: traefik:v2.0.4
    container_name: "traefik"
    restart: always
    command:
      #- "--log.level=DEBUG"
      - "--api.insecure=true"
      - "--providers.docker=true"
      - "--providers.docker.exposedbydefault=false"
      - "--providers.file.filename=/etc/traefik/dynamic_conf.toml"
      - "--providers.file.watch=true"
      - "--entrypoints.web.address=:80"
      - "--entrypoints.websecure.address=:443"
      - "--certificatesresolvers.myhttpchallenge.acme.httpchallenge=true"
      - "--certificatesresolvers.myhttpchallenge.acme.httpchallenge.entrypoint=web"
      #- "--certificatesresolvers.myhttpchallenge.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory"
      - "--certificatesresolvers.myhttpchallenge.acme.email=webmaster@example.com"
      - "--certificatesresolvers.myhttpchallenge.acme.storage=/letsencrypt/acme.json"
    ports:
      - "80:80"
      - "443:443"
      - "8080:8080"
    volumes:
      - ./letsencrypt:/letsencrypt
      - ./conf/dynamic_conf.toml:/etc/traefik/dynamic_conf.toml
      - /var/run/docker.sock:/var/run/docker.sock
    networks:
      - web

File provider for extra config:

[http.routers]
  [http.routers.test1]
    rule = "Host(`example.com`)"
    entrypoints = [ "websecure" ]
    service = "test1-api"
    [http.routers.test1.tls]
      certresolver = "myhttpchallenge"

[http.services]
  [http.services.test1-api]
    [[http.services.test1-api.weighted.services]]
      name = "test1-apiv1"
      weight = 1

  [http.services.test1-apiv1]
    [http.services.test1-apiv1.loadBalancer]
      [[http.services.test1-apiv1.loadBalancer.servers]]
        url = "127.0.0.2"
@ldez
Copy link
Member

ldez commented Nov 11, 2019

Hello,

I use your configuration and I don't reproduce:
Screenshot from 2019-11-12 00-26-30

@strarsis
Copy link
Author

strarsis commented Nov 12, 2019

@ldez: You have to open/view the weighted service (test1-api@file).

Side note: It would be nice if one can just click on the listed services that are listed in another service and then go to that service instead. Currently one has to go back to services list first, then select the service that has been previously listed for the other service.

@ldez ldez added area/webui kind/bug/confirmed a confirmed bug (reproducible). and removed contributor/waiting-for-feedback labels Nov 12, 2019
@ldez ldez added this to issues in v2 via automation Nov 12, 2019
@ldez
Copy link
Member

ldez commented Nov 12, 2019

Ok I reproduce:
Screenshot from 2019-11-12 01-45-09

@ldez ldez added the priority/P2 need to be fixed in the future label Nov 12, 2019
@traefiker traefiker added this to the 2.1 milestone Dec 10, 2019
@traefiker
Copy link
Contributor

Closed by #5983.

v2 automation moved this from issues to Done Dec 10, 2019
@traefik traefik locked and limited conversation to collaborators Jan 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/webui kind/bug/confirmed a confirmed bug (reproducible). priority/P2 need to be fixed in the future status/5-frozen-due-to-age
Projects
No open projects
v2
Done
Development

No branches or pull requests

3 participants