freenas / iocage-plugin-nextcloud

Artifact file(s) for nextcloud iocage plugin
18 stars 34 forks source link

Nextcloud plugin install: SSL_ERROR_RX_RECORD_TOO_LONG #26

Open jm20122012 opened 3 years ago

jm20122012 commented 3 years ago

FreeNAS Version: FreeNAS-11.3-U5 Nextcloud Plugin Version: 20.0.0 Nextcloud Plugin Release: 11.3-RELEASE-p10 Browser: Firefox Network method: NAT (I know DHCP method can give untrusted domain errors which can be fixed, but I'm trying to use NAT specifically)

After installing the Nextcloud plugin and going to the initial login screen, when I attempt to login using the plugin-generated "ncadmin" account, it brings me to an error page that says:

SSL_ERROR_RX_RECORD_TOO_LONG

When I try to specify using http it auto redirects to https and ends up bringing up the same page with the SSL error.

When I try to login using Chromium it also gives an SSL error initially, but specifying http in the address bar finally brings me to the login page. When I try to log in it doesn't give me an error, but it instead just sits on the login page forever trying to login.

I read on a Github issue (from over 2 years ago) that this issue was related to some php file not being correctly copied to a certain directory, but the author didn't say where the file was supposed to be copied to. Also, apparently this bug was fixed in a subsequent version. So I'm not sure how to fix this.

I'm also not sure what log files are relevant to troubleshooting this, so please let me know where the relevant log files are located and I'll post those as well.

Any ideas on a fix for this?

EliasGabrielsson commented 3 years ago

The behavior you describe is expected but non less an issue. Basically is not the server not configured with SSL. You can close this issue and follow this thread https://github.com/freenas/iocage-plugin-nextcloud/issues/29.