Wowza Community

Error on "Startup Streams"

Hi,

I have a error on my page startup streams!

What is the problem ?

Hello,

Are you seeing this stack trace error on other streams? Was there a OS or other software upgrade recently?

What is the memory status of this machine?

Are you able to create a new Startup stream?

Best,

JasonT

If you have not done so already, please open a ticket with support by following the instructions found here

Regards,

Salvadore

It’s Windows Server 2012, i have 5 GB memory, and i can’t create a new startup stream.

Everything work’s on Wowza, only the startup page have a error. :frowning:

Regards,

Wiebe

To help anyone else coming here with this issue, this can occur if StartupStreams.xml is of a different encoding. In our case, it was UTF-8 with a byte-order-mark (BOM).

Notepad does not show the BOM, but will save it when editing a file that has one. This means if the user edits the file in notepad he will not see the issue, even when making sure to save as UTF-8. Wordpad or a code editor that is more precise about encodings can be used to fix the issue.

In our case, I opened StartupStreams.xml in Visual Studio Code (not the full ide, the lightweight editor - Sublime or similar would probably work too) I clicked ‘UTF with BOM’ on the bottom right, then Save With Encoding. I chose 'UTF8, NOT UTF8 with BOM. Copying this file over the existing one then fixed the issue immediately - no reset was necessary.

I do think this is a bug in Wowza. At a minimum it should show a more useful error: File Not Found indicates that the file doesn’t exist. The error should instead say “file cannot be parsed” or similar. A better fix would be to just gracefully handle the BOM. Most XML parsers should be able to handle this OOB, or it would be trivial to find and remove the BOM before parsing the XML