Hi! I'm trying out the Service Fabric provider for the first time. Running into some issues. Here's my config:
debug = true
logLevel = "INFO"
defaultEntryPoints = ["http", "https"]
[entryPoints]
[entryPoints.http]
address = ":81"
[api]
entrypoint="dashboard"
[entryPoints.dashboard]
address = ":8443"
[serviceFabric]
clusterManagementUrl = "https://localhost:19080"
apiVersion = "3.0"
refreshSeconds = 10
[serviceFabric.tls]
cert = "C:/Users/rdpadmin/TraefikTest/sf.crt"
key = "C:/Users/rdpadmin/TraefikTest/sf.key"
insecureSkipVerify = true
Here's my ServiceManifest.xml:
<StatelessServiceType ServiceTypeName="ApiType" UseImplicitHost="true">
<Extensions>
<Extension Name="Traefik">
<Labels xmlns="http://schemas.microsoft.com/2015/03/fabact-no-schema">
<Label Key="traefik.frontend.rule.apiforwarder">PathPrefix: /api/, /swagger, /identity, /content</Label>
<Label Key="traefik.enable">true</Label>
<Label Key="traefik.frontend.passHostHeader">true</Label>
</Labels>
</Extension>
</Extensions>
</StatelessServiceType>
When I go to the dashboard I see:
So, it looks like things are working. However, I'm not sure if I'm supposed to see various instances of my service listed in the Backends box (it's running in 5 instances).
When I run:
iwr -UseBasicParsing http://localhost:81/api/diagnostic/healthcheck
From the local machine running Traefik, I get "Service Unavailable". So, I'm guessing it doesn't know which backend to route it to.
One more thing I notice that might possibly be related, in the Traefik logs I see:
ERRO[2019-09-27T15:22:44-07:00] Undefined entry point(s) 'https' for frontend frontend-fabric:/Frontend/Api
INFO[2019-09-27T15:22:44-07:00] Skipping same configuration for provider servicefabric
INFO[2019-09-27T15:22:53-07:00] Checking service fabric config
ERRO[2019-09-27T15:22:53-07:00] Undefined entry point(s) 'https' for frontend frontend-fabric:/Frontend/Api
INFO[2019-09-27T15:22:53-07:00] Skipping same configuration for provider servicefabric
INFO[2019-09-27T15:23:03-07:00] Checking service fabric config
ERRO[2019-09-27T15:23:03-07:00] Undefined entry point(s) 'https' for frontend frontend-fabric:/Frontend/Api
INFO[2019-09-27T15:23:03-07:00] Skipping same configuration for provider servicefabric
INFO[2019-09-27T15:23:13-07:00] Checking service fabric config
ERRO[2019-09-27T15:23:13-07:00] Undefined entry point(s) 'https' for frontend frontend-fabric:/Frontend/Api
INFO[2019-09-27T15:23:13-07:00] Skipping same configuration for provider servicefabric
I'm wondering if that "Undefined entry point" thing is part of the problem. Thanks!
Version: v1.7.9
Codename: maroilles
Go version: go1.11.5
Built: 2019-02-11_11:36:32AM
OS/Arch: windows/amd64