Open westfood opened 6 years ago
@westfood Thanks for the issue - This seems more related to Swarmkit/docker, rather than aws/azure setup. Could you open an issue within their repo? Additionally having steps, at its most basic, to replicate this issue would really help.
I will try to prepare reproducible steps in few days.
Sorry, I do not have time to provide reproducible steps for dapperbox in near future. Colleague moved our API docs to swagger, so it's not priority now. So if no one else experience this issues, this could be closed I guess. Good luck!
Expected behavior
Routing mesh always routes to Task.
Actual behavior
ELB sometimes get 502 from backend, but i cannot see this in Task/Service logs. In past 12 hours i get 94% uptime when I monitor service via StatusCake
Information
I am not running Docker4AWS in Classic LB. I user CLB to publish ports on managers, but then I use them as Target group for ALB/NLB. It works for dozen other services.
What I observe is that from time to time, ALB get 502 from my swarm manager instance. But there is no request in Task logs. It seems like this request never gets to Dapperdox - it's logs responds always with 2xx/3xx. In non-swarm host this works flawlessly.
I used Dapperdox 1.1.1 and latest 1.2.2. I am not sure how properly debug this issues, as I did not found any docs related to debugging routing mesh, so I am not sure, where the trouble happened.
Dockerfile: https://github.com/bircow/docker-dapperdox
Steps to reproduce the behavior