Default TLS store defined in multiple providers [swarm docker]

I am trying to understand the documentation on TLS stores so I can troubleshoot this error:

Default TLS Store defined in multiple providers: [swarm docker]

There is this passage:

Any store definition other than the default one (named default) will be ignored, and there is therefore only one globally available TLS store.

And then a bit further down:

The stores list will actually be ignored and automatically set to ["default"].

So my understanding is that you cannot really configure TLS stores. It always uses the default one.

Which is why I'm not sure how to tackle this error message about the store being defined in multiple providers.
The origin of that error is in this file but that's not giving me much pointers for how to resolve this either.

If anyone could enlighten me on this, I'd really appreciate it.

Maybe enlighten us by sharing your Traefik static and dynamic config, and docker-compose.yml if used :wink:

Forgive me, I appreciate that I didn't give you much to work with.

For what it's worth, this is part of a project where the config is auto-generated. The static config is handled in startup flags for Traefik, the dynamic config is set via labels on the containers and swarm services. Hence why it's a bit harder to extract.

However, I was since able to resolve the issue. Given that things are auto-generated, I had the label to define the default store on both a container and swarm service. Ensuring it was used only once was enough to make this error go away.

I feel the whole default store thing is a little bit confusing in how you have to configure it in the exact right way, but also no matter what you configure, it's going to use default anyway. But that's really just a minor gripe in what is otherwise an excellent product :slight_smile:

Thanks for taking the time to engage on this. We can consider the matter resolved.