Announcement

#1 2021-02-11 16:43:46

Netshark
Member
2021-02-11
2

Android App cant log in: boolean org.piwigo.io.model.....

Hello/Hi/Greetings,

I just installed Piwigo on my own domain/self hosted (rented space, not a home box).  Looks great, I like it.  Only put a test batch of photos on it so far.  path is: netshark.wtf/pics

I downloaded the app so I can upload photos from my phone but I cant seem to login.  It asks for server so I put in netshark.wtf and my password associated with my domain.  The error is:  "Attempt to read from field boolean org.piwigo.io.model.SuccessResponse.result' on a null object reference"

If I log in as guest I can see the gallery but can view only of course.

I tried using netshark.wtf/pics as my login path to my domain which should be wrong anway, doesnt work, says "wrong password". 

So the gallery online is really cool, I just cant upload pics from my phone to it.  I got rid of Google altogether and trying to do my own self hosted thing. 

Please let me know your thoughts, thank you!

-Netshark

**server environment**
Piwigo 11.3.0 Check for upgrade
Operating system: Linux
PHP: 7.4.8 (Show info) [2021-02-11 10:41:02]
MySQL: 10.0.38-MariaDB-cll-lve [2021-02-11 10:41:02]
Graphics Library: GD 2.2.5

Piwigo URL: http://netshark.wtf/pics

Offline

 

#2 2021-02-11 17:30:40

erAck
Only trying to help
2015-09-06
1414

Re: Android App cant log in: boolean org.piwigo.io.model.....

Make sure the "server address" is completed to a valid URI including the protocol and a trailing slash, i.e. in your case it should be
http://netshark.wtf/pics/


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2021-02-11 19:51:50

ckayfish
Member
2021-01-25
53

Re: Android App cant log in: boolean org.piwigo.io.model.....

Since you got a bad password error, it might be worth pointing out that both the username and passwords are case sensitive


--- devOps engineer; sometimes coder. I make your apps run with 99.999% uptime ---

Offline

 

#4 2021-02-11 21:49:19

Netshark
Member
2021-02-11
2

Re: Android App cant log in: boolean org.piwigo.io.model.....

Thanks guys.  Maybe Im getting closer, now a different error trying to log in, having to due with encryption error, not a valid certificate trying to connect (SSL) to my host. 

What I did was put the long path in, for example netshark.wtf/home/domains/netshark.wtf/public_html/pics /    -- and get that SSL no certificate error.

Tried netshark.wtf/pics/  as server name, gives a simple bad login error.  Take off the trailing slash and it gets the boolean error. 

I wouldnt think I need the long path but I'll contact my storage host at hostrocket and see what's up on their end.

Thanks again.

Last edited by Netshark (2021-02-11 21:53:15)

Offline

 

#5 2021-02-12 01:42:11

erAck
Only trying to help
2015-09-06
1414

Re: Android App cant log in: boolean org.piwigo.io.model.....

Your "long" path exposing the internal path certainly is not correct.

The error with SSL is that you don't have a certificate for your domain, trying https://netshark.wtf/pics/ yields a SSL_ERROR_BAD_CERT_DOMAIN because the certificate is for sh1.hostrocket.com, apparently your shared hosting provider.

It might be that's related and the app tries https if available and then traps into that error. You never included a http or https protocol with your example input here.


Running Piwigo at https://erack.net/gallery/

Offline

 

#6 2021-02-12 04:40:06

ckayfish
Member
2021-01-25
53

Re: Android App cant log in: boolean org.piwigo.io.model.....

Can you disable SSL completely, or add a valid cert to your website?

https://letsencrypt.org/getting-started/


--- devOps engineer; sometimes coder. I make your apps run with 99.999% uptime ---

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact