Forum

403 Forbidden Problem

dailong 2021-06-12 21:01:50 UTC in Paywall: WMSAuth and beyond

I put 2 dns records for live.domain.com for example server A and B. when i am using referrer filter or token authentication, my browser sometimes request server A change to server B. My live steam will hang and get 403 forbidden error. I need to refresh the player. please help, thanks !

Sergei 2021-06-14 00:36:52 UTC 

Hello, Dailong.

That's correct, Round-Robin DNS won't work with WMSAuth because session-id (nimblesessionid) is unique for each server. Each time the chunks are requested, different servers respond to such requests, and 403 returned if the session is not found and access is denied.

If you need a load-balancing solution, please check the following article:
https://blog.wmspanel.com/2015/02/hls-dash-media-streaming-load-balancing.html

Alternatively, you may try using the "absolute_path" option on each server to "stick" the client to the server it started playback from.
https://wmspanel.com/nimble/param#absolute_path

Thank you

Post a reply


Post a new question

Categories:

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.