1
我試圖將Piwik設置爲分析工具,並讓它處理我的Nginx訪問日誌。出於某種原因,python無法連接到Piwik,我相信這是因爲我的網站只能通過SSL服務,但我不確定錯誤的含義。當我運行以下命令:通過SSL進行卷發請求失敗
sudo python /home/forge/example.com/piwik/misc/log-analytics/import_logs.py --url=https://example.com/piwik --idsite=1 --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots /var/log/nginx/example.com-access.log
我回來了以下內容:
[INFO] Error when connecting to Piwik: <urlopen error [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error>
[INFO] Retrying request, attempt number 2
我相信這是通過SSL捲曲失敗,但我不能肯定。有沒有人有這個問題之前或有任何更多的信息在這個錯誤?
這可能是與此特定網址相關的問題。使用[SSLLabs](https://www.ssllabs.com/ssltest/analyze.html)檢查網站,查看是否列出了特定客戶端的任何問題。 –