Hi,
We are pushing RTMP streams to akamai from wowza. We are seeing “NetStream.Publish.Illegal” during RTMP negotiation and subsequently the RTMP session with akamai is being closed.
[2016-04-28T07:49:48.931Z] PushPublishRTMP.connect[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]
[2016-04-28T07:49:48.931Z] PushPublishRTMP#IdleHandler.create[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]
[2016-04-28T07:49:48.934Z] PushPublishRTMP.connect[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]
[2016-04-28T07:49:48.934Z] PushPublishRTMP#IdleHandler.create[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]
[2016-04-28T07:49:48.935Z] PushPublishRTMP.connect[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]
[2016-04-28T07:49:48.935Z] PushPublishRTMP#IdleHandler.create[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]
[2016-04-28T07:49:48.946Z] PushPublishRTMP.addSession[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: {[0]: 1637881267 }
[2016-04-28T07:49:48.946Z] PushPublishRTMP.addSession[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: {[0]: 1006620597 }
[2016-04-28T07:49:48.947Z] PushPublishRTMP.addSession[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: {[0]: 1311921983 }
[2016-04-28T07:49:48.957Z] PushPublishRTMP.callConnect[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: EntryPoint {Obj[]: app: "EntryPoint", flashVer: "WIN 10,0,12,36", swfUrl: "WowzaProLiveRepeater", tcUrl: "rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint", fpad: false, audioCodecs: 3191.0, videoCodecs: 252.0, pageUrl: "", sendChunkSize: 4096.0}
[2016-04-28T07:49:48.957Z] PushPublishRTMP.callConnect[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: EntryPoint {Obj[]: app: "EntryPoint", flashVer: "WIN 10,0,12,36", swfUrl: "WowzaProLiveRepeater", tcUrl: "rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint", fpad: false, audioCodecs: 3191.0, videoCodecs: 252.0, pageUrl: "", sendChunkSize: 4096.0}
[2016-04-28T07:49:48.959Z] PushPublishRTMP.callConnect[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: EntryPoint {Obj[]: app: "EntryPoint", flashVer: "WIN 10,0,12,36", swfUrl: "WowzaProLiveRepeater", tcUrl: "rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint", fpad: false, audioCodecs: 3191.0, videoCodecs: 252.0, pageUrl: "", sendChunkSize: 4096.0}
[2016-04-28T07:49:48.967Z] PushPublishRTMP#ConnectResult.onResult[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: result: NetConnection.Connect.Success description:Connection Succeeded. Message:
[2016-04-28T07:49:48.967Z] PushPublishRTMP#ConnectResult.onResult[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: result: NetConnection.Connect.Success description:Connection Succeeded. Message:
[2016-04-28T07:49:48.967Z] PushPublishRTMP#SetChallengeResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: sessionId: 929753.0 challenge:1df64d34824a33e891c8ecf62c0cc665
[2016-04-28T07:49:48.967Z] PushPublishRTMP#SetChallengeResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: sessionId: 929754.0 challenge:9cc0211948070f4e76bbfe3238c65b01
[2016-04-28T07:49:48.970Z] PushPublishRTMP#ConnectResult.onResult[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: result: NetConnection.Connect.Success description:Connection Succeeded. Message:
[2016-04-28T07:49:48.971Z] PushPublishRTMP#SetChallengeResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: sessionId: 929755.0 challenge:141066b10a6c4c54e7bfe3f1b4890fc8
[2016-04-28T07:49:48.977Z] PushPublishRTMP#ClientLoginResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: result: Akamai.Connect.Success
[2016-04-28T07:49:48.977Z] PushPublishRTMP#ClientLoginResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: call releaseStream: 791332947_32507m_360@353530
[2016-04-28T07:49:48.977Z] PushPublishRTMP#ClientLoginResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: result: Akamai.Connect.Success
[2016-04-28T07:49:48.977Z] PushPublishRTMP#ClientLoginResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: call FCPublish: 791332947_32507m_360@353530
[2016-04-28T07:49:48.977Z] PushPublishRTMP#ClientLoginResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: call releaseStream: 791332947_32507m_720@353530
[2016-04-28T07:49:48.977Z] PushPublishRTMP#ClientLoginResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: call FCPublish: 791332947_32507m_720@353530
[2016-04-28T07:49:48.982Z] PushPublishRTMP#ClientLoginResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: result: Akamai.Connect.Success
[2016-04-28T07:49:48.982Z] PushPublishRTMP#ClientLoginResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: call releaseStream: 791332947_32507m_240@353530
[2016-04-28T07:49:48.982Z] PushPublishRTMP#ClientLoginResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: call FCPublish: 791332947_32507m_240@353530
[2016-04-28T07:49:48.988Z] PushPublishRTMP#FCPublishResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: result: NetStream.Publish.Illegal
[2016-04-28T07:49:48.988Z] PushPublishRTMP.removeSession[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: {}
[2016-04-28T07:49:48.988Z] PushPublishRTMP.sendCloseStreamCommands[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: netconnection not found, just disconnecting session
[2016-04-28T07:49:48.988Z] PushPublishRTMP.disconnect[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: null
[2016-04-28T07:49:48.994Z] PushPublishRTMP#FCPublishResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: result: NetStream.Publish.Illegal
[2016-04-28T07:49:48.994Z] PushPublishRTMP.removeSession[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: {}
[2016-04-28T07:49:48.994Z] PushPublishRTMP.sendCloseStreamCommands[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: netconnection not found, just disconnecting session
[2016-04-28T07:49:48.994Z] PushPublishRTMP.disconnect[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: null
[2016-04-28T07:49:49.053Z] PushPublishRTMP#FCPublishResult.onCallback[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: result: NetStream.Publish.Illegal
[2016-04-28T07:49:49.053Z] PushPublishRTMP.removeSession[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: {}
[2016-04-28T07:49:49.053Z] PushPublishRTMP.sendCloseStreamCommands[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: netconnection not found, just disconnecting session
[2016-04-28T07:49:49.053Z] PushPublishRTMP.disconnect[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: null
[2016-04-28T07:49:49.227Z] PushPublishRTMP.sendCloseStreamCommands[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: netconnection not found, just disconnecting session
[2016-04-28T07:49:49.227Z] PushPublishRTMP.disconnect[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_240@353530]: null
[2016-04-28T07:49:49.308Z] PushPublishRTMP.sendCloseStreamCommands[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: netconnection not found, just disconnecting session
[2016-04-28T07:49:49.308Z] PushPublishRTMP.disconnect[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_360@353530]: null
[2016-04-28T07:49:49.310Z] PushPublishRTMP.sendCloseStreamCommands[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: netconnection not found, just disconnecting session
[2016-04-28T07:49:49.310Z] PushPublishRTMP.disconnect[rtmp://b.ep353530.i.akamaientrypoint.net:1935/EntryPoint/791332947_32507m_720@353530]: null
I tried googling for “NetStream.Publish.Illegal” but couldn’t find much. Can you please explain why we are getting “NetStream.Publish.Illegal”?
Thanks ,
Rakshith