Skip to content
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

import_logs.py Error when connecting to Piwik certificate verify failed #9689

Closed
kalimalrazif opened this issue Feb 3, 2016 · 1 comment
Closed
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@kalimalrazif
Copy link

Good day:

I'm on debian jessie, I instaled the latest version of piwik 2.15 and I have a nginx server with snakeoil certificates, I have been installed this same version on debian squeezy with same config (snakeoil certificate, and nginx) and everything was ok, now I'm getting this message from import_logs.py

python /var/www/imscp/gui/public/tools/piwik/misc/log-analytics/import_logs.py --url=https://nginx_ip:4443/piwik/ --add-sites-new-hosts --recorders=1 --enable-http-redirects --enable-http-errors --enable-http-redirects --enable-static --enable-bots /var/log/varnish/access_domain.log --show-progress --log-hostname=domain
0 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
Parsing log /var/log/varnish/access_domain.log...
2016-02-03 15:40:06,766: [INFO] Error when connecting to Piwik: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>
2016-02-03 15:40:06,766: [INFO] Retrying request, attempt number 2
2 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
2 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
2 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
2 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
2 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
2 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
2 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
2 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
2 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
2 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
2016-02-03 15:40:16,778: [INFO] Error when connecting to Piwik: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>
2016-02-03 15:40:16,778: [INFO] Retrying request, attempt number 3

Is there anything I can do to make it work with snakeoil certificates? Or I must put the server out of ssl :-(

Thanks in advance
Nomar

@mattab
Copy link
Member

mattab commented Mar 17, 2016

Hi @kalimalrazif please report this issue on the Log Analytics issue tracker there: https://github.com/piwik/piwik-log-analytics/issues

we will be able to implement a new feature to help you

@mattab mattab closed this as completed Mar 17, 2016
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants