From 4854c6a0f452a81c9e0f62c2fab5db4b5fa8370b Mon Sep 17 00:00:00 2001 From: Junker der Provinz Date: Thu, 22 Oct 2026 05:35:19 +0200 Subject: [PATCH] s3: skip the local filer socket on Windows (#11921) The filer only listens on its unix socket when GOOS is not windows, so with a filer socket path configured on Windows the S3 server dialed a socket that never exists. Fixes #7278 --- weed/command/s3.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weed/command/s3.go b/weed/command/s3.go index 425bd47639..958afb8eab 100644 --- a/weed/command/s3.go +++ b/weed/command/s3.go @@ -341,7 +341,8 @@ func (s3opt *S3Options) startS3Server() bool { router := mux.NewRouter().SkipClean(true) var localFilerSocket string - if s3opt.localFilerSocket != nil { + // The filer only listens on its local socket outside Windows. + if s3opt.localFilerSocket != nil && runtime.GOOS != "windows" { localFilerSocket = *s3opt.localFilerSocket } var s3ApiServer *s3api.S3ApiServer