Error "111: Connection refused" only after some hours

Hi all,

I have kong deployed in a server that starts to throw connection refused errors after some hours:

2307#0: *1550946 connect() failed (111: Connection refused) while connecting to upstream, client: 10.100.0.4, server: kong

I searched on threads about this error but most people are having this problem with host configuration. I don’t think that’s the reason of mine since Kong actually works correctly until this errors shows up.

Might be related to some configuration like the lua_socket_pool_size but I’m not 100% sure. Anyone have experienced similar problems?