Add IP address to "Session not accepted"

Hello everyone,

I’m running into a problem where if Wowza streamer is restarted, users who were previously watching streams keep retrying non-existant chunklists, so I get bombed with these messages:

2016-10-18      16:40:05        UTC     comment server  WARN    200     -       HTTPStreamerAdapterCupertinoStreamer.onPlaylist[live/mystream.stream/chunklist_w722653356.m3u8]: Session not accepted[722653356]        -       -       -       1655.806        -       -       -       -       -       -       -       -       -  --       -       -       -       -       -       -       -       -       -       -       -       -       -       -

I would like to know if/how to customize these messages so that there is an IP address added for these attempts that I can process with other scripts (i.e. ban them temporarily).

Can someone please tell me which HLS Cupertino method to modify to customize the error message above?

Thanks!

P.S.

I didn’t post in the general support forum because it seems to be full of spam. Sorry about this :frowning:

To get more information in your logs, you can enable the debugging messages as described here:

https://www.wowza.com/docs/how-to-troubleshoot-apple-hls-playback#extraLog

It also might be worthwhile looking in to creating a custom module to handle these players/users and disconnect them either after a certain amount of time of them being rejected or when the stream is restarted.

We have a module can be used to disconnect idle RTMP clients:

https://www.wowza.com/docs/how-to-disconnect-idle-flash-rtmp-clients

Another module example of controlling client access to HTTP streams:

https://www.wowza.com/docs/how-to-control-access-to-http-streams-cupertinostreaming-sanjosestreaming-smoothstreaming-mpegdashstreaming

Hope this gets you some ideas on this topic.

Regards,

Alex