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
console script does not work when Piwik has no internet access #8253
Comments
Did you tried settings mentioned here #6324 ? enable_marketplace = 0 |
If the command is using HTTP requests to archive, it means the system you're using doesn't support archiving through new PHP processes. This can be because you're using windows, because the If you are running the command on Piwik server itself, you could try supplying |
I tried it, but unfortunateley it doesn't work.
|
Perhaps the user that runs the web server or runs PHP is not allowed to connect to the internet? Did you run your test scripts in the same way IIS does or did you run them directly through php.exe? Can you connect to localhost or 127.0.0.1 through something hosted on IIS? I'm not familiar w/ IIS, but it sounds like a system configuration issue to me. |
Hello again, changing the running user did not help.
But like you see in this issue, it never helped, Piwik could never connect somewhere. Maybe it has something to do that Piwik used the configured proxy to connect to its hostname while the hostname is not available from outside the intranet. Using a proxy to connect to an intranet site would be wrong. Maybe half a bug here? While using force_ssl = 1, I had to add You can close the issue. |
I don't think the proxy settings should be used when connecting to localhost/127.0.0.1. I created an issue here: #8272 |
I wonder this modification slows my development on local machine while I'm behind company's proxy because of my http://piwik.local installation runs on localhost apache also if I connect to it from another LAN machine. Piwik is prevented to download remote content. Can we add a force_use=1 inside [Proxy] INI config? Temporarily, I've disabled outer http fetching as explained in #6324 |
I have a piwik installation in a corporate intranet behind a proxy.
We could not get the internet connection (e.g. version check) for Piwik work.
I want to trigger the auto archiving via scheduled task, because scheduled reports are not sent automatically, but unfortunately the Piwik console needs to have a internet connection.
a test script with following content does work without problems from the servers command line, so normally Piwik shoud reach itself over https...
I do not understand why it is necessary for the auto archive script to open an internet connection via curl_exec.
Wouldn't it be better to handle server side scripts on the server without HTTP API calls?
The text was updated successfully, but these errors were encountered: