# Push Publish errors

**URL:** <https://community.wowza.com/t/push-publish-errors/37104>\
**Category:** Wowza Streaming Engine\
**Created:** [March 18, 2014, 10:48pm UTC](https://community.wowza.com/t/push-publish-errors/37104 "2014-03-18T22:48:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![asher\_davidof](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@asher\_davidof](https://community.wowza.com/u/asher_davidof)\
**Post date:** [March 18, 2014, 10:48pm UTC](https://community.wowza.com/t/push-publish-errors/37104/1 "2014-03-18T22:48:14Z")

</div>

Hi

I am Useing push publish to push from one wowza server to onther

in the first server i use StreamType “live” and use StreamManager to start streams.

every day i get the fallowing errors and are forced to restart the server

```auto
WARN server comment 2014-03-19 05:05:30 - - - - - 123542.064 - - - - - - - - NetConnectionConnection.connect: Failed to connect[xxx.xxx.xxx.xxx:1935:SSL=false] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:140)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:119)|at com.wowza.wms.netconnection.NetConnection.connect(NetConnection.java:100)|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP.internalConnect(PushPublishRTMP.java:2081)|
WARN server comment 2014-03-19 05:05:30 - - - - - 123542.064 - - - - - - - - NetConnectionConnection.connect: Failed to connect[xxx.xxx.xxx.xxx:1935:SSL=false] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:140)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:119)|at com.wowza.wms.netconnection.NetConnection.connect(NetConnection.java:100)|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP.internalConnect(PushPublishRTMP.java:2081)|
WARN server comment 2014-03-19 05:05:30 - - - - - 123542.064 - - - - - - - - NetConnectionConnection.connect: Failed to connect[xxx.xxx.xxx.xxx:1935:SSL=false] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:140)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:119)|at com.wowza.wms.netconnection.NetConnection.connect(NetConnection.java:100)|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP.internalConnect(PushPublishRTMP.java:2081)|
WARN server comment 2014-03-19 05:05:30 - - - - - 123542.064 - - - - - - - - NetConnectionConnection.connect: Failed to connect[xxx.xxx.xxx.xxx:1935:SSL=false] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:140)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:119)|at com.wowza.wms.netconnection.NetConnection.connect(NetConnection.java:100)|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP.internalConnect(PushPublishRTMP.java:2081)|
WARN server comment 2014-03-19 05:05:30 - - - - - 123542.064 - - - - - - - - NetConnectionConnection.connect: Failed to connect[xxx.xxx.xxx.xxx195.216.230.60:1935:SSL=false] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:140)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:119)|at com.wowza.wms.netconnection.NetConnection.connect(NetConnection.java:100)|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP.internalConnect(PushPublishRTMP.java:2081)|
WARN server comment 2014-03-19 05:05:30 - - - - - 123542.064 - - - - - - - - NetConnectionConnection.connect: Failed to connect[195.216.230.60:1935:SSL=false] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:140)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:119)|at com.wowza.wms.netconnection.NetConnection.connect(NetConnection.java:100)|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP.internalConnect(PushPublishRTMP.java:2081)|
WARN server comment 2014-03-19 05:05:30 - - - - - 123542.064 - - - - - - - - NetConnectionConnection.connect: Failed to connect[xxx.xxx.xxx.xxx0:1935:SSL=false] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:140)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:119)|at com.wowza.wms.netconnection.NetConnection.connect(NetConnection.java:100)|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP.internalConnect(PushPublishRTMP.java:2081)|
WARN server comment 2014-03-19 05:05:30 - - - - - 123542.064 - - - - - - - - NetConnectionConnection.connect: Failed to connect[xxx.xxx.xxx.xxx:1935:SSL=false] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:140)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:119)|at com.wowza.wms.netconnection.NetConnection.connect(NetConnection.java:100)|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP.internalConnect(PushPublishRTMP.java:2081)|
WARN server comment 2014-03-19 05:05:30 - - - - - 123542.064 - - - - - - - - NetConnectionConnection.connect: Failed to connect[xxx.xxx.xxx.xxx:1935:SSL=false] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:140)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:119)|at com.wowza.wms.netconnection.NetConnection.connect(NetConnection.java:100)|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP.internalConnect(PushPublishRTMP.java:2081)|
WARN server comment 2014-03-19 05:05:30 - - - - - 123542.064 - - - - - - - - NetConnectionConnection.connect: Failed to connect[xxx.xxx.xxx.xxx:1935:SSL=false] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:140)|at com.wowza.wms.netconnection.NetConnectionConnection.connect(NetConnectionConnection.java:119)|at com.wowza.wms.netconnection.NetConnection.connect(NetConnection.java:100)|at com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP.internalConnect(PushPublishRTMP.java:2081)|

```

all the servers are wowza 4.0.1

any advice?

/asaf

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [March 19, 2014, 4:27pm UTC](https://community.wowza.com/t/push-publish-errors/37104/2 "2014-03-19T16:27:11Z")

</div>

Hi,

It looks like the Push Publishing addon running on your first server is not able to connect to the application running on your second server.

Can you please post the line from your PushPublishMap.txt file with the connection settings for publishing the stream to your second Wowza server?

Zoran

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [March 19, 2014, 8:27am UTC](https://community.wowza.com/t/push-publish-errors/37104/3 "2014-03-19T08:27:11Z")

</div>

Hello, I suggest removing StreamManager from your workflow. StreamManager is used for rtp, shoutcast or liverepeater streams, so it is not necessary for this situation.

The error you are seeing indicates that Wowza is unable to make a TCP connection to the Wowza Server on the other side. So it is some sort of communication problem. This would be the place to start troubleshooting.

Salvadore

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 31, 2014, 3:42pm UTC](https://community.wowza.com/t/push-publish-errors/37104/4 "2014-03-31T15:42:24Z")

</div>

Yes, if you are [using VLC as an MPEG-TS encoder](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts%28MPEG-TS%29), you would follow [this mpeg-ts guide](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder%28MPEG-TS-based-encoder%29) to re-stream, which involves StreamManager or StartUpStreams.xml. The Wowza 4 Manager will add a .stream to StartUpStreams.xml or startup streams. The [old StreamManager](https://www.wowza.com/docs/how-to-use-stream-manager-in-wowza-media-server-3) still exists too.

Richard

---

<div class="post-metadata">

**Author:** ![asher\_davidof](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@asher\_davidof](https://community.wowza.com/u/asher_davidof)\
**Post date:** [March 24, 2014, 7:48am UTC](https://community.wowza.com/t/push-publish-errors/37104/5 "2014-03-24T07:48:07Z")

</div>

> #myStream={profile:“rtmp”, streamName:“myStreamRTMP”, host:“localhost”, application:“live”, userName:“myuser”, password:“mypassword”}
> 
> #\*={profile:“rtmp”, host:“xxx.xxx.xxx.xxx”, application:“live”, userName:“user”, password:“password”}
> 
> live35.stream={profile:“rtmp”, debugLog:true, host:“xxx.xxx.xxx.xxx”, application:“live”, userName:“user”, password:“password”}
> 
> live36.stream={profile:“rtmp”, debugLog:true, host:“xxx.xxx.xxx.xxx”, application:“live”, userName:“user”, password:“password”}
> 
> live41.stream={profile:“rtmp”, debugLog:true, host:“xxx.xxx.xxx.xxx”, application:“live”, userName:“user”, password:“password”}
> 
> live43.stream={profile:“rtmp”, debugLog:true, host:“xxx.xxx.xxx.xxx”, application:“live”, userName:“user”, password:“password”}
> 
> I have 24 row’s 1 for each stream (the Asterisk does not work ).
> 
> I push them to xxx.xxx.xxx.xxx server to application live.
> 
> it happens every couple of days. then i have to restart my app in the first server

---

<div class="post-metadata">

**Author:** ![asher\_davidof](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@asher\_davidof](https://community.wowza.com/u/asher_davidof)\
**Post date:** [March 24, 2014, 7:52am UTC](https://community.wowza.com/t/push-publish-errors/37104/6 "2014-03-24T07:52:29Z")

</div>

salvadore

I use vlc to transcode and send the streams to the first server.

In that case i have to use the streammanager no?
