thielepaul / photoprism-mobile

Flutter App for PhotoPrism
GNU General Public License v3.0
898 stars 69 forks source link

No error no pictures when connecting to https instance with photoprism auth #75

Open D4nte opened 3 years ago

D4nte commented 3 years ago

Hi,

Running Photoprism 201203-8ea5a882-Linux-x86_64, behind nginx, I enabled SSL in nginx and use a letsencrypt certificate. No issue to access the website and log in using Firefox on Linux. I use the photoprism authentification (set the env var in the docker-compose, no http basic auth setup in nginx).

I just downloaded the android apk so I am guessing it's e41abfe899bac58ca73e056a95b9955bfd3a64b6

In the settings, I changed the URL to point to my instance (https:// handle).

Authentication, enabled "photoprism", kept admin user, use the password that I setup and works on desktop.

Hit "save"

Nothing happens, all screens are empty. The logs only show events related to the auto upload (not enabled).

Let me know if I can provide any info to help.

RAYs3T commented 3 years ago

The issue is actually the SSL version. Some issue with Dart. If you enable an older version it should work.

ssl_protocols            TLSv1.1 TLSv1.2 TLSv1.3;

See: https://github.com/photoprism/photoprism-mobile/issues/68