we cannot find hash match Check signature and wowza wmsauth settings

Daz 2014-04-27 20:16:48 UTC in Paywall: WMSAuth and beyond

I installed wmspanel without any problems after that i wanted hotlink protection.

i used the php code snippet from the samples provided. My password in that snippet is the same as in wmspanel. Dates of the stream and webserver and time is the same.

I have the hotlinking protection enabled on _definst_ and when i go to the website the correct wmsauth url loads but no video. In wmspanel it says the following : we cannot find hash match. Check signature and wowza wmsauth settings. I checked it 10000x now and everything is correct. Right instance , right password, right date and time and i still get this error.

When i disable wmsauth stream plays fine.

This is the php code used and need i fill in the remote address my self or is it correct this way as well.:
$today = gmdate("n/j/Y g:i:s A");
$key = "mypassword";
$validminutes = 20;
$str2hash = $ip . $key . $today . $validminutes;
$md5raw = md5($str2hash, true);
$base64hash = base64_encode($md5raw);
$urlsignature = "server_time=" . $today ."&hash_value=" . $base64hash. "&validminutes=$validminutes";
$base64urlsignature = base64_encode($urlsignature);

Yury Udovichenko 2014-04-28 01:37:39 UTC 

Hello Daz,

Please use our FAQ and follow the steps mentioned in "Q: Hot-linking protection does not work".

If this doesn't help, please contact and send streaming set up details. Please also send URL of the page where you have the player which is set up to stream the protected media.

Post a reply

Post a new question


This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.