#1 2020-05-17 20:26:02

christianfish
Member
2020-05-17
3

[resolved] 'Connection Error' on iOS app to LAN

Hello,

I recently installed Piwigo to apache server on raspberry pi to try it out and evaluate if I should incorporate it into NAS for photo management. I am very new to all of this.

I just wanted to use piwigo on LAN and not outside my home network at first. I can navigate to piwigo at 192.168.1.xxx/piwigo on both my pc browser and on safari on my iphone while on LAN. 

I downloaded the piwigo iOS app and when I try to connect I receive the error: Connection Error; Could not connect to the server;

In the top input box I entered 192.168.1.xxx/piwigo, where it prefills with 'example.com'. 

Please let me know if you see an obvious error or if you could point me in the right direction. I may have problems with permissions. I am confused bc I can navigate to piwigo on the web in both pc browser and iphone on LAN.  I did not set up ssl.

Thank you for your time.

Piwigo version: 2.10.2
PHP version: 2:7.3+69
MySQL version: 5.8+1.0.5
Piwigo URL: http://192.168.1.xxx/piwigo

Offline

 

#2 2020-05-17 21:57:04

dma
Member
2020-05-17
2

Re: [resolved] 'Connection Error' on iOS app to LAN

Hi,

I experienced the very same issue on my iPad today.

I'm running Piwigo on a local server (let's say, it has the hostname SRV) as a docker container. As I have no other services sitting on the default port 80, I configured Piwigo to port 80. Like you, I do not use SSL.

So, I usually can access it typing

http://srv

in the browser.

The Piwigo app on my iPad will not connect with the above setting. Coincidentally, I've found out that

http://srv:80 works instead.

HTH,
Daniel

Last edited by dma (2020-05-17 21:57:36)

Offline

 

#3 2020-05-17 23:58:52

christianfish
Member
2020-05-17
3

Re: [resolved] 'Connection Error' on iOS app to LAN

Thank you for your reply.

I will look into this further. I think by default Apache is using port 80.

Do you use piwigo for your primary photo management on your NAS?

I had previously used Nextcloud photos but it seemed slow and I thought
Piwigo would be a better solution.

Thanks again.

Offline

 

#4 2020-05-18 17:15:36

dma
Member
2020-05-17
2

Re: [resolved] 'Connection Error' on iOS app to LAN

> I think by default Apache is using port 80.

This is true for sure, but the iOS Piwigo app seems to ignore this. Therefore the setting must be done explicitely as part of the URL.

> Do you use piwigo for your primary photo management on your NAS?

Yes, after years of messing around and copying my photo lib back and forth across all the devices existing in my household, I started investigating whether there is something which would suit my needs better (searching for tags, providing a central database to all my family members regardless of the device they use, quick delivery of the photos etc.).

For some reason, it was not easy for me to "find" Piwigo... I never heard of it before I started my investigation.

> I had previously used Nextcloud photos but it seemed slow and I thought Piwigo would be a better solution.

Yes, I'm using NC in my network, too. This is mainly to manage all my paper work (which is actually no paper in 99% of time) and all my ebook library. I really love it (especially the full text search abilities based on Elastic Search). But, when it  comes to manage your photos, you can simply forget it. It is ways to slow and lacking of meta data search...

Daniel

Offline

 

#5 2020-05-18 20:49:27

christianfish
Member
2020-05-17
3

Re: [resolved] 'Connection Error' on iOS app to LAN

Thanks for your response. This is helpful.

Offline

 

#6 2020-06-04 22:02:23

isisyodin
Member
2020-06-03
3

Re: [resolved] 'Connection Error' on iOS app to LAN

Same story. I recently installed Piwigo and had a hard time getting into my library from my iOS device. The fact that you need to enter the port number should be documented more clearly or corrected. When entering a web location and entering http or https should default to port 80 or 443 respectively.
I am very happy with the performance of Piwigo so far.

Offline

 

#7 2025-04-05 12:00:21

HMunky
Member
2025-04-05
3

Re: [resolved] 'Connection Error' on iOS app to LAN

Firstly, thanks for the overall system, I was looking for photo sharing software that lets me control permissions and this is perfect!

I have a Piwigo installation on a Synology NAS but I can’t get the iPad app to connect. The iPad itself will connect using any browser and my iPhone will connect using either the iPhone app or a browser. Windows can also connect. I am using http as I only share via a VPN.

I must admit that my computing skills are a bit out of date… I studied Microcomputing at university!  It was a bit of a fiddle getting it going, but I followed:
https://soonyet.web.app/guides/piwigo/1 … s218j.html
https://mariushosting.com/how-to-instal … ology-nas/
https://www.youtube.com/watch?v=J-TZ0NLQ0Vo

Given that self-hosting on NAS is probably a major use, I must admit that no single place gave me a true walk-through.

Thanks again.

Offline

 

#8 2025-04-05 20:15:14

neon
Member
2023-03-27
24

Re: [resolved] 'Connection Error' on iOS app to LAN

HMunky, did you make sure that the piwigo iOS app is allowed to access local network? It is somewhere in general settings. For some reason, iOS apps are blocked by default.

Offline

 

#9 2025-04-06 12:06:30

HMunky
Member
2025-04-05
3

Re: [resolved] 'Connection Error' on iOS app to LAN

Hi neon,

Thanks for the response.  My iPad shows that it has access to the LAN for Piwigo.  Overall my three devices I have tried to date are:

iPad - Web browser access only, no problems.
iPhone - Both web browser and iPhone app are OK
Windows - Both web browser (DuckDuckGo, Safari and Chrome) and iPhone app are OK

Suggests that it is something different about the iPad app to me.

Cheers
Mike

Offline

 

#10 2025-04-06 17:17:59

neon
Member
2023-03-27
24

Re: [resolved] 'Connection Error' on iOS app to LAN

Wow, how did you manage to run iPhone app on Windows?
For iPad, I suggest to remove the app and install it again. It should work - very strange it doesn't...

Offline

 

#11 2025-04-06 20:44:36

HMunky
Member
2025-04-05
3

Re: [resolved] 'Connection Error' on iOS app to LAN

I tried the reinstall on the iPad and it worked, thanks! The iPhone worked first time.  I think that both current installations were installed while connected to the VPN… maybe not when I first tried the iPad.  Not sure but possible.  Will try a play…

Offline

 

#12 2025-04-07 08:51:38

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

Re: [resolved] 'Connection Error' on iOS app to LAN

Hi All,

The iOS app is identical to the iPadOS one as far as connections are concerned.

By default, when the user does not type "http://" or 'https://", the app tries "https" on port 443. If it fails, it suggests to use an unsecured connection and tries "http" on port 80 if the user requests it. What I understand from this thread is that it should re-ask the user's agreement (unless there is a regression).

To answer questions you may have:
- It is necessary to type the port number only if it is different than the default ports 80 for http and 443 for https.
- When the SSL certificate is not secure, the app asks if it should accept it (e.g. self-signed certificates). It saves it for future connections after approval.
- The app manages simple HTTP basic access authentication.

Hope this helps,
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

 

#13 2025-05-01 16:16:04

alidemir
Member
istanbul
2025-05-01
10

Re: [resolved] 'Connection Error' on iOS app to LAN

cryopad wrote:

Hi All,

The iOS app is identical to the iPadOS one as far as connections are concerned.

By default, when the user does not type "http://" or 'https://", the app tries "https" on port 443. If it fails, it suggests to use an unsecured connection and tries "http" on port 80 if the user requests it. What I understand from this thread is that it should re-ask the user's agreement (unless there is a regression).

To answer questions you may have:
- It is necessary to type the port number only if it is different than the default ports 80 for http and 443 for https.
- When the SSL certificate is not secure, the app asks if it should accept it (e.g. self-signed certificates). It saves it for future connections after approval.
- The app manages simple HTTP basic access authentication.

Hope this helps,
Eddy

The method works thanks

Offline

 

Board footer

Powered by FluxBB

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