Announcement

  •  » Beta testing
  •  » iOS Beta app: HTTPS and login hostname

#1 2015-03-31 12:54:44

rvleij
Member
2015-03-31
7

iOS Beta app: HTTPS and login hostname

Hi everyone!

I'm beta testing the iOS beta app and I think I see problems using HTTPS for logging in.
If I change the http (which is indeed default) to https by tapping it, then fill out www.mysite.com/gallery (with or without trailing /), I get an error that the site probably doesn't support SSL (error -1012). Also, in case there's a problem logging in, the app removes the www from the hostname, which is not that great because www.site.com != site.com, especially when it comes to ssl.

If I use http I can login fine (so username/pwd work), but albums listed with 93 pics in don't show any pictures. Not sure if this is a permission problem, I login with a user with admin rights, so it should work. Can test that last bit a bit more.

Anyone any ideas?

/Robin

Last edited by rvleij (2015-03-31 12:55:30)

Offline

 

#2 2015-03-31 19:49:08

Hoser
Member
Utah
2015-01-14
88

Re: iOS Beta app: HTTPS and login hostname

Yay, someone that has SSL to test this!

Well, that's embarrassing. Yes, it should leave the www in there if you type it in. That should fix your issue.
([Github] Piwigo-Mobile issue #63)

Offline

 

#3 2015-03-31 23:39:38

photo_friend
Member
Berlin
1970-01-01
194

Re: iOS Beta app: HTTPS and login hostname

Hoser wrote:

Yay, someone that has SSL to test this!

Well, that's embarrassing. Yes, it should leave the www in there if you type it in. That should fix your issue.
([Github] Piwigo-Mobile issue #63)

I use HTTPS / SSL as standard and have no problems ...

Offline

 

#4 2015-04-01 13:13:27

rvleij
Member
2015-03-31
7

Re: iOS Beta app: HTTPS and login hostname

What I more or less tried to report is two issues:

- Hostname (keep the www or whatever people write in front of the hostname)
- SSL prob

The first problem is not the cause for my https login problem, since my cert and server also accept https://site.tld (as well as https://www.site.tld).

My SSL problem seems to be something else.

Offline

 

#5 2015-04-01 17:51:06

Hoser
Member
Utah
2015-01-14
88

Re: iOS Beta app: HTTPS and login hostname

Error -1012 means "User Cancelled Authentication". So, yes, that is another problem.

Do you have an invalid certificate?

Offline

 

#6 2015-04-01 21:45:00

rvleij
Member
2015-03-31
7

Re: iOS Beta app: HTTPS and login hostname

I'm using the same auth as the set that works on http, the cert is a public cert for just that website that works  find in browsers (both with and without www).

Offline

 

#7 2015-04-13 19:46:59

rvleij
Member
2015-03-31
7

Re: iOS Beta app: HTTPS and login hostname

Just an update with the latest version, the one that just came (7) that's supposed to go into the AppStore.

When connecting to my gallery at https://www.vleij.com I get "NSURLErrorDomain error -1012". But the cert if valid and works without warning in all major browsers.

So something's fishy. :)

/Robin

Offline

 

#8 2015-04-13 20:01:39

Hoser
Member
Utah
2015-01-14
88

Re: iOS Beta app: HTTPS and login hostname

I'll take a look at it. Thanks for posting your URL so I have something to test against!

Offline

 

#9 2015-04-15 00:13:41

Hoser
Member
Utah
2015-01-14
88

Re: iOS Beta app: HTTPS and login hostname

Okay, I found and fixed the issue. I wasn't setting the appropriate handshake settings.

Sorry about that!

- Fixed.

Last edited by Hoser (2015-04-15 00:14:22)

Offline

 

#10 2015-04-15 21:25:39

rvleij
Member
2015-03-31
7

Re: iOS Beta app: HTTPS and login hostname

Cool, I found a bug (and you fixed it)!

Will there be a new beta version?

Offline

 

#11 2015-04-15 23:40:53

Hoser
Member
Utah
2015-01-14
88

Re: iOS Beta app: HTTPS and login hostname

rvleij wrote:

Cool, I found a bug (and you fixed it)!

Will there be a new beta version?

Yeah! Thanks for reporting that.
Build 8 is out, test it to see if you can login to your Piwigo. :)

Offline

 

#12 2015-04-16 15:56:43

rvleij
Member
2015-03-31
7

Re: iOS Beta app: HTTPS and login hostname

Yes, works fine.

However, you have to fix the same problem for the upload module, I get the error there as well.

Offline

 

#13 2015-04-16 20:51:14

Hoser
Member
Utah
2015-01-14
88

Re: iOS Beta app: HTTPS and login hostname

Ah, indeed.
- Fixed and thank you.

Offline

 

#14 2015-04-17 04:50:18

Hoser
Member
Utah
2015-01-14
88

Re: iOS Beta app: HTTPS and login hostname

Does it work in build 9?

Offline

 

#15 2015-05-25 21:44:08

rvleij
Member
2015-03-31
7

Re: iOS Beta app: HTTPS and login hostname

Hi!

Sorry, I only found this thread back after I was looking for something else on the forum. :-)
Yes, it works fine! :)

But a little feedback anyway, more a UI thing:

- To choose the albums, it's just a long list of albums (and sub-albums). Here some sort of smarter navigation would be great for those that have many albums
- To pick picks from the phone, it works differently than other apps somehow. Photostreams are listed per month and such? Why not just the albums and shared streams?

For the rest it's great. :)

Offline

 
  •  » Beta testing
  •  » iOS Beta app: HTTPS and login hostname

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact