-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No picture displayed (due to http accesses after login with https) #184
Comments
Same here, pictures do not show even for public albums. I do not think that permission is the issue. I tried with admin and guest. Same thing, no pictures show. It is not timing either, because I waited for days. Only albums, subalbum and number of images are shown |
Thanks for reporting. I have heard now several times of that, but so far I cannot reproduce the issue. Would anyone of you mind sharing an URL to a piwigo setup showing the effect? - Feel free to send it by mail only to android@ pigigo org if you don't want to share it publicly. |
Here are 2 sites. |
Thanks, that should be very good start for a first investigation. I'll come back in case I have further questions. |
What is at least interesting is that on https://www.guiyou.fr - even though access via https, the thumbnail images have all a http (unencrypted) URL. But from another report is seems not affecting it. |
I don't think that the https vs http is the issue behind not showing pictures. My site piwigo.hlxxxx.com has https everywhere and the android client does not show the pictures |
From what I have seen so far all albums hosted on piwigo.com work and almost none of the private ones. Is this a pattern? |
I am also not yet 100% convinced that http/https mix is the reason, as I could not yet reproduce it. But when I look what @bhlevca's site returns I see strange thumbnail URLS: https://piwigo.hlxxx.com:80/_data/i/upload/....jpg So yes, the protocol is giving https, but the port 80 doesn't fit to that and not even loading in the browser. (If I open the tn-URL delivered by the REST interface). So I believe that there is something in the piwigo-config that triggers the thumbnail URLs to be different. @plegall or @EddyLB did one of you see this before and can explain why it happens? Does the iOS app handle it in a specific way? |
I host my site on a private server and have never seen any issue with either http or https in displaying the images. You can use the app called Packet Capture to look at the ethernet traffic from the piwigo app to the host site. I also noticed that if I use my phone to look at my site in mobile mode some of the images do not load. |
if it is of any help on "I see strange thumbnail URLS: https://piwigo.hlxxx.com:80" This site is behind haproxy and the relevant config is below:
|
@guiyou65 do you also have a proxy in your piwigo setup? |
No, actually there is no proxy, confirmed by my host provider www.online.net |
Hi. The config of Nginx for this host is this: `
} |
I'll have a play, seemed to be working fine for me... I've switched back to just local lan at the moment. When I'm home I'll pop my port forward back on and see what happens. |
@plegall do you have any idea why the piwigo installation delivers thumbnail URLs with an explicit port setting or with http even though it is accessed via https? Is there any "base_url" setting? |
Same error here. From what i can see on my setup, when you configure a Piwigo account with HTTPS, the apps get a reply with a 301 (Moved Permanently) but does not follow the redirect. |
Thanks for investigation. Do you happen to know which URL is accessed and to which it gets redirected? This would give us a more complete picture. |
Hi @ramack It is OK when you configure an account with the full HTTPS URL. Requests are sent to the HTTPS vhost (
Then, when you start to browse albums, Thumbnails do not show because the Piwigo Android application requests HTTP URL and not HTTPS. This is surprising as we configured an HTTPS base URL in
Thanks |
Thanks for investigation. Actually the App tries to load the photos directly from the URL that is returned by the piwigo server. And there just takes whatever is in the URL, including the protocol or a port specification. |
Hi @ramack The iOS app checks the validity of the URL provided manually by the user, removes any extra "/" or " " and stores separately the protocol "http(s)://" and the "host, port and path". Then, as some servers return strange image URLs (other protocol, wrong port, wrong encoding, etc.), the app checks that the URL is RFC compliant and tries to guess it if not. Then, it keeps only the path and the query (protocol, host, port and path are replaced with those stored), checks/correct the encoding and finally concatenates the URL that will be used. When |
ok thanks @EddyLB, then we have to do the same on Android. |
@ramack Thanks for the help + |
I think the problem is quite clear and for the fix I have updated the issue text. If you have some programming skills you could help out implementing, otherwise I don't see any blocking point, so as soon as we find the time we'll implement it. And I think we'll do so for the next release. |
Do I still have to use one of the “hacks” showed above or should it work out of the box right now? Because actually that isn’t the case when using Piwigo behind a Treafik reverse-proxy. I’m only getting white squares… |
@ramack I just tried this with Piwigo NG version 1.0.3 from fdroid and it did not work. I was getting white squares and broken links for all images in the app while the www workes fine. You mentioned https redirect are you refering to adding The hack definitely works, I was researching this for several hours before I found this thread but if it is supposed to work out of the box it definitely did not. Can we reopen this issue?
|
Piwigo NG is not in fdroid, I guess you installed it from Play store. Also the NG should be made available in f-droid to officially phase out the old android app. Maybe even think of moving the new one into the old android package name to have a upgrade path... |
As I mentioned in the other thread, I downloaded and am using version 1.0.3 from the fdroid app. I do not have the google play store on my device. |
I think you did not download the last version which is Piwigo NG, only on Playstore |
I downloaded the latest version from playstore, but the empty squares problems are still there. The app since its early inception has not worked. Luckily, the mobile web version is very good, which makes the app not necessary. |
Hi @bhlevca, Piwigo NG is not officially released on f-droid. As the Android Developer of Piwigo, I know that I never did. |
@remi-martin, I did not say anything about f-droid, which I don't even have on my phone, I said playstore. Check my previous post above. However, you forgot to mention that this does not change the fact the Piwigo NG or the previous piwigo app never worked properly, at least behind a proxy like ha-proxy. If you want to fix the https issue you need to have such an environment for developing and testing. |
Hi @bhlevca, then if it concerns Piwigo NG I'll recommend you to check the right repository piwigo-flutter-app Then, yes we mainly work with Piwigo.com. Having an environment for every type of server that can host a Piwigo is nearly impossible. The best would be to work with you in order to find and resolve the issue you encounter. I'll check for more information on the compatibility with flutter networking and ha-proxy. |
Thanks for the info, I will check it out. However, bear in mind that it is not every type of server. This is a specific issue with the piwigo server behind an https proxy or load balancer such as ha_proxy. There are many reports about this and only your app has this issue, the browser copes with the problem. Since the browser on the phone works just fine probably I am going to continue using that. |
im having a simlar issue. all my users cant see the full size image but there are thumbnails. not only is the full size image missing but the images for the menus are also missing. |
HI, Environnement |
im not seeing any problems
looks like it might be on your end, have you tried another computer?
I can see the direct image is https, you might want to delete all
thumbnails and have them regenerate. under Maintenance > Delete multiple
size images > check off all and delete them.
https://piwigo.piquot.eu/i.php?/upload/2021/12/22/20211222124102-c9dcba39-xl.jpg
also is there a way to rebuild your DNS zone file. i have found that
sometimes that is a problem with subdomains.
|
Hi Brad,
Thank you for your answer. My server is a jail on a TrueNAS core server (FreeBSD). I shall try to make a new clean installation in another environment, but this can take some time.
My main concern is about Piwigo NG, as my audience is generally using their android or IOS pad/phone. The problem remains in this environment for all android terminals that I have tried. No problem with IOS and the other Piwigo Client available in Play store is working fine but sending warning about a :80 inserted in the server answer that should not be there.
Concerning the thumbnails (and associated links) that do not appear immediately, I still have this problem, mainly on the albums with little or no traffic. I would like to regenerate all thumbnails, but, on my server, all sizes are already unchecked and; in this situation, I do not have any link to delete anything. Should I, on the contrary, check all sizes and delete them (is this safe for my picture base?)?
Thanks again
De : Brad Smith ***@***.***>
Envoyé : mercredi 6 septembre 2023 17:55
À : Piwigo/Piwigo-Android ***@***.***>
Cc : Gegele1 ***@***.***>; Comment ***@***.***>
Objet : Re: [Piwigo/Piwigo-Android] No picture displayed (due to http accesses after login with https) (#184)
im not seeing any problems
looks like it might be on your end, have you tried another computer?
I can see the direct image is https, you might want to delete all
thumbnails and have them regenerate. under Maintenance > Delete multiple
size images > check off all and delete them.
https://piwigo.piquot.eu/i.php?/upload/2021/12/22/20211222124102-c9dcba39-xl.jpg
also is there a way to rebuild your DNS zone file. i have found that
sometimes that is a problem with subdomains.
—
Reply to this email directly, view it on GitHub <#184 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AWYATYTTQ5RFACIPTFHSF4TXZCMGZANCNFSM4JHSY6UA> .
You are receiving this because you commented. <https://github.com/notifications/beacon/AWYATYW6CWVJ5N4IOYG5RVLXZCMGZA5CNFSM4JHSY6UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOMXMAVCI.gif> Message ID: ***@***.*** ***@***.***> >
|
Hi,
There is a problem with the Android app when the server is behind a reverse
HTTPS proxy like HAproxy. The iOS app is OK any browser is okay even on
the Android platform.
Logically, it means that the Android app has a communication problem.
Most people don't see a problem, because they have a server not behind the
reverse proxy.
I think that the developers should install such a server configuration and
fix it. It has been too long and too much denial from the developers.
Cheers,
Bogdan
…On Wed, Sep 6, 2023 at 11:55 AM Brad Smith ***@***.***> wrote:
im not seeing any problems
looks like it might be on your end, have you tried another computer?
I can see the direct image is https, you might want to delete all
thumbnails and have them regenerate. under Maintenance > Delete multiple
size images > check off all and delete them.
https://piwigo.piquot.eu/i.php?/upload/2021/12/22/20211222124102-c9dcba39-xl.jpg
also is there a way to rebuild your DNS zone file. i have found that
sometimes that is a problem with subdomains.
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABMRXVO4NWREILQUT6RAYLXZCMGVANCNFSM4JHSY6UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This app here is dead. Piwigo NG is the one where some further development is ongoing... if the problem is there, you should better report it in the repository of piwigo flutter app. |
Hi Bogdan,
I am on this chain as having submitted the minor code change request to fix
an issue. It's been so long now that I don't remember specifics! I am not a
Piwigo dev, just a guy who wrote a fix for one issue relating to reverse
proxy.
I haven't updated my Piwigo server in a year or two either, so I would have
to check the latest server code to see if it was integrated. I believe so.
But, I can confirm I am still running HAProxy reverse proxy, and it is
doing HTTPS proxy services. My Piwigo server is just set up to http (non
SSL).
I just downloaded and installed the latest Android app this morning and
thumbnails and full pictures are loading normally with no issues.
Life has kept me out of the computer world lately so I am probably too
rusty to help you diagnose, but I can confirm Piwigo can work just fine
behind HAProxy HTTPS.
Jim
…On Wed, Sep 6, 2023, 14:39 Bogdan Hlevca ***@***.***> wrote:
Hi,
There is a problem with the Android app when the server is behind a
reverse
HTTPS proxy like HAproxy. The iOS app is OK any browser is okay even on
the Android platform.
Logically, it means that the Android app has a communication problem.
Most people don't see a problem, because they have a server not behind the
reverse proxy.
I think that the developers should install such a server configuration and
fix it. It has been too long and too much denial from the developers.
Cheers,
Bogdan
On Wed, Sep 6, 2023 at 11:55 AM Brad Smith ***@***.***> wrote:
> im not seeing any problems
> looks like it might be on your end, have you tried another computer?
> I can see the direct image is https, you might want to delete all
> thumbnails and have them regenerate. under Maintenance > Delete multiple
> size images > check off all and delete them.
>
>
https://piwigo.piquot.eu/i.php?/upload/2021/12/22/20211222124102-c9dcba39-xl.jpg
>
> also is there a way to rebuild your DNS zone file. i have found that
> sometimes that is a problem with subdomains.
>
> —
> Reply to this email directly, view it on GitHub
> <
#184 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AABMRXVO4NWREILQUT6RAYLXZCMGVANCNFSM4JHSY6UA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGX7RUEAJX5DYWAFQS5OVYLXZC7N7ANCNFSM4JHSY6UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sorry for the extra message, but it is worth noting I installed Piwigo NG
from the Play Store to run this test.
…On Wed, Sep 6, 2023, 15:24 James Spece ***@***.***> wrote:
Hi Bogdan,
I am on this chain as having submitted the minor code change request to
fix an issue. It's been so long now that I don't remember specifics! I am
not a Piwigo dev, just a guy who wrote a fix for one issue relating to
reverse proxy.
I haven't updated my Piwigo server in a year or two either, so I would
have to check the latest server code to see if it was integrated. I believe
so.
But, I can confirm I am still running HAProxy reverse proxy, and it is
doing HTTPS proxy services. My Piwigo server is just set up to http (non
SSL).
I just downloaded and installed the latest Android app this morning and
thumbnails and full pictures are loading normally with no issues.
Life has kept me out of the computer world lately so I am probably too
rusty to help you diagnose, but I can confirm Piwigo can work just fine
behind HAProxy HTTPS.
Jim
On Wed, Sep 6, 2023, 14:39 Bogdan Hlevca ***@***.***> wrote:
> Hi,
>
> There is a problem with the Android app when the server is behind a
> reverse
> HTTPS proxy like HAproxy. The iOS app is OK any browser is okay even on
> the Android platform.
>
> Logically, it means that the Android app has a communication problem.
>
> Most people don't see a problem, because they have a server not behind
> the
> reverse proxy.
>
> I think that the developers should install such a server configuration
> and
> fix it. It has been too long and too much denial from the developers.
>
> Cheers,
> Bogdan
>
> On Wed, Sep 6, 2023 at 11:55 AM Brad Smith ***@***.***> wrote:
>
> > im not seeing any problems
> > looks like it might be on your end, have you tried another computer?
> > I can see the direct image is https, you might want to delete all
> > thumbnails and have them regenerate. under Maintenance > Delete
> multiple
> > size images > check off all and delete them.
> >
> >
> https://piwigo.piquot.eu/i.php?/upload/2021/12/22/20211222124102-c9dcba39-xl.jpg
> >
> > also is there a way to rebuild your DNS zone file. i have found that
> > sometimes that is a problem with subdomains.
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
> #184 (comment)>,
>
> > or unsubscribe
> > <
> https://github.com/notifications/unsubscribe-auth/AABMRXVO4NWREILQUT6RAYLXZCMGVANCNFSM4JHSY6UA>
>
> > .
> > You are receiving this because you were mentioned.Message ID:
> > ***@***.***>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <#184 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AGX7RUEAJX5DYWAFQS5OVYLXZC7N7ANCNFSM4JHSY6UA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
I am talking about Piwigo NG. The old app had the same issue. I couldn't
use either of them. The same problem has been ported to NG and it never
worked for me.
I am happy with the browser. I reported the problem many years ago and
nothing has been done, being told that my setup is weird. Interestingly the
Piwigo NG on iOS works flawlessly in the same environment. You draw the
conclusion.
Many people didn't even know that this tread is for the old one. I spent
enough time reporting, this is my last one, here or anywhere on this topic.
Bogdan
…On Wed, Sep 6, 2023 at 3:21 PM Raphael Mack ***@***.***> wrote:
This app here is dead. Piwigo NG is the one where some further development
is ongoing... if the problem is there, you should better report it in the
repository of piwigo flutter app.
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABMRXXLOSUUEQRK6QIA5L3XZDENBANCNFSM4JHSY6UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi Jim,
Thank you for your email.
It works for you because you have http and not https. Try to implement
https and you'll get the error.
I don't want to downgrade to HTTP.
Cheers,
Bogdan
…On Wed, Sep 6, 2023 at 3:25 PM calmor15014 ***@***.***> wrote:
Hi Bogdan,
I am on this chain as having submitted the minor code change request to
fix
an issue. It's been so long now that I don't remember specifics! I am not
a
Piwigo dev, just a guy who wrote a fix for one issue relating to reverse
proxy.
I haven't updated my Piwigo server in a year or two either, so I would
have
to check the latest server code to see if it was integrated. I believe so.
But, I can confirm I am still running HAProxy reverse proxy, and it is
doing HTTPS proxy services. My Piwigo server is just set up to http (non
SSL).
I just downloaded and installed the latest Android app this morning and
thumbnails and full pictures are loading normally with no issues.
Life has kept me out of the computer world lately so I am probably too
rusty to help you diagnose, but I can confirm Piwigo can work just fine
behind HAProxy HTTPS.
Jim
On Wed, Sep 6, 2023, 14:39 Bogdan Hlevca ***@***.***> wrote:
> Hi,
>
> There is a problem with the Android app when the server is behind a
> reverse
> HTTPS proxy like HAproxy. The iOS app is OK any browser is okay even on
> the Android platform.
>
> Logically, it means that the Android app has a communication problem.
>
> Most people don't see a problem, because they have a server not behind
the
> reverse proxy.
>
> I think that the developers should install such a server configuration
and
> fix it. It has been too long and too much denial from the developers.
>
> Cheers,
> Bogdan
>
> On Wed, Sep 6, 2023 at 11:55 AM Brad Smith ***@***.***> wrote:
>
> > im not seeing any problems
> > looks like it might be on your end, have you tried another computer?
> > I can see the direct image is https, you might want to delete all
> > thumbnails and have them regenerate. under Maintenance > Delete
multiple
> > size images > check off all and delete them.
> >
> >
>
https://piwigo.piquot.eu/i.php?/upload/2021/12/22/20211222124102-c9dcba39-xl.jpg
> >
> > also is there a way to rebuild your DNS zone file. i have found that
> > sometimes that is a problem with subdomains.
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#184 (comment)>,
>
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AABMRXVO4NWREILQUT6RAYLXZCMGVANCNFSM4JHSY6UA>
>
> > .
> > You are receiving this because you were mentioned.Message ID:
> > ***@***.***>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#184 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AGX7RUEAJX5DYWAFQS5OVYLXZC7N7ANCNFSM4JHSY6UA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABMRXQJPUNC5HL62YGOBKLXZDEZFANCNFSM4JHSY6UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi Bogdan, I hope you are well. I read back through the the chain and
remembered our discussion.
I have HAProxy doing the HTTPS. Piwigo itself just serves HTTP, HAProxy
converts everything to HTTPS. I am running Piwigo NG. Requests to my server
are all in HTTPS.
And that's where the Piwigo source modification I recommended and we
discussed about three years ago fixed the issue.
I never upgraded the server (shame on me) so I don't know if that change
was implemented, was fixed in another manner, still exists, etc.
But I can demonstrate today a HAProxy served Piwigo server which is
publicly exposed as HTTPS with a valid SSL certificate from Let's Encrypt
renewed via ACME (pfSense router) which works with Piwigo NG.
Good luck!
Jim
…On Wed, Sep 6, 2023, 16:03 Bogdan Hlevca ***@***.***> wrote:
Hi Jim,
Thank you for your email.
It works for you because you have http and not https. Try to implement
https and you'll get the error.
I don't want to downgrade to HTTP.
Cheers,
Bogdan
On Wed, Sep 6, 2023 at 3:25 PM calmor15014 ***@***.***> wrote:
> Hi Bogdan,
>
> I am on this chain as having submitted the minor code change request to
> fix
> an issue. It's been so long now that I don't remember specifics! I am
not
> a
> Piwigo dev, just a guy who wrote a fix for one issue relating to reverse
> proxy.
>
> I haven't updated my Piwigo server in a year or two either, so I would
> have
> to check the latest server code to see if it was integrated. I believe
so.
>
> But, I can confirm I am still running HAProxy reverse proxy, and it is
> doing HTTPS proxy services. My Piwigo server is just set up to http (non
> SSL).
>
> I just downloaded and installed the latest Android app this morning and
> thumbnails and full pictures are loading normally with no issues.
>
> Life has kept me out of the computer world lately so I am probably too
> rusty to help you diagnose, but I can confirm Piwigo can work just fine
> behind HAProxy HTTPS.
>
>
> Jim
>
> On Wed, Sep 6, 2023, 14:39 Bogdan Hlevca ***@***.***> wrote:
>
> > Hi,
> >
> > There is a problem with the Android app when the server is behind a
> > reverse
> > HTTPS proxy like HAproxy. The iOS app is OK any browser is okay even
on
> > the Android platform.
> >
> > Logically, it means that the Android app has a communication problem.
> >
> > Most people don't see a problem, because they have a server not behind
> the
> > reverse proxy.
> >
> > I think that the developers should install such a server configuration
> and
> > fix it. It has been too long and too much denial from the developers.
> >
> > Cheers,
> > Bogdan
> >
> > On Wed, Sep 6, 2023 at 11:55 AM Brad Smith ***@***.***> wrote:
> >
> > > im not seeing any problems
> > > looks like it might be on your end, have you tried another computer?
> > > I can see the direct image is https, you might want to delete all
> > > thumbnails and have them regenerate. under Maintenance > Delete
> multiple
> > > size images > check off all and delete them.
> > >
> > >
> >
>
https://piwigo.piquot.eu/i.php?/upload/2021/12/22/20211222124102-c9dcba39-xl.jpg
> > >
> > > also is there a way to rebuild your DNS zone file. i have found that
> > > sometimes that is a problem with subdomains.
> > >
> > > —
> > > Reply to this email directly, view it on GitHub
> > > <
> >
>
#184 (comment)>,
>
> >
> > > or unsubscribe
> > > <
> >
>
https://github.com/notifications/unsubscribe-auth/AABMRXVO4NWREILQUT6RAYLXZCMGVANCNFSM4JHSY6UA>
>
> >
> > > .
> > > You are receiving this because you were mentioned.Message ID:
> > > ***@***.***>
> > >
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#184 (comment)>,
>
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AGX7RUEAJX5DYWAFQS5OVYLXZC7N7ANCNFSM4JHSY6UA>
>
> > .
> > You are receiving this because you were mentioned.Message ID:
> > ***@***.***>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#184 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AABMRXQJPUNC5HL62YGOBKLXZDEZFANCNFSM4JHSY6UA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGX7RUC3ZO2QJHIMGUZF5ULXZDJITANCNFSM4JHSY6UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi Jim,
I implemented the change then, but I kept upgrading the server. It does not
work for me so that means that your changes have not been integrated.
On the other hand, the iOS app works flawlessly in the same conditions.
That means that the Android app could be made to work the same way.
Browsers also work perfectly. My logic tells me that the Android app has a
problem that the other clients don't.
Thanks,
Bogdan
ᐧ
…On Wed, Sep 6, 2023 at 4:36 PM calmor15014 ***@***.***> wrote:
Hi Bogdan, I hope you are well. I read back through the the chain and
remembered our discussion.
I have HAProxy doing the HTTPS. Piwigo itself just serves HTTP, HAProxy
converts everything to HTTPS. I am running Piwigo NG. Requests to my
server
are all in HTTPS.
And that's where the Piwigo source modification I recommended and we
discussed about three years ago fixed the issue.
I never upgraded the server (shame on me) so I don't know if that change
was implemented, was fixed in another manner, still exists, etc.
But I can demonstrate today a HAProxy served Piwigo server which is
publicly exposed as HTTPS with a valid SSL certificate from Let's Encrypt
renewed via ACME (pfSense router) which works with Piwigo NG.
Good luck!
Jim
On Wed, Sep 6, 2023, 16:03 Bogdan Hlevca ***@***.***> wrote:
> Hi Jim,
>
> Thank you for your email.
>
> It works for you because you have http and not https. Try to implement
> https and you'll get the error.
> I don't want to downgrade to HTTP.
>
> Cheers,
> Bogdan
>
>
>
> On Wed, Sep 6, 2023 at 3:25 PM calmor15014 ***@***.***> wrote:
>
> > Hi Bogdan,
> >
> > I am on this chain as having submitted the minor code change request
to
> > fix
> > an issue. It's been so long now that I don't remember specifics! I am
> not
> > a
> > Piwigo dev, just a guy who wrote a fix for one issue relating to
reverse
> > proxy.
> >
> > I haven't updated my Piwigo server in a year or two either, so I would
> > have
> > to check the latest server code to see if it was integrated. I believe
> so.
> >
> > But, I can confirm I am still running HAProxy reverse proxy, and it is
> > doing HTTPS proxy services. My Piwigo server is just set up to http
(non
> > SSL).
> >
> > I just downloaded and installed the latest Android app this morning
and
> > thumbnails and full pictures are loading normally with no issues.
> >
> > Life has kept me out of the computer world lately so I am probably too
> > rusty to help you diagnose, but I can confirm Piwigo can work just
fine
> > behind HAProxy HTTPS.
> >
> >
> > Jim
> >
> > On Wed, Sep 6, 2023, 14:39 Bogdan Hlevca ***@***.***> wrote:
> >
> > > Hi,
> > >
> > > There is a problem with the Android app when the server is behind a
> > > reverse
> > > HTTPS proxy like HAproxy. The iOS app is OK any browser is okay even
> on
> > > the Android platform.
> > >
> > > Logically, it means that the Android app has a communication
problem.
> > >
> > > Most people don't see a problem, because they have a server not
behind
> > the
> > > reverse proxy.
> > >
> > > I think that the developers should install such a server
configuration
> > and
> > > fix it. It has been too long and too much denial from the
developers.
> > >
> > > Cheers,
> > > Bogdan
> > >
> > > On Wed, Sep 6, 2023 at 11:55 AM Brad Smith ***@***.***> wrote:
> > >
> > > > im not seeing any problems
> > > > looks like it might be on your end, have you tried another
computer?
> > > > I can see the direct image is https, you might want to delete all
> > > > thumbnails and have them regenerate. under Maintenance > Delete
> > multiple
> > > > size images > check off all and delete them.
> > > >
> > > >
> > >
> >
>
https://piwigo.piquot.eu/i.php?/upload/2021/12/22/20211222124102-c9dcba39-xl.jpg
> > > >
> > > > also is there a way to rebuild your DNS zone file. i have found
that
> > > > sometimes that is a problem with subdomains.
> > > >
> > > > —
> > > > Reply to this email directly, view it on GitHub
> > > > <
> > >
> >
>
#184 (comment)>,
>
> >
> > >
> > > > or unsubscribe
> > > > <
> > >
> >
>
https://github.com/notifications/unsubscribe-auth/AABMRXVO4NWREILQUT6RAYLXZCMGVANCNFSM4JHSY6UA>
>
> >
> > >
> > > > .
> > > > You are receiving this because you were mentioned.Message ID:
> > > > ***@***.***>
> > > >
> > >
> > > —
> > > Reply to this email directly, view it on GitHub
> > > <
> >
>
#184 (comment)>,
>
> >
> > > or unsubscribe
> > > <
> >
>
https://github.com/notifications/unsubscribe-auth/AGX7RUEAJX5DYWAFQS5OVYLXZC7N7ANCNFSM4JHSY6UA>
>
> >
> > > .
> > > You are receiving this because you were mentioned.Message ID:
> > > ***@***.***>
> > >
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#184 (comment)>,
>
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AABMRXQJPUNC5HL62YGOBKLXZDEZFANCNFSM4JHSY6UA>
>
> > .
> > You are receiving this because you were mentioned.Message ID:
> > ***@***.***>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#184 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AGX7RUC3ZO2QJHIMGUZF5ULXZDJITANCNFSM4JHSY6UA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABMRXWN44WKATKP5UDXVT3XZDNGTANCNFSM4JHSY6UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi Jim and Bogdan, According to what I read on other forums, it seems that the Piwigo server responds with the 80 port when sending the pictures through HAProxy, and this seems to be corrected by iPhone Piwigo Client and by the other Play Store application. It appeared when I installed the HAProxy, with no SSL on the Piwigo server in a first step, and the problem remained the same after I implemented https on my Piwigo server. If this is true, the best way to fix this system would probably to make sure that the piwigo server, when behind HAProxy, do not send the frames in the form https://piwigo.piquot.eu:80/... thanks, |
Hi Gerard
Your solution would be good, but alternatively, the Android app could be
made to behave like the iOS one.
I think that would solve the problem immediately for everyone.
Thanks
Bogdan
…On Wed, Sep 6, 2023 at 6:18 PM Gegele1 ***@***.***> wrote:
Hi Jim and Bogdan,
According to what I read on other forums, it seems that the Piwigo server
responds with the 80 port when sending the pictures through HAProxy, and
this seems to be corrected by iPhone Piwigo Client and by the other Play
Store application. It appeared when I installed the HAProxy, with no SSL on
the Piwigo server in a first step, and the problem remained the same after
I implemented https on my Piwigo server. If this is true, the best way to
fix this system would probably to make sure that the piwigo server, when
behind HAProxy, do not send the frames in the form
https://piwigo.piquot.eu:80/...
thanks,
Gerard
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABMRXXG6P4AY4UKAJUV75DXZDZEDANCNFSM4JHSY6UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes, something is definitely broken in the backend configuration of that
same file.
I upgraded to the lasted Piwigo stable edition.
Even the stock code was spamming my apache2 error.log file with issues that
$_SERVER['HTTP_HOST'] was undefined (old php7.2 though).
The previous change I made did nothing. Setting $is_https = true; also did
nothing. I don't know the code well enough to dig through it to find where
$_SERVER is set nor how to get it to spit out errors in a usable way for
debugging.
I ended up reducing that entire function to:
$url = 'https://hostname.domain.org:443';
$url .= cookie_path();
return $url;
Works in Android Piwigo NG. Error log spamming went away.
Lots of "reverse proxy" pull requests and comments on GitHub also, seems to
be an issue with the backend code... I suspect the backend needs fixed
first, but again I'm not a dev of either project so I don't want to throw
stones.
Jim
…On Wed, Sep 6, 2023, 18:56 Bogdan Hlevca ***@***.***> wrote:
Hi Gerard
Your solution would be good, but alternatively, the Android app could be
made to behave like the iOS one.
I think that would solve the problem immediately for everyone.
Thanks
Bogdan
On Wed, Sep 6, 2023 at 6:18 PM Gegele1 ***@***.***> wrote:
> Hi Jim and Bogdan,
>
> According to what I read on other forums, it seems that the Piwigo
server
> responds with the 80 port when sending the pictures through HAProxy, and
> this seems to be corrected by iPhone Piwigo Client and by the other Play
> Store application. It appeared when I installed the HAProxy, with no SSL
on
> the Piwigo server in a first step, and the problem remained the same
after
> I implemented https on my Piwigo server. If this is true, the best way
to
> fix this system would probably to make sure that the piwigo server, when
> behind HAProxy, do not send the frames in the form
> https://piwigo.piquot.eu:80/...
>
> thanks,
> Gerard
>
> —
> Reply to this email directly, view it on GitHub
> <
#184 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AABMRXXG6P4AY4UKAJUV75DXZDZEDANCNFSM4JHSY6UA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGX7RUDVXXLPH72V2FZWCA3XZD5TVANCNFSM4JHSY6UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi,
I have found that HAProxy does not seem to be completely clean in this question. As I was not 100% confident in my HAProxy configuration, made according to tutorials from the WEB, I decided to see how I could simplify it. So, I decided to declare the ACLs and Actions in the primary shared frontend (in the “default backend, access control lists and actions” section) and not in a subsidiary one, as was indicated in the tutorial. I removed all unnecessary configuration, restarted my pfsense supporting HAProxy, and … everything is now working: Piwigo NG is working fine and all the thumbnails display in the browser without needing to refresh the pages!
Of course, I cannot explain why this works, but it seems that something wrong was happening when using the subsidiary configuration of the frontend with exactly the same parameters.
If someone wants to investigate this issue, I suppose this information can help find the reason for it.
Thank for your time and recommendations,
Gérard
De : calmor15014 ***@***.***>
Envoyé : jeudi 7 septembre 2023 03:56
À : Piwigo/Piwigo-Android ***@***.***>
Cc : Gegele1 ***@***.***>; Comment ***@***.***>
Objet : Re: [Piwigo/Piwigo-Android] No picture displayed (due to http accesses after login with https) (#184)
Yes, something is definitely broken in the backend configuration of that
same file.
I upgraded to the lasted Piwigo stable edition.
Even the stock code was spamming my apache2 error.log file with issues that
$_SERVER['HTTP_HOST'] was undefined (old php7.2 though).
The previous change I made did nothing. Setting $is_https = true; also did
nothing. I don't know the code well enough to dig through it to find where
$_SERVER is set nor how to get it to spit out errors in a usable way for
debugging.
I ended up reducing that entire function to:
$url = 'https://hostname.domain.org:443';
$url .= cookie_path();
return $url;
Works in Android Piwigo NG. Error log spamming went away.
Lots of "reverse proxy" pull requests and comments on GitHub also, seems to
be an issue with the backend code... I suspect the backend needs fixed
first, but again I'm not a dev of either project so I don't want to throw
stones.
Jim
On Wed, Sep 6, 2023, 18:56 Bogdan Hlevca ***@***.*** <mailto:***@***.***> > wrote:
Hi Gerard
Your solution would be good, but alternatively, the Android app could be
made to behave like the iOS one.
I think that would solve the problem immediately for everyone.
Thanks
Bogdan
On Wed, Sep 6, 2023 at 6:18 PM Gegele1 ***@***.*** <mailto:***@***.***> > wrote:
> Hi Jim and Bogdan,
>
> According to what I read on other forums, it seems that the Piwigo
server
> responds with the 80 port when sending the pictures through HAProxy, and
> this seems to be corrected by iPhone Piwigo Client and by the other Play
> Store application. It appeared when I installed the HAProxy, with no SSL
on
> the Piwigo server in a first step, and the problem remained the same
after
> I implemented https on my Piwigo server. If this is true, the best way
to
> fix this system would probably to make sure that the piwigo server, when
> behind HAProxy, do not send the frames in the form
> https://piwigo.piquot.eu:80/...
>
> thanks,
> Gerard
>
> —
> Reply to this email directly, view it on GitHub
> <
#184 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AABMRXXG6P4AY4UKAJUV75DXZDZEDANCNFSM4JHSY6UA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.*** <mailto:***@***.***> >
>
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGX7RUDVXXLPH72V2FZWCA3XZD5TVANCNFSM4JHSY6UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.*** <mailto:***@***.***> >
—
Reply to this email directly, view it on GitHub <#184 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AWYATYUUKZIJ2ZNXKSF6FXTXZESUXANCNFSM4JHSY6UA> .
You are receiving this because you commented. <https://github.com/notifications/beacon/AWYATYXMSM7OJDNOCGZARIDXZESUXA5CNFSM4JHSY6UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOMXRJ2OQ.gif> Message ID: ***@***.*** ***@***.***> >
|
Interesting finding, Gérard. Are you passing X-FORWARDED-PROTOCOL in the
frontend or backend?
I am passing that for all hosts in the frontend.
It doesn't explain why HTTP_HOST undefined errors were occurring, but I can
try to dig into my HAProxy config. I'm afraid to play with that too much as
others rely on the other sites I'm hosting through it so they need to keep
working.
Could you send a sample of your HAProxy with server name details removed?
Jim
…On Thu, Sep 7, 2023, 13:32 Gegele1 ***@***.***> wrote:
Hi,
I have found that HAProxy does not seem to be completely clean in this
question. As I was not 100% confident in my HAProxy configuration, made
according to tutorials from the WEB, I decided to see how I could simplify
it. So, I decided to declare the ACLs and Actions in the primary shared
frontend (in the “default backend, access control lists and actions”
section) and not in a subsidiary one, as was indicated in the tutorial. I
removed all unnecessary configuration, restarted my pfsense supporting
HAProxy, and … everything is now working: Piwigo NG is working fine and all
the thumbnails display in the browser without needing to refresh the pages!
Of course, I cannot explain why this works, but it seems that something
wrong was happening when using the subsidiary configuration of the frontend
with exactly the same parameters.
If someone wants to investigate this issue, I suppose this information can
help find the reason for it.
Thank for your time and recommendations,
Gérard
De : calmor15014 ***@***.***>
Envoyé : jeudi 7 septembre 2023 03:56
À : Piwigo/Piwigo-Android ***@***.***>
Cc : Gegele1 ***@***.***>; Comment ***@***.***>
Objet : Re: [Piwigo/Piwigo-Android] No picture displayed (due to http
accesses after login with https) (#184)
Yes, something is definitely broken in the backend configuration of that
same file.
I upgraded to the lasted Piwigo stable edition.
Even the stock code was spamming my apache2 error.log file with issues
that
$_SERVER['HTTP_HOST'] was undefined (old php7.2 though).
The previous change I made did nothing. Setting $is_https = true; also did
nothing. I don't know the code well enough to dig through it to find where
$_SERVER is set nor how to get it to spit out errors in a usable way for
debugging.
I ended up reducing that entire function to:
$url = 'https://hostname.domain.org:443';
$url .= cookie_path();
return $url;
Works in Android Piwigo NG. Error log spamming went away.
Lots of "reverse proxy" pull requests and comments on GitHub also, seems
to
be an issue with the backend code... I suspect the backend needs fixed
first, but again I'm not a dev of either project so I don't want to throw
stones.
Jim
On Wed, Sep 6, 2023, 18:56 Bogdan Hlevca ***@***.*** <mailto:***@***.***>
> wrote:
> Hi Gerard
>
> Your solution would be good, but alternatively, the Android app could be
> made to behave like the iOS one.
>
> I think that would solve the problem immediately for everyone.
>
> Thanks
> Bogdan
>
> On Wed, Sep 6, 2023 at 6:18 PM Gegele1 ***@***.*** <mailto:***@***.***>
> wrote:
>
> > Hi Jim and Bogdan,
> >
> > According to what I read on other forums, it seems that the Piwigo
> server
> > responds with the 80 port when sending the pictures through HAProxy,
and
> > this seems to be corrected by iPhone Piwigo Client and by the other
Play
> > Store application. It appeared when I installed the HAProxy, with no
SSL
> on
> > the Piwigo server in a first step, and the problem remained the same
> after
> > I implemented https on my Piwigo server. If this is true, the best way
> to
> > fix this system would probably to make sure that the piwigo server,
when
> > behind HAProxy, do not send the frames in the form
> > https://piwigo.piquot.eu:80/...
> >
> > thanks,
> > Gerard
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#184 (comment)>,
>
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AABMRXXG6P4AY4UKAJUV75DXZDZEDANCNFSM4JHSY6UA>
>
> > .
> > You are receiving this because you were mentioned.Message ID:
> > ***@***.*** <mailto:***@***.***> >
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#184 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AGX7RUDVXXLPH72V2FZWCA3XZD5TVANCNFSM4JHSY6UA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.*** <mailto:***@***.***> >
>
—
Reply to this email directly, view it on GitHub <
#184 (comment)>
, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AWYATYUUKZIJ2ZNXKSF6FXTXZESUXANCNFSM4JHSY6UA>
.
You are receiving this because you commented. <
https://github.com/notifications/beacon/AWYATYXMSM7OJDNOCGZARIDXZESUXA5CNFSM4JHSY6UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOMXRJ2OQ.gif>
Message ID: ***@***.*** ***@***.***> >
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGX7RUEL6CKXMFVZONGYKYDXZIAJHANCNFSM4JHSY6UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Gerard,
Thank you for your investigation, but your reporting would be even more
useful if you posted side by side the nonworking configuration and the
working one.
Don't assume that everyone has the same problems as you had even though the
symptoms may be the same. Also, you mentioned the word browser. I hope that
was a slip as the browser always worked on Android, only the NG app had
issues.
That being said, I still think that the Android and the iOS apps should
behave in the same way! The iOS app works with the current HAProxy
settings, while the Android one doesn't.
Your HAProxy config files before and after may help.
Thanks
Bogdan
…On Thu, Sep 7, 2023 at 1:32 PM Gegele1 ***@***.***> wrote:
Hi,
I have found that HAProxy does not seem to be completely clean in this
question. As I was not 100% confident in my HAProxy configuration, made
according to tutorials from the WEB, I decided to see how I could simplify
it. So, I decided to declare the ACLs and Actions in the primary shared
frontend (in the “default backend, access control lists and actions”
section) and not in a subsidiary one, as was indicated in the tutorial. I
removed all unnecessary configuration, restarted my pfsense supporting
HAProxy, and … everything is now working: Piwigo NG is working fine and all
the thumbnails display in the browser without needing to refresh the pages!
Of course, I cannot explain why this works, but it seems that something
wrong was happening when using the subsidiary configuration of the frontend
with exactly the same parameters.
If someone wants to investigate this issue, I suppose this information can
help find the reason for it.
Thank for your time and recommendations,
Gérard
De : calmor15014 ***@***.***>
Envoyé : jeudi 7 septembre 2023 03:56
À : Piwigo/Piwigo-Android ***@***.***>
Cc : Gegele1 ***@***.***>; Comment ***@***.***>
Objet : Re: [Piwigo/Piwigo-Android] No picture displayed (due to http
accesses after login with https) (#184)
Yes, something is definitely broken in the backend configuration of that
same file.
I upgraded to the lasted Piwigo stable edition.
Even the stock code was spamming my apache2 error.log file with issues
that
$_SERVER['HTTP_HOST'] was undefined (old php7.2 though).
The previous change I made did nothing. Setting $is_https = true; also did
nothing. I don't know the code well enough to dig through it to find where
$_SERVER is set nor how to get it to spit out errors in a usable way for
debugging.
I ended up reducing that entire function to:
$url = 'https://hostname.domain.org:443';
$url .= cookie_path();
return $url;
Works in Android Piwigo NG. Error log spamming went away.
Lots of "reverse proxy" pull requests and comments on GitHub also, seems
to
be an issue with the backend code... I suspect the backend needs fixed
first, but again I'm not a dev of either project so I don't want to throw
stones.
Jim
On Wed, Sep 6, 2023, 18:56 Bogdan Hlevca ***@***.*** <mailto:***@***.***>
> wrote:
> Hi Gerard
>
> Your solution would be good, but alternatively, the Android app could be
> made to behave like the iOS one.
>
> I think that would solve the problem immediately for everyone.
>
> Thanks
> Bogdan
>
> On Wed, Sep 6, 2023 at 6:18 PM Gegele1 ***@***.*** <mailto:***@***.***>
> wrote:
>
> > Hi Jim and Bogdan,
> >
> > According to what I read on other forums, it seems that the Piwigo
> server
> > responds with the 80 port when sending the pictures through HAProxy,
and
> > this seems to be corrected by iPhone Piwigo Client and by the other
Play
> > Store application. It appeared when I installed the HAProxy, with no
SSL
> on
> > the Piwigo server in a first step, and the problem remained the same
> after
> > I implemented https on my Piwigo server. If this is true, the best way
> to
> > fix this system would probably to make sure that the piwigo server,
when
> > behind HAProxy, do not send the frames in the form
> > https://piwigo.piquot.eu:80/...
> >
> > thanks,
> > Gerard
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#184 (comment)>,
>
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AABMRXXG6P4AY4UKAJUV75DXZDZEDANCNFSM4JHSY6UA>
>
> > .
> > You are receiving this because you were mentioned.Message ID:
> > ***@***.*** <mailto:***@***.***> >
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#184 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AGX7RUDVXXLPH72V2FZWCA3XZD5TVANCNFSM4JHSY6UA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.*** <mailto:***@***.***> >
>
—
Reply to this email directly, view it on GitHub <
#184 (comment)>
, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AWYATYUUKZIJ2ZNXKSF6FXTXZESUXANCNFSM4JHSY6UA>
.
You are receiving this because you commented. <
https://github.com/notifications/beacon/AWYATYXMSM7OJDNOCGZARIDXZESUXA5CNFSM4JHSY6UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOMXRJ2OQ.gif>
Message ID: ***@***.*** ***@***.***> >
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABMRXSN4MY3AYUQRZOUMFTXZIAJDANCNFSM4JHSY6UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Jim, Bogdan, I can send you the working configuration, but I cannot usefully send the non _working, as I am using HAProxy as a pfSense package and even if I restore the configuration recorded before my cleaning operation, it is working fine with it, now. The only thing I did when cleaning was to remove the SQUID proxy and Reverse Proxy packages that I tried to use before I decided to switch to HAProxy. Squid was disabled, and mentions all services are disabled. With restoring the configuration of pfSense (including all SQUID packages) I cannot reproduce the Piwigo NG problem any more, sorry. here is the latest working configuration (automatically generated by pfSense): I also added the following lines to the vhost section of sites-available/bsd.lan-ssl.conf and to httpd.conf (did not know where should be) after installing mod_remoteip :
Concerning the browser problem that I mentionned, I agree that it worked with Android in the same way as from any other environment: some thumbnails and associated links were unavailable on the first display of the page. To display all of them, I had to refresh the page. This is working fine now I understand this is not very helpful and apologize, thanks for your help Gérard |
Hi Gerard
Thank you for your effort.
I made some changed based on your config and now I get thumbnails and I can
enter the folders, but pictures are not displayed. I am going to stick to
my browser based link. I don't want to spend more time on this one.
Everything else is working fine on my end on Android except ther Puiwigo
NG. :-(
Bogdan
ᐧ
…On Thu, Sep 7, 2023 at 3:30 PM Gegele1 ***@***.***> wrote:
Jim, Bogdan,
I can send you the working configuration, but I cannot usefully send the
non _working, as I am using HAProxy as a pfSense package and even if I
restore the configuration recorded before my cleaning operation, it is
working fine with it, now. The only thing I did when cleaning was to remove
the SQUID proxy and Reverse Proxy packages that I tried to use before I
decided to switch to HAProxy. Squid was disabled, and mentions all services
are disabled. With restoring the configuration of pfSense (including all
SQUID packages) I cannot reproduce the Piwigo NG problem any more, sorry.
here is the latest working configuration (automatically generated by
pfSense):
202309071800_working.txt
<https://github.com/Piwigo/Piwigo-Android/files/12552655/202309071800_working.txt>
I also added the following lines to the vhost section of
sites-available/bsd.lan-ssl.conf and to httpd.conf (did not know where
should be) after installing mod_remoteip :
RemoteIPHeader X-Forwarded-For
RemoteIPInternalProxy xxx.yyy.zzz.1/24
Concerning the browser problem that I mentionned, I agree that it worked
with Android in the same way as from any other environment: some thumbnails
and associated links were unavailable on the first display of the page. To
display all of them, I had to refresh the page. This is working fine now
I understand this is not very helpful and apologize,
thanks for your help
Gérard
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABMRXSVXQ6OV2SCA4M4HRLXZIOFHANCNFSM4JHSY6UA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Each of my tablett and smartphone with Android 9 Pie are unable to show pictures with the latest v1.0.2. Folders are there. But no picture. I tried a standard user and a privileged one. No result.
Edit, ramack, Status:
Some servers return strange URLs for the images depending on settings like
original_url_protection
and also if piwigo server is behind an reversproxy like nginx or haproxySolution:
see comment from @EddyLB we need to:
$conf['original_url_protection'] = 'images' or 'all'
is set in the config of the server)The text was updated successfully, but these errors were encountered: