# HTTP streams fail after encoder reconnect due to network issues

**URL:** <https://community.wowza.com/t/http-streams-fail-after-encoder-reconnect-due-to-network-issues/38856>\
**Category:** Wowza Streaming Engine\
**Created:** [August 13, 2012, 2:55pm UTC](https://community.wowza.com/t/http-streams-fail-after-encoder-reconnect-due-to-network-issues/38856 "2012-08-13T14:55:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephan\_Grallert](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@Stephan\_Grallert](https://community.wowza.com/u/Stephan_Grallert)\
**Post date:** [August 13, 2012, 2:55pm UTC](https://community.wowza.com/t/http-streams-fail-after-encoder-reconnect-due-to-network-issues/38856/1 "2012-08-13T14:55:37Z")

</div>

Hi!

We observed several times in cases when the network connection from the encoder to the server was disrupted shortly that the RTMP streams will continue however the HTTP streams for cupertino and sanjose did not work any more.

We use FMLE as encoder and it automatically reconnects to the server:

Mon Aug 13 2012 12:00:46 : Primary - Stream[live] Status: Success

Mon Aug 13 2012 12:00:47 : Primary - Stream[live] Status: NetStream.Publish.Start

Mon Aug 13 2012 12:19:02 : Primary - Network Status: NetConnection.Connect.Closed status

Mon Aug 13 2012 12:19:07 : Primary - Disconnected

Mon Aug 13 2012 12:19:07 : Primary - Re-establishing connection, attempt 1

Mon Aug 13 2012 12:19:07 : Primary - Reconnected to FMS/3,5,7,7009

Mon Aug 13 2012 12:19:07 : Primary - Network Command: onFCPublish

Mon Aug 13 2012 12:19:07 : Primary - Stream[live] Status: Success

Mon Aug 13 2012 12:19:07 : Primary - Stream[live] Status: NetStream.Publish.Start

Mon Aug 13 2012 12:19:08 : Auto Adjust: Stop Drop Frame Command sent for stream live being published to server rtmp://ip-of-wowza/ITTM

Mon Aug 13 2012 12:21:52 : Auto Adjust: Drop Frame Command sent for stream live being published to server rtmp://ip-of-wowza/ITTM

Mon Aug 13 2012 12:22:05 : Primary - Network Status: NetConnection.Connect.Closed status

Mon Aug 13 2012 12:22:10 : Primary - Disconnected

Mon Aug 13 2012 12:22:11 : Primary - Re-establishing connection, attempt 1

Mon Aug 13 2012 12:22:11 : Primary - Reconnected to FMS/3,5,7,7009

Mon Aug 13 2012 12:22:11 : Primary - Network Command: onFCPublish

Mon Aug 13 2012 12:22:11 : Primary - Stream[live] Status: Success

Mon Aug 13 2012 12:22:12 : Primary - Stream[live] Status: NetStream.Publish.Start

On the server I can see that RTMP still works, but the others not:

2012-08-13 12:24:02 CEST comment server WARN 200 - HTTPProviderMediaList.onHTTPRequest: MediaList not found: ITTM/_definst_/ngrp:live\_all - - - 176754.269 - - - - - - - - - - - - - - - - - - - - - - - - -

We need to completely stop, disconnect and connect and start the encoder again to overcome it.

Any ideas why and what to do?

Thanx,

Stephan

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [August 13, 2012, 4:05am UTC](https://community.wowza.com/t/http-streams-fail-after-encoder-reconnect-due-to-network-issues/38856/2 "2012-08-13T04:05:53Z")

</div>

Hello Stephan,

Take a look at the Wowza logs for more information. You may see that the HTTP streams have been disconnected, since the time the stream was dropped is longer that the timeout Wowza has for holding the connections open.

For Flash, there is a robust player built around the the stream. For Cupertino, we don’t have this, but it is possible to create such a player that can monitor the stream, respond to disconnect events, and reconnect as you desire. See the Apple resources for examples: [https://developer.apple.com/resources/http-streaming/](https://developer.apple.com/resources/http-streaming/)

For San Jose you can also check the Wowza OSMF example player code and monitor for events. These are the suggestions I have. There may be others.

---

<div class="post-metadata">

**Author:** ![Stephan\_Grallert](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@Stephan\_Grallert](https://community.wowza.com/u/Stephan_Grallert)\
**Post date:** [August 13, 2012, 3:36pm UTC](https://community.wowza.com/t/http-streams-fail-after-encoder-reconnect-due-to-network-issues/38856/3 "2012-08-13T15:36:58Z")

</div>

thanx, but also when I reload the player in Iphone or sanjose web page this happens. it looks like Wowza is not creating these streams any more. Only RTMP

Stephan
