Morning, newbie here. Love the look of nextcloud but havenāt been lucky enough to get it working!
Iām not using a reverse proxy or anything fancy - Iām pointing a domain to my static IP and forwarding.
Been banging my head trying to get any of it to work. Logs show the below every time I try to check the domain:
NOTICE: PHP message: The response of the connection attempt to "http://subdomain.domain.com:443" was:
NOTICE: PHP message: Expected was: 0d2b46516a7d20b1870415d2841d0fe01cbd91fc328586fc
NOTICE: PHP message: The error message was: Recv failure: Connection reset by peer
I have a static IP, subdomain.domain.com DNS record and ports 80, 443, 8443 and 3478 pointed to the machine. The machine is a VM running ubuntu server 22.04 and I can confirm the DNS and port forwards all work as intended (forwarding 8080 allows me to get to the AIO page).
It gets more interesting when trying to access the AIO page externally via 8443; the letās encrypt bit fails also, giving the below:
{"level":"info","ts":1683875025.3970633,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
{"level":"info","ts":1683875025.4030795,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size for details."}
{"level":"error","ts":1683875038.3355348,"logger":"http.acme_client","msg":"challenge failed","identifier":"subdomain.domain.com","challenge_type":"http-01","problem":{"type":"urn:ietf:params:acme:error:unauthorized","title":"","detail":"211.148.52.142: Invalid response from http://subdomain.domain.com/.well-known/acme-challenge/rjkI22G0H2r7iShHVNHDMr4GUN4RNLwH6Xf2PRKRTuY: 404","instance":"","subproblems":[]}}
{"level":"error","ts":1683875038.3355842,"logger":"http.acme_client","msg":"validating authorization","identifier":"subdomain.domain.com","problem":{"type":"urn:ietf:params:acme:error:unauthorized","title":"","detail":"211.148.52.142: Invalid response from http://subdomain.domain.com/.well-known/acme-challenge/rjkI22G0H2r7iShHVNHDMr4GUN4RNLwH6Xf2PRKRTuY: 404","instance":"","subproblems":[]},"order":"https://acme-v02.api.letsencrypt.org/acme/order/1104783177/181671441917","attempt":1,"max_attempts":3}
Iāve redacted the URLs & IPs for privacy but they are correct. Any help would be greatly appreciated!
Thanks.
EDIT: This is my second attempt at a fresh install. As I know thereās nothing wrong with the DNS or port forwards I tried to set the container to ignore the DNS check as per documentation but that didnāt work either; I got it to install nextcloud but couldnāt get to any login screens.