Nextcloud version (eg, 20.0.5) : 25.0.6
Operating system and version (eg, Ubuntu 20.04) : Ubuntu Server 22.04 LTS
Apache or nginx version (eg, Apache 2.4.25) : Apache 2.4
PHP version (eg, 7.4) : 8.1.2
SQL Version : type Mysql 10.6.12
Hello,
Following a new installation, I encounter a problem on my nextcloud, locally and externally the connection is operational except when I am off wifi, I thought of a problem of IPV6, I thus deactivated it but the problem is always present.
The message on the web page is: “ERR_CONNECTION_RESET”.
wifi/4G? what is not working?
Can you do a ping and a traceroute/tracert to the Nextcloud server (in case it’s a mobile computer and not a smartphone)?
My problem is only present on smartphone in 4G connection, I tested the ping from a “juicessh” application the server answers correctly (on 4G network).
I tested a TELNET command on the domain name, it tries to connect to an IPV6 address, while IPV6 is disabled on Ubuntu server.
Your 4G connection is the only one with activated ipv6?
I would try to make it work on dual stack (v4/v6), for ipv6 you normally don’t have NAT and other mechanism that should normally simplify the task. But it depends a bit on your network setup. Here it could be the network or it could be the webserver that is just not listening to ipv6.
And you are not using ssl-connections? It makes everything again slightly more complicated, but if you use public networks, you should not use unencrypted connections.
Mostly it’s a network or webserver configuration issue. What can help is, if you run tcpdump (you can filter for specific ips, also v4/v6 etc.) on your server, there you can really see what request reach your server. If they don’t reach the server, it’s your network setup at the router, if it arrives at your server, it’s most likely firewall or webserver config.
There are more packages via ipv6, often these neighbor solicitation messages (depends a bit if you have more hosts on your network), but normally you get an answer (except you filter for incoming only).
I’d try a bit with ipv6, if you can receive packages, if you can ping other hosts etc. Not sure if your router blocks traffic (I did a subnet delegation to a second router behind the freebox).
I have a question to ask.
When connecting to mondomaine.fr with an IPV4 connection, the redirections are done by the port redirection of the box, but what about with IPV6?
The problem with ipv4 is that you just have one address. So the router says all traffic on one port of this ipv4 is redirected to an internal ipv4 with a port.
ipv6, you have plenty of addresses, so you can directly connect to the ip without address translations to internal ips.
If you can’t ping via ipv6, that is not good. Can you ping your Freebox ( Freebox-Server.local)?