# How to reconnect live broadcasting / streaming ?

**URL:** <https://community.wowza.com/t/how-to-reconnect-live-broadcasting-streaming/52946>\
**Category:** Wowza Video (Formerly Streaming Cloud)\
**Created:** [March 6, 2019, 4:47pm UTC](https://community.wowza.com/t/how-to-reconnect-live-broadcasting-streaming/52946 "2019-03-06T16:47:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nirav\_patel](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@nirav\_patel](https://community.wowza.com/u/nirav_patel)\
**Post date:** [March 6, 2019, 4:47pm UTC](https://community.wowza.com/t/how-to-reconnect-live-broadcasting-streaming/52946/1 "2019-03-06T16:47:51Z")

</div>

Hello,

I’m used Wowza cloud streaming service for an audio live broadcasting/streaming case and I was used paid wowza cloud streaming service, but sometimes inBetween live broadcasting time change Wowza status and stop broadcasting and given below error in this wowza method/functions.

func onWOWZError(\_ status: WOWZStatus!) {

print(“SDK Wowza State :-\>”,WOWZStatus?.self)

// If an error is reported by the GoCoder SDK, display an alert dialog containing the error details

DispatchQueue.main.async { () -\> Voidin

self.showAlert(“Live Streaming Error”, status: status)

self.updateUIControls()

}

}

Alert Box :  
func showAlert(\_ title:String, error:NSError) {

let alertController = UIAlertController(title: title, message: error.localizedDescription, preferredStyle: .alert)

print(“Error : -\>”,error.localizedDescription)

let action = UIAlertAction(title: “OK”, style: .default, handler: nil)

alertController.addAction(action)

self.present(alertController, animated: true, completion: nil)

}

Display Error :

2019-03-05 11:37:23.938775+0530 Blaster[2328:481593] WowzaGoCoderSDK: Broadcast Message: Stream Error

2019-03-05 11:37:23.938869+0530 Blaster[2328:483255] Session state changed from CLOSING to CLOSED

2019-03-05 11:37:23.939115+0530 Blaster[2328:481593] WowzaGoCoderSDK: WOWZH264Encoder - stopBroadcastingInternal

Status : -\> Status is idle , error is “An error occurred when trying to connect to host: [c2ebc0.entrypoint.cloud.wowza.com](http://c2ebc0.entrypoint.cloud.wowza.com)” (code = 15)

How can I solve this issue quick?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [March 6, 2019, 4:57pm UTC](https://community.wowza.com/t/how-to-reconnect-live-broadcasting-streaming/52946/2 "2019-03-06T16:57:37Z")

</div>

The quickest way to diagnose the true cause of the issue is to submit a support ticket. Our engineers need to have access to more information to determine the problem and for that they require it be submitted through a ticket.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)
