# A timeout occured while attempting to connect

**URL:** <https://community.wowza.com/t/a-timeout-occured-while-attempting-to-connect/52867>\
**Category:** Wowza GoCoder SDK\
**Created:** [February 18, 2019, 3:37pm UTC](https://community.wowza.com/t/a-timeout-occured-while-attempting-to-connect/52867 "2019-02-18T15:37:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gouse\_Mohiddin](https://avatars.discourse-cdn.com/v4/letter/g/c77e96/32.png) [@Gouse\_Mohiddin](https://community.wowza.com/u/Gouse_Mohiddin)\
**Post date:** [February 18, 2019, 3:37pm UTC](https://community.wowza.com/t/a-timeout-occured-while-attempting-to-connect/52867/1 "2019-02-18T15:37:00Z")

</div>

A broadcast component reported the following error during the PREPARE\_FOR\_BROADCAST transition

severity : ERROR

error class : WOWZStreamingError

error code : 49

description : A timeout occurred while attempting to connect

everytime when i start the stream

---

<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:** [April 1, 2019, 6:25pm UTC](https://community.wowza.com/t/a-timeout-occured-while-attempting-to-connect/52867/2 "2019-04-01T18:25:57Z")

</div>

The error ‘Connection Time Out’ indicates that the encoder can not connect to Wowza. I would try several things

- Wowza Streaming Cloud or Engine is started and accessible - Use Wowza Streaming Cloud or Engine Manager to see if you can login and see everything is working as expected

- Instead of a hostname use an IP address - DNS may not be working

- Have you enabled/installed a new firewall ? Perhaps allowing port 1935 is required.
