Connecting to YouTube Live issues

I have a security camera streaming in just fine, the test player works as expected, the Stream target is setup for pushing to youtube it looks like it is connecting, but then closes right away for some reason. Can anybody shed any light on the situation?

access.log shows this.

PushPublishRTMP.sessionOpened[rtmp://a.rtmp.youtube.com:1935/rtmp://a.rtmp.youtube.com/live2/v1sp-tc8r-tktv-XXXX	
PushPublishRTMP.callConnect[rtmp://a.rtmp.youtube.com:1935/rtmp://a.rtmp.youtube.com/live2/v1sp-tc8r-tktv-XXXX]: rtmp://a.rtmp.youtube.com/live2 {Obj[]: app: "rtmp://a.rtmp.youtube.com/live2", flashVer: "FMLE/3.0 (compatible; FMSc/1.0)", swfUrl: "WowzaProLiveRepeater", tcUrl: "rtmp://a.rtmp.youtube.com:1935/rtmp://a.rtmp.youtube.com/live2", fpad: false, audioCodecs: 3191.0, videoCodecs: 252.0, pageUrl: "", sendChunkSize: 4096.0}	
PushPublishRTMP>?sendPackets[rtmp://a.rtmp.youtube.com:1935/rtmp://a.rtmp.youtube.com/live2/v1sp-tc8r-tktv-XXXX]: Waiting on Session, app:live/_definst_	
PushPublishRTMP.sessionClosed[rtmp://a.rtmp.youtube.com:1935/rtmp://a.rtmp.youtube.com/live2/v1sp-tc8r-tktv-XXXX]	
PushPublishRTMP.removeSession[rtmp://a.rtmp.youtube.com:1935/rtmp://a.rtmp.youtube.com/live2/v1sp-tc8r-tktv-XXXX]: {}	
PushPublishRTMP.closePushPubSession[rtmp://a.rtmp.youtube.com:1935/rtmp://a.rtmp.youtube.com/live2/v1sp-tc8r-tktv-XXXX]: Closed	
PushPublishRTMP.sessionClosed[rtmp://a.rtmp.youtube.com:1935/rtmp://a.rtmp.youtube.com/live2/v1sp-tc8r-tktv-XXXX]: RTMP session closed unexpectedly. Retrying in 34170 msec	

and error.log shows

PushPublishRTMP.sessionClosed[rtmp://a.rtmp.youtube.com:1935/rtmp://a.rtmp.youtube.com/live2/v1sp-tc8r-tktv-XXXX]: RTMP session closed unexpectedly. Retrying in 3000 msec

updated with new issue.

Hello,

I would double check your Youtube stream target settings.

Source Stream Name= ‘myStream’ or the Stream name you are using.

Destination Application Name= ‘live2’

Destination Host= ‘a.rtmp.youtube.com

Destination Port= ‘1935’

Destination Stream Name= YouTube Stream Name Key

https://www.wowza.com/docs/how-to-stream-to-youtube

Best,

JasonT