Piwik Displaying "Page URL not defined" for all Https URL


I have installed piwik on server which works on (http or https both) like http(s):///piwik .
However my site is work on https only.

When we ping piwik from https site then
On detailed visitor log page, piwik displays page title but not displaying page url
it displays “Page URL not defined” as page url

When we ping piwik from http site then it working fine and displays page url as well.

I have debugged piwik.php code and look into http request in piwik.php. then i found that https url (which is sent by ajax call in query string) is reaching to piwik.php then some how piwik is not displaying this URI on interface.

Now what should we do now?