vauvenal5 / yaga

Nextcloud Yaga - A Nextcloud first gallery app for Android.
https://vauvenal5.github.io/yaga-docs/
GNU General Public License v3.0
136 stars 9 forks source link

Localhost and no SSL #92

Closed realquink closed 3 years ago

realquink commented 3 years ago

Hi,

I can't seem to get it working with my local nextcloud server. I also don't have an SSL on my local nextcloud server. The attached screenshot is what I get when I try to hit the browser button. When I hit trust the popup just keeps popping up and won't accept it seems. I would love to get this working in my local home network. Please let me know if there is anything I can do.

Thanks

screenie

vauvenal5 commented 3 years ago

What do you mean by you do not have SSL? Ary you accessing your Nextcloud via http or https?

realquink commented 3 years ago

Accessing it locally via http. So like: http://192.168.1.x

vauvenal5 commented 3 years ago

I see. That is not supported by Nextcloud Yaga. You have to have at least a self-signed certificate.

realquink commented 3 years ago

Ok thanks. If its an easy change, would love if it could be updated to work like Nextcloud Talk, Notes, etc that allow you to do it via http without a cert.

vauvenal5 commented 3 years ago

I am not a big fan of this. So I will probably not support this. See the thing is per default Android requires you to use https connections to backend services. If you want access to http you have specifically to mark this in the app manifest. Which is of course possible, however, it opens a set of vulnerabilities for less experienced users.

I recommend setting up your instance with a self-signed cert. In the official Nextcloud Docker examples there is even an example with a Docker container prepared for generating certs.

vauvenal5 commented 3 years ago

Feel free to reopen this if you feel further discussion is necessary.