I’m having a small issue with the HTTP service, and I wonder if anyone has any suggestions.
I’ve written a number of simple REST endpoints for interacting with the Nameko services, fronted by Nginx.
Occasionally, i get
connect() failed (111: Connection refused) while connecting to upstream in the logs.
Now the servers are not under any kind of extreme load, I can reproduce the issue by refreshing the HTTP response a few times. But what is odd, is that the page loads!
I’ve increased the number of Nameko workers, but it hasn’t helped.
So I’m not quite sure what is happening - maybe nginx is retrying automatically, and getting a response (?).
I’m going to upgrade all the Nameko instances to the current version and see if that helps, but I wanted to get this out there in the meantime.