Wowza Community

Push Publish errors

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

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

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

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

Yes, if you are using VLC as an MPEG-TS encoder, you would follow this mpeg-ts guide 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 still exists too.

Richard

#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

salvadore

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

In that case i have to use the streammanager no?