tiangolo / flask-frontend-docker

Minimal project generator with a Flask backend, a modern frontend (Vue, React or Angular), a Traefik load balancer with HTTPS, all based on Docker.
MIT License
130 stars 26 forks source link

This change fixes some sporadic 502 responses of traefic on backend #2

Closed tigrankhachikyan closed 5 years ago

tigrankhachikyan commented 5 years ago

The ref ticket: https://github.com/containous/traefik/issues/3237

And my comment:

Looks like I had the same issue. Using traefik in a Swarm. I have a backend service configured as

backend: labels:

So the call to localhost/api/cities/all was failing on each second request (502).

Updated my treafik docker container form v1.6 to the latest one 1.7.9-alpine rebuild everything and now seems everything is working

tiangolo commented 5 years ago

Great, thank you! :tada: :rocket: