Announcement

#16 2017-10-12 21:04:03

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

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

Hi xupetas,

Could you please test the new build 62?

Thanks


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#17 2017-10-13 07:34:20

xupetas
Member
2017-08-17
14

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

Hello,

Same error. On of the requests is authenticaded the other is not.

172.16.3.240 - - [13/Oct/2017:05:31:59 +0000] "POST /ws.php?format=json&method=pwg.categories.getList&cat_id=0&recursive=true&faked_by_community=true HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [13/Oct/2017:05:31:59 +0000] "POST /ws.php?format=json&method=pwg.categories.getList&cat_id=0&recursive=true&faked_by_community=true HTTP/1.1" 200 474 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [13/Oct/2017:05:31:59 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=43 HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [13/Oct/2017:05:31:59 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=43 HTTP/1.1" 200 2164 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [13/Oct/2017:05:33:23 +0000] "POST /ws.php?format=json&method=pwg.categories.getList&cat_id=0&recursive=true&faked_by_community=true HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [13/Oct/2017:05:33:23 +0000] "POST /ws.php?format=json&method=pwg.categories.getList&cat_id=0&recursive=true&faked_by_community=true HTTP/1.1" 200 474 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [13/Oct/2017:05:33:23 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=43 HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [13/Oct/2017:05:33:23 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=43 HTTP/1.1" 200 2162 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"


Thanks for all you efford.
Nuno

Offline

 

#18 2017-10-13 08:21:49

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

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

Thank you xupetas.

It confirms that the app is recompiled before being released. So I must find a workaround because the credentials are not transmitted by the new SDK. I may also have to report that issue to Apple.

Cheers


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#19 2017-10-16 10:49:35

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

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

Hi Nuno,

The iOS app seems to connect properly to your dev Piwigo server, at least on my iPhone running iOS 11.
Have you tried the version 2.1.3 (builds 63 or 64) ?

Best wishes


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#20 2017-10-19 12:11:33

xupetas
Member
2017-08-17
14

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

Hello,

Yes i did. It does not work. Just tried now with version 2.1.3.65.
The same error, and i cannot upgrade the version of IOS because an internal bussiness app that we are using in my company that is incompatible with any IOS grater that 10.2.

172.16.3.240 - - [19/Oct/2017:10:10:47 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=43 HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"
172.16.3.240 - - [19/Oct/2017:10:10:47 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=43 HTTP/1.1" 200 2162 "-" "piwigo/2.1.3 (iPhone; iOS 10.2.1; Scale/2.00)"

:(

Thanks!

Offline

 

#21 2017-10-19 13:48:47

xupetas
Member
2017-08-17
14

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

Hello,

Wife went mad and updated her iphone to 11.03 and the issue remains on her phone:

172.16.3.240 - - [19/Oct/2017:11:47:13 +0000] "POST /ws.php?format=json&method=pwg.categories.getList&cat_id=0&recursive=true&faked_by_community=true HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 11.0.3; Scale/2.00)"
172.16.3.240 - - [19/Oct/2017:11:47:13 +0000] "POST /ws.php?format=json&method=pwg.categories.getList&cat_id=0&recursive=true&faked_by_community=true HTTP/1.1" 200 474 "-" "piwigo/2.1.3 (iPhone; iOS 11.0.3; Scale/2.00)"
172.16.3.240 - - [19/Oct/2017:11:47:14 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=43 HTTP/1.1" 401 503 "-" "piwigo/2.1.3 (iPhone; iOS 11.0.3; Scale/2.00)"
172.16.3.240 - - [19/Oct/2017:11:47:14 +0000] "POST /ws.php?format=json&method=pwg.images.getInfo&image_id=43 HTTP/1.1" 200 2164 "-" "piwigo/2.1.3 (iPhone; iOS 11.0.3; Scale/2.00)"

So it appears not to be iphone version related.
Also can you please retry to access the dev server? I want to see what kind of url you are invoking, and for this server i only keep a backlog of 3 days, so at present, i dont have any logs of your attempt.

Can you please help?

Thanks!

Last edited by xupetas (2017-10-19 14:01:54)

Offline

 

#22 2017-10-19 20:47:13

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

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

Hi xupetas,

A few minutes ago, I have used my iPhone with Piwigo iOS 2.1.3 (66) to access your dev server this evening. That works well except the speed of the connection which is slower than usual at the time I conduct these tests. I finally encountered a timeout. You will see that I uploaded the image of a waterfall some days ago.

My guess is that there is a bug in the new iOS SDK which has been fixed in the beta version. I say that because I cannot connect to your serveur with the present GM release of Xcode, only with the beta (without changing the code). And as I cannot release an app on the App Store using a beta version (which is normal), we must wait for the next GM release.

Best wishes,
Eddy


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#23 2017-10-28 08:28:27

xupetas
Member
2017-08-17
14

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

Updated to the new preflight version. No luck :(

Offline

 

#24 2017-10-28 12:38:08

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

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

I've tried again with Xcode 9.1 Beta and I can access your dev server as shown below. I therefore believe that you have to wait for a next release of the iOS (probably 11.1).

However, if I want to change the title of an image, I get an error 500 "Internal Server Error". This is because the server replies "updating is forbidden on photos added by synchronization".

Best regards,
Eddy

Last edited by cryopad (2017-10-28 12:40:23)


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#25 2017-10-29 01:58:07

xupetas
Member
2017-08-17
14

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

I've changed how i passed my auth to the URL, and it works perfectly now.

I went form https://user:password@site.com to https://site.com (and passed the auth in the client), and it works like a charm.
And i get to keep my .htaccess to prevent any access to the site that would harm my family's privacy :)

You are the man! When you come over to Portugal you will have to let me buy you a beer :)

Also, like i said before, if you need to use my dev test server for any tests, or if you need me to be your beta tester i am at your disposal!

Thanks!
Nuni

Offline

 

#26 2017-10-29 11:13:33

cryopad
Piwigo Team
Grenoble, France
2015-11-01
191

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

Great news. I am glad you confirm the fix and thank you for the beer I won't miss the next time I travel to Portugal :-)

If you feel confortable translating the iOS app into Portuguese, do not hesitate to register at https://crowdin.com/project/piwigo-mobile. I am sure that would be appreciated by many of your compatriots.

Cheers


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

Board footer

Powered by FluxBB

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