Ok, I got the problem solved. It was the Snoopy config once again.
Remember that I recently had a problem with the URL plugin because of some rewrite rules that I make in order to force SSL over my site.
I made a change you suggested on the port being used by Snoopy in order to use the SSL port instead of the default port 80. Well that change I made ($port = 80 → 443), which actually didn't solve the problem last time since Snoopy makes use of curl for https requests which actually gets the port directly from URL (he don't use the variable $port), was causing the problem. The port parameter in the Snoopy config is the port used for non-secured connections only. Since you use Snoopy for updating the currency exchange rates as well, Snoopy was trying to use port 443 to connect to
www.ecb.int, instead of 80.
Again, this kind of info should be published somewhere, I've been doing tests for 2 hours now and I'm happy that I've found the answer, but I spent 2 hours doing so. You should mention that you use Snoopy for this kind of operations, so that the system admin knows what he needs to modify in order to prevent this kind of problems in the future.
In one of my last threads I gave you some precious info about how to correctly configure Snoopy if SSL is forced from Apache, since Snoopy makes use of curl for https requests. The default Snoopy configuration is wrong on Debian systems (mine) since it points to a incorrect curl path by default.
Arunas
Post edited by: amazeika, at: 2009/10/19 11:14
Post edited by: amazeika, at: 2009/10/19 16:47