Piwik Log import issue after changing authentication mode of piwik


#1

Hi,
Today i changed the piwik authentication mode to httpauth by installing plugin.
It works fine as excepted. It authenticate users from htpasswd file.
But when i try import logs using script it gives error

2015-04-02 20:13:30,061: [DEBUG] Error when connecting to Piwik: HTTP Error 401: Authorization Required
2015-04-02 20:13:32,105: [DEBUG] Error when connecting to Piwik: HTTP Error 401: Authorization Required
2015-04-02 20:13:34,149: [DEBUG] Error when connecting to Piwik: HTTP Error 401: Authorization Required

I also tried to pass userid ,pass in command arguments.
Also tried token auth but no success .
Any one know how to solve this issue.


(Matthieu Aubry) #2

Hi Tejas,

I believe it could be a missing feature in Piwik Log Analytics script to let you input the HTTP username and HTTP password.

can you create an issue at: Issues · matomo-org/piwik-log-analytics · GitHub ?