# HLS stream, error when trying to switch streams too fast from player

**URL:** <https://community.wowza.com/t/hls-stream-error-when-trying-to-switch-streams-too-fast-from-player/48896>\
**Category:** Wowza Streaming Engine\
**Tags:** server-administration\
**Created:** [June 1, 2017, 8:12am UTC](https://community.wowza.com/t/hls-stream-error-when-trying-to-switch-streams-too-fast-from-player/48896 "2017-06-01T08:12:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frederic\_Brandt](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@Frederic\_Brandt](https://community.wowza.com/u/Frederic_Brandt)\
**Post date:** [June 1, 2017, 8:12am UTC](https://community.wowza.com/t/hls-stream-error-when-trying-to-switch-streams-too-fast-from-player/48896/1 "2017-06-01T08:12:31Z")

</div>

Hi,

I’m trying to achieve making a player where you can switch live HLS sources quickly (using videogular to be accurate). If I switch sources slowly, like waiting for 5-6 seconds, everything works. But, when trying to switch sources faster, the server sends a 403 Forbidden error. I think it’s something like a security measure to prevent users flooding the server, but in my use case, it’s really problematic.

Is there a way maybe to authorize this use in the control panel ? I haven’t found anything…

I’ve found this in the Wowza log when the error happens :

```auto
HTTPStreamerAdapterCupertinoStreamer.onPlaylist[live/1/playlist.m3u8?DVR]: Invalid session

```

---

<div class="post-metadata">

**Author:** ![Jermaine\_Hemby](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jermaine\_Hemby](https://community.wowza.com/u/Jermaine_Hemby)\
**Post date:** [June 3, 2017, 4:17pm UTC](https://community.wowza.com/t/hls-stream-error-when-trying-to-switch-streams-too-fast-from-player/48896/2 "2017-06-03T16:17:39Z")

</div>

Hello!

Thanks for contacting the Wowza Community!

Confirming this is for a Live stream?

Looks like you are also using nDVR. Are you switching to a archived stream or a current live stream?

Do you have any security enabled on the server that would cause a 403 forbidden error?

Might be best also to open a ticket [HERE](https://www.wowza.com/support/open-ticket)and provide the following:

- Your logs in a .zip file, located here: [install-dir]/logs
- Your conf folder in a .zip file, located here: [install-dir]/conf
- Your manager folder in a .zip file, located here: [install-dir]/manager
- Your transcoder folder in a .zip file, located here: [install-dir]/transcoder
- Helpful Article on creating a .zip file: [https://www.wowza.com/docs/how-to-create-a-compressed-zip-file-in-windows-os-x-and-linux](https://www.wowza.com/docs/how-to-create-a-compressed-zip-file-in-windows-os-x-and-linux)

Hope this helps.

Regards,

Jermaine

---

<div class="post-metadata">

**Author:** ![Laurent\_de\_Blasis](https://avatars.discourse-cdn.com/v4/letter/l/4da419/32.png) [@Laurent\_de\_Blasis](https://community.wowza.com/u/Laurent_de_Blasis)\
**Post date:** [December 6, 2017, 7:41pm UTC](https://community.wowza.com/t/hls-stream-error-when-trying-to-switch-streams-too-fast-from-player/48896/3 "2017-12-06T19:41:34Z")

</div>

Hello,

I’m having exactly the same problem with a default server and the default vod application on WowzaStreamingEngine-4.7.1 with a developer licence, my server is a relative clean Unix Debian Jessie (I also tested on my local Winodws 7 system).

I get an error after calling and streaming a video more than 10 times in a row (every 4 sec for exemple), same problem with different videos on each call.

For exemple, if I run the Test player from the Engine Manager (tested with HLS, MPEG DASH, HDS), and click on Start and Stop buttons with the default sample.mp4, after the 10th time, I got an error: “Status: Source stream or file could not be found or access was denied.”

On the server side, at the same moment, I get this line in the /usr/local/WowzaStreamingEngine-4.7.1/logswowzastreamingengine\_error.log: (First line is the error with HLS, second with MPEG DASH, third with HDS)

```auto
WARN servercomment 2017-12-05 15:53:35-----17.952--------HTTPStreamerAdapterMPEGDashStreamer.onManifest[vod/mp4:sample.mp4/manifest.mpd]: Invalid session 
WARN servercomment 2017-12-05 15:53:35-----17.952--------HTTPStreamerAdapterMPEGDashStreamer.onManifest[vod/mp4:sample.mp4/manifest.mpd]: Invalid session
WARN servercomment 2017-12-05 15:55:58-----161.226--------HTTPStreamerAdapterSanJoseStreamer.onPlaylist: Invalid session

```

Do you have any idees what is causing this problem ? is it maybe due to the developer licence ? Can you help me ?

Thank you for your answer.

Laurent

---

<div class="post-metadata">

**Author:** ![jaewon\_choi](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@jaewon\_choi](https://community.wowza.com/u/jaewon_choi)\
**Post date:** [January 30, 2018, 4:00pm UTC](https://community.wowza.com/t/hls-stream-error-when-trying-to-switch-streams-too-fast-from-player/48896/4 "2018-01-30T16:00:27Z")

</div>

fixed this issue? I happen the same. (WowzaStreamingEngine-4.7.3)
