Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2017-08-17 15:12:35

xupetas
Member
Registered: 2017-08-17
Posts: 14

Images not being loaded on IOS Piwigo App - Server with auth

Tags: [error]

Hello/Hi/Greetings,

I have a piwigo running on apache and i've stumbled on a issue on the latest IOS Client.

Background:

For privacy reasons, my piwigo has local auth on the webserver so when you go http://piwigo.domain.com it asks for a password before even showing the front page of piwigo.

This auth is done on the vhost of the site:

<Location />
AuthType Basic
AuthBasicProvider ldap
AuthName "Login"
AuthLDAPBindDN uid=query_bind,cn=users,cn=accounts,dc=local,dc=domain
AuthLDAPBindPassword XXXXXXXXXXXXXXXXXX
AuthLDAPUrl "ldap://ipa.local.domain:33389/cn=users,cn=accounts,dc=local,dc=domain?uid"
Require ldap-group cn=localshare_foto.domain.com,cn=groups,cn=accounts,dc=local,dc=domain
Satisfy all
</Location>

After one of the latest updates (either on the server-end of the IOS) i started to get 401's on the logs and the pictures are not being displayed:

172.16.3.240 - - [17/Aug/2017:12:54:23 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=47361 HTTP/1.1" 401 503 "-" "piwigo/2.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [17/Aug/2017:12:54:24 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=40590 HTTP/1.1" 401 503 "-" "piwigo/2.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [17/Aug/2017:12:54:24 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=608 HTTP/1.1" 401 503 "-" "piwigo/2.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [17/Aug/2017:12:54:25 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=608 HTTP/1.1" 401 503 "-" "piwigo/2.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [17/Aug/2017:12:54:26 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=608 HTTP/1.1" 401 503 "-" "piwigo/2.1 (iPhone; iOS 10.2.1; Scale/2.00)"

The entire page loads without any apparent errors but there are not any pictures show.
If i remove the auth the pictures are shown.

This appears to affect only the IOS client. With the auth loaded, any computer browser works perfectly.

Note: this happens both with and without the NoPassword extension enabled.


Piwigo version: 2.9.1
PHP version: PHP 5.6.30
MySQL version: MariaDB
Piwigo URL: http://

Last edited by xupetas (2017-08-17 15:38:06)

Offline

 

#2 2017-08-18 12:28:03

xupetas
Member
Registered: 2017-08-17
Posts: 14

Re: Images not being loaded on IOS Piwigo App - Server with auth

Tried a new install of the server component, downgraded the version to 2.8 and the issue remains.
It DOES appear to be on the IOS client side.

Offline

 

#3 2017-08-19 19:03:12

cryopad
Member
Location: Grenoble, France
Registered: 2015-11-01
Posts: 44

Re: Images not being loaded on IOS Piwigo App - Server with auth

Hi xupetas,

I do not know if that is your case, but there is a bug breaking https communication on servers using non-valid or self-signed SSL certificates in version 2.1 of Piwigo for iOS. I have published an update which should fix this issue (version 2.1.1).

Best

Offline

 

#4 2017-08-19 20:02:39

xupetas
Member
Registered: 2017-08-17
Posts: 14

Re: Images not being loaded on IOS Piwigo App - Server with auth

cryopad wrote:

Hi xupetas,

I do not know if that is your case, but there is a bug breaking https communication on servers using non-valid or self-signed SSL certificates in version 2.1 of Piwigo for iOS. I have published an update which should fix this issue (version 2.1.1).

Best

Hi Cryopad.

Unfortunatly the error remains after updating to 2.1.1.
My certificate is valid and it's let's encrypt issued so i dont believe that is the issue.
Watching the server side logs, i noticed something:

172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.categories.getList&cat_id=0&recursive=true&faked_by_community=true HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=40590 HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.161 - nuno [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=40590 HTTP/1.1" 200 2504 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.161 - nuno [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.categories.getList&cat_id=0&recursive=true&faked_by_community=true HTTP/1.1" 200 286655 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=608 HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=40590 HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=47361 HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.161 - nuno [19/Aug/2017:18:54:24 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=40590 HTTP/1.1" 200 2504 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.161 - nuno [19/Aug/2017:18:54:24 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=608 HTTP/1.1" 200 2230 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.161 - nuno [19/Aug/2017:18:54:24 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=47361 HTTP/1.1" 200 2343 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

The logs show that the IOS app does not send the username when it has to show the pictures, thus having a 401 error (not authorized).
For the php, cms, and page construct, it sends the user, getting the picture and an 200 Code (ok).

Can you help please?

Offline

 

#5 2017-08-23 15:10:40

xupetas
Member
Registered: 2017-08-17
Posts: 14

Re: Images not being loaded on IOS Piwigo App - Server with auth

Up! Help?

Offline

 

#6 2017-08-27 12:34:27

cryopad
Member
Location: Grenoble, France
Registered: 2015-11-01
Posts: 44

Re: Images not being loaded on IOS Piwigo App - Server with auth

Hi

If I enter the address http://piwigo.domain.com supplied in your first post, I get an error 404 which indicates that the server itself was found but that the server was not able to retrieve the requested page.

Can you please create temporary credentials that I could use to look into the details and debug the iOS app? You can then email them privately with your name. I shall then add you to the list of TestFlight testers.

Thanks

Offline

 

#7 2017-08-27 18:30:36

cryopad
Member
Location: Grenoble, France
Registered: 2015-11-01
Posts: 44

Re: Images not being loaded on IOS Piwigo App - Server with auth

xupetas,

Reading your logs, it looks like the iOS app receives a first answer requesting credentials and the second request is sent with them and succeeds.

Example #1:

172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.categories.getList&cat_id=0&recursive=true&faked_by_community=true HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

and then:

172.16.3.161 - nuno [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.categories.getList&cat_id=0&recursive=true&faked_by_community=true HTTP/1.1" 200 286655 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

Example #2:

172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=40590 HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

and then:

172.16.3.161 - nuno [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=40590 HTTP/1.1" 200 2504 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=40590 HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

Example #3:

172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=608 HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

and then:

172.16.3.161 - nuno [19/Aug/2017:18:54:24 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=608 HTTP/1.1" 200 2230 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

Example #4:

172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=47361 HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

and then:

172.16.3.161 - nuno [19/Aug/2017:18:54:24 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=47361 HTTP/1.1" 200 2343 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

Offline

 

#8 2017-08-28 09:47:29

xupetas
Member
Registered: 2017-08-17
Posts: 14

Re: Images not being loaded on IOS Piwigo App - Server with auth

cryopad wrote:

Hi

If I enter the address http://piwigo.domain.com supplied in your first post, I get an error 404 which indicates that the server itself was found but that the server was not able to retrieve the requested page.

Can you please create temporary credentials that I could use to look into the details and debug the iOS app? You can then email them privately with your name. I shall then add you to the list of TestFlight testers.

Thanks

Hello,

That is not the correct domain. It's hidden for security reasons.
I've just sent you a temporary user on a demo piwigo site. The issue is seen felt also on this demo site.

Thanks!

Last edited by xupetas (2017-08-28 21:22:56)

Offline

 

#9 2017-08-28 15:44:57

xupetas
Member
Registered: 2017-08-17
Posts: 14

Re: Images not being loaded on IOS Piwigo App - Server with auth

cryopad wrote:

xupetas,

Reading your logs, it looks like the iOS app receives a first answer requesting credentials and the second request is sent with them and succeeds.

Example #1:

172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.categories.getList&cat_id=0&recursive=true&faked_by_community=true HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

and then:

172.16.3.161 - nuno [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.categories.getList&cat_id=0&recursive=true&faked_by_community=true HTTP/1.1" 200 286655 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

Example #2:

172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=40590 HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

and then:

172.16.3.161 - nuno [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=40590 HTTP/1.1" 200 2504 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=40590 HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

Example #3:

172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=608 HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

and then:

172.16.3.161 - nuno [19/Aug/2017:18:54:24 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=608 HTTP/1.1" 200 2230 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

Example #4:

172.16.3.161 - - [19/Aug/2017:18:54:23 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=47361 HTTP/1.1" 401 - "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

and then:

172.16.3.161 - nuno [19/Aug/2017:18:54:24 +0100] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=47361 HTTP/1.1" 200 2343 "-" "piwigo/2.1.1 (iPhone; iOS 10.2.1; Scale/2.00)"

Hello,

If we see the login form an browser the login is quite different (this was collected from the other piwigo i've created for you to test as requested in your other post).
Please notice that the browser on every request sends the auth. The Piwigo app does not.

172.16.3.161 - nuno [28/Aug/2017:14:16:25 +0100] "GET /_data/combined/d4295x.js HTTP/1.1" 304 - "https://foto-dev.site.com/index.php?/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:25 +0100] "GET /_data/combined/l8913o.css HTTP/1.1" 304 - "https://foto-dev.site.com/index.php?/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:25 +0100] "GET /_data/i/galleries/Dog/IMG_0034-th.jpg HTTP/1.1" 304 - "https://foto-dev.site.com/index.php?/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:25 +0100] "GET /_data/i/galleries/Dog/IMG_0033-th.jpg HTTP/1.1" 304 - "https://foto-dev.site.com/index.php?/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:24 +0100] "GET /i.php?/galleries/Dog/IMG_0035-sq.jpg HTTP/1.1" 200 6545 "https://foto-dev.site.com/index.php?/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:28 +0100] "GET /_data/combined/ln81xy.css HTTP/1.1" 200 50918 "https://foto-dev.site.com/picture.php?/42/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:27 +0100] "GET /picture.php?/42/category/3 HTTP/1.1" 200 17794 "https://foto-dev.site.com/index.php?/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:28 +0100] "GET /_data/i/galleries/Dog/IMG_0035-sq.jpg HTTP/1.1" 200 6545 "https://foto-dev.site.com/picture.php?/42/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:28 +0100] "GET /themes/elegant/icon/none.png HTTP/1.1" 200 101 "https://foto-dev.site.com/_data/combined/ln81xy.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:28 +0100] "GET /_data/combined/1bz7e5c.js HTTP/1.1" 200 219703 "https://foto-dev.site.com/picture.php?/42/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:29 +0100] "GET /_data/combined/1a5yfki.js HTTP/1.1" 200 3584 "https://foto-dev.site.com/picture.php?/42/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:28 +0100] "GET /i.php?/galleries/Dog/IMG_0033-sq.jpg HTTP/1.1" 200 7623 "https://foto-dev.site.com/picture.php?/42/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:28 +0100] "GET /i.php?/galleries/Dog/IMG_0034-sq.jpg HTTP/1.1" 200 6841 "https://foto-dev.site.com/picture.php?/42/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:29 +0100] "GET /i.php?/galleries/Dog/IMG_0034-me.jpg&ajaxload=true HTTP/1.1" 200 86 "https://foto-dev.site.com/picture.php?/42/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:29 +0100] "GET /_data/i/galleries/Dog/IMG_0034-me.jpg HTTP/1.1" 200 154257 "https://foto-dev.site.com/picture.php?/42/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:36 +0100] "GET / HTTP/1.1" 200 8309 "https://foto-dev.site.com/picture.php?/42/category/3" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"
172.16.3.161 - nuno [28/Aug/2017:14:16:36 +0100] "GET /_data/combined/1pchjjf.js HTTP/1.1" 304 - "https://foto-dev.site.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0"



Thanks for your help!

Offline

 

#10 2017-10-08 14:38:54

cryopad
Member
Location: Grenoble, France
Registered: 2015-11-01
Posts: 44

Re: Images not being loaded on IOS Piwigo App - Server with auth

Hi xupetas,

Could you please test the 2.1.3 beta of the iOS app?

Best

Offline

 

#11 2017-10-08 15:10:32

xupetas
Member
Registered: 2017-08-17
Posts: 14

Re: Images not being loaded on IOS Piwigo App - Server with auth

Hello

It does not show as available on the app store.
My username at the app store is nuno[at]nuneshiggs.com

Thanks,
Nuno

Last edited by xupetas (2017-10-08 15:13:11)

Offline

 

#12 2017-10-08 16:33:36

cryopad
Member
Location: Grenoble, France
Registered: 2015-11-01
Posts: 44

Re: Images not being loaded on IOS Piwigo App - Server with auth

Yes, sure. But I've invited you to join the TestFlight campaign at the …@gmail.com address you provided some time ago. I've now resent TestFlight invitations.

Cheers

Offline

 

#13 2017-10-08 18:12:48

xupetas
Member
Registered: 2017-08-17
Posts: 14

Re: Images not being loaded on IOS Piwigo App - Server with auth

Hello!

The issue remains. One access auth'ed and the other un authenticated:

The html codes 200 are the authenticated. The 401 the un auth.
The text is shown on the webpage, but the pictures are not

172.16.3.240 - - [08/Oct/2017:16:10:40 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=9&order= HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [08/Oct/2017:16:10:40 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=9&order= HTTP/1.1" 200 178237 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [08/Oct/2017:16:10:41 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=10&order= HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [08/Oct/2017:16:10:41 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=10&order= HTTP/1.1" 200 175075 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [08/Oct/2017:16:10:41 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=11&order= HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [08/Oct/2017:16:10:41 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=11&order= HTTP/1.1" 200 173369 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [08/Oct/2017:16:10:42 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=12&order= HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [08/Oct/2017:16:10:42 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=12&order= HTTP/1.1" 200 173328 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [08/Oct/2017:16:10:42 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=13&order= HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [08/Oct/2017:16:10:42 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=13&order= HTTP/1.1" 200 173323 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [08/Oct/2017:16:10:42 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=14&order= HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [08/Oct/2017:16:10:42 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=14&order= HTTP/1.1" 200 173505 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [08/Oct/2017:16:10:43 +0000] "POST /ws.php?format=json&method=pwg.categories.getImages&cat_id=583&per_page=100&page=15&order= HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"

Thanks!

Offline

 

#14 2017-10-08 19:45:34

cryopad
Member
Location: Grenoble, France
Registered: 2015-11-01
Posts: 44

Re: Images not being loaded on IOS Piwigo App - Server with auth

Thanks for reporting.

I have coded basic authentication with Xcode 8 when I was starting working on version 2.1.3. That was working well with the test account your provided.

But now that the app is compiled with Xcode 9, basic authentication does not work anymore :=(
I'm going to have to use your test account again…

Offline

 

#15 2017-10-08 21:58:57

xupetas
Member
Registered: 2017-08-17
Posts: 14

Re: Images not being loaded on IOS Piwigo App - Server with auth

You are most welcome to use it as needed!

Offline

 

Board footer

Powered by FluxBB

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