Re: nginx error (connect() failed, 61 "Connection refused", but everything works)

2018-08-15 Thread Gerben Wierda
> On 15 Aug 2018, at 14:05, Sergey Kandaurov wrote: > > >> On 15 Aug 2018, at 13:02, Gerben Wierda wrote: > > [..] > >> But nginx reports (apparently once per session): >> 2018/08/15 11:34:48 [error] 242#0: *881 kevent() reported that connect() >> failed (61: Connection refused) while conn

Re: nginx error (connect() failed, 61 "Connection refused", but everything works)

2018-08-15 Thread Sergey Kandaurov
> On 15 Aug 2018, at 13:02, Gerben Wierda wrote: [..] > But nginx reports (apparently once per session): >2018/08/15 11:34:48 [error] 242#0: *881 kevent() reported that connect() > failed (61: Connection refused) while connecting to upstream, client: > 192.168.2.67, server: MYHOST, reques

Re: nginx error (connect() failed, 61 "Connection refused", but everything works)

2018-08-15 Thread Gerben Wierda
Answering myself: if I change localhost to 127.0.0.1 the error message goes away. Why, though? Gerben Wierda Chess and the Art of Enterprise Architecture Mastering ArchiMate Architecture for Real Enterprises

nginx error (connect() failed, 61 "Connection refused", but everything works)

2018-08-15 Thread Gerben Wierda
I have a set of minio (S3-compatoble block storage) servers running behind nginx on macOS High Sierra. While everything seems to work OK, I have noticed an unexplained error in the nginx logs. For instance, when I use minio’s mc to ls a file: mc ls nginx/gerbentest/duplicati-ifdb6b7ac174b4e50