Wowza Community

live hls stream shows as Active, but after a while goes into Waiting for stream state

Hello.

I have a problem running a live stream. We are using a stream.file to ingest the incoming rtmp live stream and also using trancoder and smil for abr.

When starting the streameverything is ok, we can see Active state, but after some time (1-2 hours) the incoming .stream goes into “Waiting for stream” even if the encoder is connected.

Looking in the error logs i can see many of these:

RRORservercomment2017-11-0306:06:41-----35908.881--------HTTPUtils.HTTPRequestToByteArray : java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:1935/avra/avra/playlist.m3u8|at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)|at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)|at com.wowza.util.HTTPUtils.HTTPRequestToByteArray(HTTPUtils.java:182)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasic.getSessionDescriptionData(RTPSessionDescriptionDataProviderBasic.java:423)|at com.wowza.wms.mediacaster.rtp.RTPMediaCaster.getStreamInfo(RTPMediaCaster.java:205)|
WARNservercomment2017-11-0306:06:41-----35908.881--------RTPSessionDescriptionDataProviderBasic.getStreamInfo: HTTPRequest: return: null
WARNservercomment2017-11-0306:06:44-----35907.44--------HTTPStreamerAdapterCupertinoStreamer.onPlaylist[avra/avra/playlist.m3u8]: Session not accepted[1678903278]
ERRORservercomment2017-11-0306:06:44-----35911.881--------HTTPUtils.HTTPRequestToByteArray : java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:1935/avra/avra/playlist.m3u8|at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)|at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)|at com.wowza.util.HTTPUtils.HTTPRequestToByteArray(HTTPUtils.java:182)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasic.getSessionDescriptionData(RTPSessionDescriptionDataProviderBasic.java:423)|at com.wowza.wms.mediacaster.rtp.RTPMediaCaster.getStreamInfo(RTPMediaCaster.java:205)|
WARNservercomment2017-11-0306:06:44-----35911.881--------RTPSessionDescriptionDataProviderBasic.getStreamInfo: HTTPRequest: return: null
WARNservercomment2017-11-0306:07:10-----35933.379--------HTTPStreamerAdapterCupertinoStreamer.onPlaylist[avra/avra/playlist.m3u8]: Session not accepted[462742909]
ERRORservercomment2017-11-0306:07:10-----35937.82--------HTTPUtils.HTTPRequestToByteArray : java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:1935/avra/avra/playlist.m3u8|at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)|at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)|at com.wowza.util.HTTPUtils.HTTPRequestToByteArray(HTTPUtils.java:182)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasic.getSessionDescriptionData(RTPSessionDescriptionDataProviderBasic.java:423)|at com.wowza.wms.mediacaster.rtp.RTPMediaCaster.getStreamInfo(RTPMediaCaster.java:205)|
WARNservercomment2017-11-0306:07:10-----35937.821--------RTPSessionDescriptionDataProviderBasic.getStreamInfo: HTTPRequest: return: null
WARNservercomment2017-11-0306:07:13-----35936.355--------HTTPStreamerAdapterCupertinoStreamer.onPlaylist[avra/avra/playlist.m3u8]: Session not accepted[311851946]
ERRORservercomment2017-11-0306:07:13-----35940.796--------HTTPUtils.HTTPRequestToByteArray : java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:1935/avra/avra/playlist.m3u8|at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)|at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)|at com.wowza.util.HTTPUtils.HTTPRequestToByteArray(HTTPUtils.java:182)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasic.getSessionDescriptionData(RTPSessionDescriptionDataProviderBasic.java:423)|at com.wowza.wms.mediacaster.rtp.RTPMediaCaster.getStreamInfo(RTPMediaCaster.java:205)|
WARNservercomment2017-11-0306:07:13-----35940.796--------RTPSessionDescriptionDataProviderBasic.getStreamInfo: HTTPRequest: return: null

Wowza version is 4.7.1 (build 20635) running on a xeon e7-4839 (4 processors), 128 GB ddram, ssd storage with windows server 2016.

Any ideea what the problem could be?

Thanks!

Hello,

Thanks for contacting the Wowza Community

We would need to see a log file with the incoming stream during this time and see what is going on. Can you open a ticket HERE and include 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 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

regards,
Jermaine

waiting for stream state|

tired to restrart and created new but still the same issue

Could be an encoding issue or the packets are not being configured and sent correctly. It is too hard to tell without viewing your files and logs so can you submit a support ticket @Billakanti Avinash? We’ll take a look and see what the problem is for you.

https://www.wowza.com/support/open-ticket