Nextcloud AIO buffer size issue

Good morning, I seem to be dealing with a well documented error, but somehow failing in the solution.

Ubuntu 22.0.4.4 LTS 6-bit
Docker 4.30.0
Nextcloud 29
Networking behind Tailscale Docker Extension 1.0.2
8GB Ram
Intel Core i5-3470

Installing Nextcloud on Docker for the first time, had a bare metal install that I set up almost a year ago and played with a bit. Assume minimal experience.

Everything installed smoothly, got to the AIO page no problem, but when I try to access the Nextcloud installation I get:

SSL_ERROR_INTERNAL_ERROR_ALERT

Apache Error Log:

Waiting for Nextcloud to start…
Waiting for Nextcloud to start…
Waiting for Nextcloud to start…
Waiting for Nextcloud to start…
Connection to nextcloud-aio-nextcloud (172.18.0.6) 9000 port [tcp/*] succeeded!
[Mon May 27 13:51:57.231997 2024] [mpm_event:notice] [pid 84:tid 140215155522312] AH00489: Apache/2.4.59 (Unix) configured – resuming normal operations
[Mon May 27 13:51:57.232071 2024] [core:notice] [pid 84:tid 140215155522312] AH00094: Command line: ‘/usr/local/apache2/bin/httpd -D FOREGROUND’
{“level”:“info”,“ts”:1716817917.6798801,“msg”:“using provided configuration”,“config_file”:“/tmp/Caddyfile”,“config_adapter”:“”}
{“level”:“info”,“ts”:1716817917.765632,“msg”:“failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See UDP Buffer Sizes · quic-go/quic-go Wiki · GitHub for details.”}

Following the advice of the article linked in the error code, plus several other posts on this site and elsewhere (eg. Can't increase receive buffer size on AIO WSL2 with Ubuntu host?) I updated my sysctl.conf to read:

net.core.rmem_max = 7500000
net.core.wmem_max = 7500000

At this point I have started from scratch (reinstalled ubuntu) twice to make sure I didn’t bugger something up and to fix things I knew I buggered up (change partition sizes, conflicting docker installs, dead containers, etc)

Does anyone have any suggestions on what I might be missing?
Thanks!

Sounds like the apache container cannot receive a certificate automatically because port 443 is not open and forwarded in your firewall?

For reference, output of docker inspect:

docker inspect nextcloud-aio-mastercontainer

[
    {
        "Id": "a6f48d737ac7dc1dae1b7b81e80c3e51f71d4e3202645aeba0112bf932928122",
        "Created": "2024-05-27T01:16:14.605866242Z",
        "Path": "/start.sh",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 515,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2024-05-27T03:36:02.337552984Z",
            "FinishedAt": "2024-05-27T03:35:59.090993849Z",
            "Health": {
                "Status": "healthy",
                "FailingStreak": 0,
                "Log": [
                    {
                        "Start": "2024-05-27T14:20:24.140278192Z",
                        "End": "2024-05-27T14:20:24.187599151Z",
                        "ExitCode": 0,
                        "Output": "Connection to localhost (::1) 80 port [tcp/http] succeeded!\nConnection to localhost (::1) 8000 port [tcp/*] succeeded!\nConnection to localhost (::1) 8080 port [tcp/http-alt] succeeded!\nConnection to localhost (::1) 8443 port [tcp/*] succeeded!\nConnection to localhost (::1) 9000 port [tcp/*] succeeded!\nConnection to localhost (127.0.0.1) 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2024-05-27T14:20:54.189172385Z",
                        "End": "2024-05-27T14:20:54.243100363Z",
                        "ExitCode": 0,
                        "Output": "Connection to localhost (::1) 80 port [tcp/http] succeeded!\nConnection to localhost (::1) 8000 port [tcp/*] succeeded!\nConnection to localhost (::1) 8080 port [tcp/http-alt] succeeded!\nConnection to localhost (::1) 8443 port [tcp/*] succeeded!\nConnection to localhost (::1) 9000 port [tcp/*] succeeded!\nConnection to localhost (127.0.0.1) 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2024-05-27T14:21:24.245032386Z",
                        "End": "2024-05-27T14:21:24.29612776Z",
                        "ExitCode": 0,
                        "Output": "Connection to localhost (::1) 80 port [tcp/http] succeeded!\nConnection to localhost (::1) 8000 port [tcp/*] succeeded!\nConnection to localhost (::1) 8080 port [tcp/http-alt] succeeded!\nConnection to localhost (::1) 8443 port [tcp/*] succeeded!\nConnection to localhost (::1) 9000 port [tcp/*] succeeded!\nConnection to localhost (127.0.0.1) 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2024-05-27T14:21:54.297115702Z",
                        "End": "2024-05-27T14:21:54.344322481Z",
                        "ExitCode": 0,
                        "Output": "Connection to localhost (::1) 80 port [tcp/http] succeeded!\nConnection to localhost (::1) 8000 port [tcp/*] succeeded!\nConnection to localhost (::1) 8080 port [tcp/http-alt] succeeded!\nConnection to localhost (::1) 8443 port [tcp/*] succeeded!\nConnection to localhost (::1) 9000 port [tcp/*] succeeded!\nConnection to localhost (127.0.0.1) 9876 port [tcp/*] succeeded!\n"
                    },
                    {
                        "Start": "2024-05-27T14:22:24.344863824Z",
                        "End": "2024-05-27T14:22:24.391314632Z",
                        "ExitCode": 0,
                        "Output": "Connection to localhost (::1) 80 port [tcp/http] succeeded!\nConnection to localhost (::1) 8000 port [tcp/*] succeeded!\nConnection to localhost (::1) 8080 port [tcp/http-alt] succeeded!\nConnection to localhost (::1) 8443 port [tcp/*] succeeded!\nConnection to localhost (::1) 9000 port [tcp/*] succeeded!\nConnection to localhost (127.0.0.1) 9876 port [tcp/*] succeeded!\n"
                    }
                ]
            }
        },
        "Image": "sha256:3f87c40b1d3fdda7c334fc0cb96de12d7a101d6972f1972b69b7e878da03e9ff",
        "ResolvConfPath": "/var/lib/docker/containers/a6f48d737ac7dc1dae1b7b81e80c3e51f71d4e3202645aeba0112bf932928122/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/a6f48d737ac7dc1dae1b7b81e80c3e51f71d4e3202645aeba0112bf932928122/hostname",
        "HostsPath": "/var/lib/docker/containers/a6f48d737ac7dc1dae1b7b81e80c3e51f71d4e3202645aeba0112bf932928122/hosts",
        "LogPath": "/var/lib/docker/containers/a6f48d737ac7dc1dae1b7b81e80c3e51f71d4e3202645aeba0112bf932928122/a6f48d737ac7dc1dae1b7b81e80c3e51f71d4e3202645aeba0112bf932928122-json.log",
        "Name": "/nextcloud-aio-mastercontainer",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": [
            "a8796a8d42cdd5aebda99c0269388c675c45275da1563cad5a1c87d52b04505f"
        ],
        "HostConfig": {
            "Binds": [
                "nextcloud_aio_mastercontainer:/mnt/docker-aio-config",
                "/run/host-services/docker.proxy.sock:/var/run/docker.sock:ro"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "bridge",
            "PortBindings": {
                "80/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "80"
                    }
                ],
                "8080/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8080"
                    }
                ],
                "8443/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8443"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "always",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                24,
                154
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": [],
            "BlkioDeviceReadBps": [],
            "BlkioDeviceWriteBps": [],
            "BlkioDeviceReadIOps": [],
            "BlkioDeviceWriteIOps": [],
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": [],
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware",
                "/sys/devices/virtual/powercap"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/ab0a004e31dee6c10ab249f2c6569cd15609cc5390b7ae5a8e79f7c0c935c987-init/diff:/var/lib/docker/overlay2/2eef197cc15281ce8c78fa574daa063bd1dc25d5abf55ed6259d0967fa446cf2/diff:/var/lib/docker/overlay2/9171910220d4a426758a0e4e4ced86d9a0c8cc07e1df5399bbc122c6aeaf8e4d/diff:/var/lib/docker/overlay2/ae8ba059902c2970331107cce6348c559c03b44a2652517343e5eef6f480e800/diff:/var/lib/docker/overlay2/f16184ede16c3f8f7938af0fa74505f2961cc22a4958176cc33937d23db6b3cf/diff:/var/lib/docker/overlay2/572af4fe18e4d078c615cd5b0e1f759d195699270344d693eef275faba5be50e/diff:/var/lib/docker/overlay2/ae8aa7d862ab94ba25156a8690332d991510c9a546e92ad4e659d5960168b680/diff:/var/lib/docker/overlay2/f0d22b3671f17623107a986165c13a513ca8b6554f92524e908da2c2809a1c42/diff:/var/lib/docker/overlay2/8ded7c7029c1e820e1e2d2bc728b8d851980890a15cf8691aa792eb53efd677e/diff:/var/lib/docker/overlay2/fe1c828ba9a1221fff2a4c500dda1348b53565ec3a42b425bb9a4606721685ec/diff:/var/lib/docker/overlay2/d140ffd8f7a34da2275ee6488fd8f35444c3ca88a87ba80d22386dde757ca082/diff:/var/lib/docker/overlay2/d30b56f7d68a9f9e6ab0e2a014b63e6c590942f0a9833d97192653fec5e1dcb7/diff:/var/lib/docker/overlay2/ff807d999ddfd83b2eda0cb03d010d8eaf68a0887a3e3434e8f8da30ec1f0db4/diff:/var/lib/docker/overlay2/c9b676c91d60097487dd91b25e09951fbcd03db1b65fb1e93fa31f0e4d9e7842/diff:/var/lib/docker/overlay2/04bed2491daeb88001946e22013c064493961ebdfd4a879d820a282a44933752/diff:/var/lib/docker/overlay2/5daf4c09ad0cf8263b7110264f522235ecc6aef7b08b2e2d14cc1c92d11703c5/diff:/var/lib/docker/overlay2/7e8c8c0eb082e21345659105e69ae826d8bfc17ee78b0eea71fd8a5999dc9500/diff:/var/lib/docker/overlay2/e003bb37a93a0c174f71ca350a3737484fe00ee022e3c9ee4e466bc0e9d4d8ce/diff:/var/lib/docker/overlay2/fe21493ea7406e6ab850d8bed987eaddac303e03d72d7fc521f27c255b56ba63/diff",
                "MergedDir": "/var/lib/docker/overlay2/ab0a004e31dee6c10ab249f2c6569cd15609cc5390b7ae5a8e79f7c0c935c987/merged",
                "UpperDir": "/var/lib/docker/overlay2/ab0a004e31dee6c10ab249f2c6569cd15609cc5390b7ae5a8e79f7c0c935c987/diff",
                "WorkDir": "/var/lib/docker/overlay2/ab0a004e31dee6c10ab249f2c6569cd15609cc5390b7ae5a8e79f7c0c935c987/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "volume",
                "Name": "nextcloud_aio_mastercontainer",
                "Source": "/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data",
                "Destination": "/mnt/docker-aio-config",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "bind",
                "Source": "/run/host-services/docker.proxy.sock",
                "Destination": "/var/run/docker.sock",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "a6f48d737ac7",
            "Domainname": "",
            "User": "root",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "ExposedPorts": {
                "80/tcp": {},
                "8080/tcp": {},
                "8443/tcp": {},
                "9000/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "PHPIZE_DEPS=autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c",
                "PHP_INI_DIR=/usr/local/etc/php",
                "PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
                "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
                "PHP_LDFLAGS=-Wl,-O1 -pie",
                "GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA",
                "PHP_VERSION=8.3.6",
                "PHP_URL=https://www.php.net/distributions/php-8.3.6.tar.xz",
                "PHP_ASC_URL=https://www.php.net/distributions/php-8.3.6.tar.xz.asc",
                "PHP_SHA256=53c8386b2123af97626d3438b3e4058e0c5914cb74b048a6676c57ac647f5eae"
            ],
            "Cmd": null,
            "Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "/healthcheck.sh"
                ]
            },
            "Image": "nextcloud/all-in-one:latest",
            "Volumes": null,
            "WorkingDir": "/var/www/docker-aio",
            "Entrypoint": [
                "/start.sh"
            ],
            "OnBuild": null,
            "Labels": {},
            "StopSignal": "SIGQUIT"
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "28533557772a4c52cbdf404113f0f71386c8f3644d16b20a64261efcce00bcf4",
            "SandboxKey": "/var/run/docker/netns/28533557772a",
            "Ports": {
                "80/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "80"
                    }
                ],
                "8080/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "8080"
                    }
                ],
                "8443/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "8443"
                    }
                ],
                "9000/tcp": null
            },
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "nextcloud-aio": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "MacAddress": "02:42:ac:12:00:02",
                    "NetworkID": "f6c3277323c613f5b766484980fef2e6d4be8be337ddefe6f65c0ca26d560827",
                    "EndpointID": "5c8180a2179f20ed3c479618666fb69c40952cf034d1c49e42f98bddd0303a28",
                    "Gateway": "172.18.0.1",
                    "IPAddress": "172.18.0.2",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "DriverOpts": null,
                    "DNSNames": [
                        "nextcloud-aio-mastercontainer",
                        "a6f48d737ac7"
                    ]
                }
            }
        }
    }
]

Yeah looks like you did not adjust the APACHE_PORT as recommended in all-in-one/reverse-proxy.md at main · nextcloud/all-in-one · GitHub