Wowza Community

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/]: 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?



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:

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:

Another module example of controlling client access to HTTP streams:

Hope this gets you some ideas on this topic.