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

Can't login to my nextcloud server, blank white screen #106

Closed ioogithub closed 3 years ago

ioogithub commented 3 years ago
  1. Open the app
  2. Click on 3 bars and select Login
  3. Enter nextcloud address and click Continue.

The result is a white screen with Sign in...

The only action here is to click the back button.

If I try to use the Open in browser button, I get a message:

Untrusted Certificate Do you trust this certificate?

Click "Trust"

nothing happens, the screen just refreshes. Click trust again and the screen again refreshes.

There is nothing else to try here.

I can't see any other path to sign in. I am signed in using the nextcloud android app and in a browser without errors, not sure why I can't use this app.

vauvenal5 commented 3 years ago
ioogithub commented 3 years ago

I am using yaga version 0.22.3 downloaded from f-droid I am not using a piHole, I am using a self-signed certificate, the one provided with Apache on Ubuntu. I don't know if this means custom.

When I click Open in Browser, it displays the message: Do you trust this certificate and it displays the correct Subject, Issuer and Fingerprint so it is able to detect and parse cert data correctly. When I press the Trust button however it does nothing but refresh the window.

The continue button on the other hand is just a blank white screen with the title "Sign in..." no error message or other feedback.

What is the format for entering the URL address? are you looking for:

I also found that if i enter some random string (test.net) I get the same blank white page.

Since writing this ticket, I have installed several other Nextcloud android apps on the same phone, they are all working:

These seem to get the credentials from the Nextcloud files app.

The 'Cookbook' asked for manual credentials and this worked as well.

While these other apps are nice, an online photo gallery is the top reason why I installed Nextcloud so I would really like to get this working.

vauvenal5 commented 3 years ago
Pato05 commented 3 years ago

@vauvenal5 I'm so sorry, I forgot about this, will try to send the logcat within an hour. By the way, if this may help, you may use Java within the app by using the MethodChannel class and by implementing the functions inside your java file

vauvenal5 commented 3 years ago

https://github.com/vauvenal5/yaga/issues/34#issuecomment-803296643

vauvenal5 commented 3 years ago

@Pato05 about the MethodChannel, I am aware of that option, however, implementing the entire communication flow as a Java class only to support self-signed certificates is somewhat extensive. Also it kind of defies the purpose of using a platform independent framework for building the app.

vauvenal5 commented 3 years ago

Duplicate of #34