Proxy ignored, debug not working #593

Open
opened 2026-10-05 00:06:24 +02:00 by adam · 2 comments
Owner

Hi all,
we're having some issues with the proxy-settings.
I changed the config file to this:
// If piwigo needs a http-proxy to connect to the internet, set this to true $conf['use_proxy'] = true; // Connection string of the proxy $conf['proxy_server'] = 'ip.goes.here:3128'; // If the http-proxy requires authentication, set username and password here // e.g. username:password $conf['proxy_auth'] = '';
But still receive the message when I try to search for updates:

Connection to server unavailable.

I tried debugging piwigo. My nginx and fpm is not helpful with this and the internal logging is not working.

I changed to loglevel to Debug:
$conf['log_dir'] = '/logs'; // Log level (OFF, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG) // development = DEBUG, production = ERROR $conf['log_level'] = 'DEBUG'; // Keep logs file during X days $conf['log_archive_days'] = 30;
But the folder was not there, neither are the log files. I created the folder myself and changed ownership to my www-data user. Still no Log-Files.
Any idea how to proceed?

Hi all, we're having some issues with the proxy-settings. I changed the config file to this: `// If piwigo needs a http-proxy to connect to the internet, set this to true $conf['use_proxy'] = true; // Connection string of the proxy $conf['proxy_server'] = 'ip.goes.here:3128'; // If the http-proxy requires authentication, set username and password here // e.g. username:password $conf['proxy_auth'] = ''; ` But still receive the message when I try to search for updates: > Connection to server unavailable. I tried debugging piwigo. My nginx and fpm is not helpful with this and the internal logging is not working. I changed to loglevel to Debug: `$conf['log_dir'] = '/logs'; // Log level (OFF, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG) // development = DEBUG, production = ERROR $conf['log_level'] = 'DEBUG'; // Keep logs file during X days $conf['log_archive_days'] = 30; ` But the folder was not there, neither are the log files. I created the folder myself and changed ownership to my www-data user. Still no Log-Files. Any idea how to proceed? <!-- github-sync-id:218199947 -->
Author
Owner

I still have the same problem, two and a half year later. The proxy is not working.

Piwigo version is v2.10.1, October 14th, 2019.

It would be awesome if somebody could give an advice. Thank you.

I still have the same problem, two and a half year later. The proxy is not working. Piwigo version is v2.10.1, October 14th, 2019. It would be awesome if somebody could give an advice. Thank you. <!-- github-comment-id:555180195 -->
Author
Owner

proxying works will 2.10.1, if php_curl functionality is installed.

proxying works will 2.10.1, if php_curl functionality is installed. <!-- github-comment-id:560114426 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#593