I’ve been working on a streaming app. After starting my Wowza Streaming Engine server, I get the following error in xCode console: An error occurred when trying to connect to host.
So I looked in the server logs and found this: REST API: exists(): File (usr/local/WowzaStreamingEngine/conf/live/Application.xml) does not exist.
I haven’t changed anything in the app or on the server in the past 30 days. My last stream 20 days ago worked perfectly fine. What happened?
Sorry for the delay @Eli Richey…is this still showing up?
No worries. And yes, it’s still happening.
Ok, let me ask what could have happened since you said you hadn’t made any changes and as soon as I hear, I will let you know.
You sure this isn’t a syntax error? There should be a forward slash in front of Application.xml.
usr/local/WowzaStreamingEngine/conf/live/Application.xml
^
Positive. It was my mistake typing it in.
Tim, to clarify, the error still exists. I mistyped the path in my initial report. I have fixed the route to properly display the error. Please let me know if you have any additional ideas on a possible fix.
Is Applicatiion.xml in [install-dir]/conf/live?
How about file permissions?
The REST API can delete an application, but it doesn’t have the ability to delete only Application.xml. An empty folder is unexpected. if the file is missing, it is probably a factor external to Wowza Streaming Engine. There’s a lot I don’t know about your setup. Again, need to be sure xCode can read that folder. I’m not familiar with xCode, in-general, so I’m not a lot of use to you in that context.
Does this happen when interacting with other applications (i.e. vod)?
There is are Application.xml files at /conf/Application.xml and /conf//Application.xml
There is no vod or live dir in conf
Here’s my setup:
1 - Wowza Streaming Engine BYOL install on AWS from the marketplace. It’s been working great up until 21 days ago. I installed this about a year ago. It’s an linux server. Running WSE Version 4.7.7
2 - I have a mobile application using the Gocoder SDK (v1.8). It’s on both android and ios, and configured to use the WSE installation and has worked successfully for months prior to this issue.
I have not made any updates to WSE besides starting/stopping the AWS instance when we’re not testing our streaming app.
My install dir: /usr/local/WowzaStreamingEngine
So after accessing the server from my terminal, I can confirm that there is no Application.xml file at <install_dir>/conf/live/Application.xml, or at <install_dir>/conf/vod/Application.xml. There are no live or vod directories in my conf dir.
There is an Application.xml file at <install_dir>/conf/Application.xml and at <install_dir>/conf/<application_dir>/Application.xml.
I also tried symlinking the existing Application.xml files to live/vod directories with no success.
Please let me know if there’s anything else i can provide to give you a clearer picture of what’s going on. Thanks again for the help.
It sounds like the files are indeed present in specific application folder(s). Did you manually remove the /live and /vod folders in /conf or is Application.xml mysteriously missing from these folders?
I’m leaning toward sending you to a technical support ticket. What you’re describing is unusual, where we need to look deeper at your log file and inspect your file structure and configuration to be sure. It’s messy to go into that detail in this forum.
Tim, error was on my end. Syntax error in my custom plugin. All errors fixed. Thank you so much for your help!
Glad you have it worked out! Thanks Tim for your help here.