I could not stop noticing that this error suddenly shows, is this something we should just ignore and will be fixed or is this something we need to manually change our self, if yes how via CaddyFile?
There’s no instructions for it since its windows, I was just wondering since this did not show up with older caddy release.
I however tried various windows solutions to change the udp buffer size and reboot the server, it had no effect on that message during caddy startup, but it also says doesn’t allow setting of send buffer size Guess I’ll ignore it for now.
Oh, you’re on Windows? I have to admit I do not know how to handle this on Windows. That might be something to ask a Windows guru or even Microsoft support. (It’s a paid OS after all, they better support it.)
That is from official documentation and what people write on the net
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters]
"DefaultReceiveWindow"=dword:00250000
"DefaultSendWindow"=dword:00250000
I guess it might be fixed but only that the plugin doing a warning about it not being able to detect if it has been changed since its windows, perhaps?
thats weird, I just built 2.7.0-beta.2 and getting the same warning.
connection doesn't allow setting of send buffer size. Not a *net.UDPConn?. See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size for details.
uname -a Linux staging 5.15.0-71-generic #78-Ubuntu SMP Tue Apr 18 09:00:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Dockerfile
FROM caddy:2.7.0-beta.2-builder-alpine AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/shift72/caddy-geo-ip \
--with github.com/mholt/caddy-ratelimit \
--with github.com/ueffel/caddy-brotli \
--with github.com/darkweak/souin/plugins/caddy@f6c71a2907db087c109bfd76c10c515633d9809a \
--with github.com/darkweak/souin@f6c71a2907db087c109bfd76c10c515633d9809a
# --with github.com/darkweak/souin/plugins/caddy \
# --with github.com/darkweak/souin
FROM caddy:2.7.0-beta.2-alpine
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
RUN apk add --update curl
CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile", "--environ"]
2023-07-25 21:36:37.809 using provided configuration
2023-07-25 21:36:37.819 Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies
2023-07-25 21:36:37.823 admin endpoint disabled
2023-07-25 21:36:37.824 server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS
2023-07-25 21:36:37.824 enabling automatic HTTP->HTTPS redirects
2023-07-25 21:36:37.824 server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server
2023-07-25 21:36:37.824 started background certificate maintenance
2023-07-25 21:36:37.826 starting reload ticker
2023-07-25 21:36:37.826 reloading database
2023-07-25 21:36:37.826 reload successful
2023-07-25 21:36:37.833 enabling HTTP/3 listener
2x 2023-07-25 21:36:37.833 server running
2023-07-25 21:36:37.833 enabling automatic TLS certificate management
2023-07-25 21:36:37.835 connection doesn't allow setting of send buffer size. Not a *net.UDPConn?. See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size for details.
2023-07-25 21:36:37.835 autosaved config (load with --resume flag)
2023-07-25 21:36:37.835 serving initial configuration
2023-07-25 21:36:37.835 cleaning storage unit
2023-07-25 21:36:37.836 finished cleaning storage units
2023-07-25 21:38:14.828 handled request