Unable to Connect to Wowza Streaming Engine Service in Docker

Hello Wowza Community,

I’m currently working with a fresh installation of Ubuntu 22.04 LTS running Docker Engine, and I’ve set up the Wowza Streaming Engine container using Docker Compose. However, I’m encountering an issue where the Wowza Streaming Engine Manager cannot connect to the Wowza service.

My Setup

Here’s the docker-compose.yml I created and started:

services:
  wowza:
    image: registry.company.com/proxy/wowzamedia/wowza-streaming-engine-linux:latest
    container_name: wowza-streaming-engine
    environment:
      - WSE_MGR_USER=wowza_user
      - WSE_MGR_PASS=wowza_password
      - WSE_LIC=<license>
      - WSE_IP_PARAM=172.16.4.10
    ports:
      - "1935:1935"
      - "8087:8087"
      - "8088:8088"
      - "8443:443"
      - "554:554"
      - "8086:8086"
    volumes:
      - ./wowza-config:/usr/local/WowzaStreamingEngine/conf
      - ./wowza-apps:/usr/local/WowzaStreamingEngine/content
      - ./logs/wse-logs:/usr/local/WowzaStreamingEngine/logs
      - ./logs/wse-m-logs:/usr/local/WowzaStreamingEngine/manager/logs
      - ./logs/supervisord.log:/supervisor/supervisord.log
    restart: unless-stopped
    command: /sbin/entrypoint.sh

The Issue

I am able to access the Wowza Streaming Engine Manager login page via http://:8088, and the login page loads fine. However, after entering the login credentials, I receive the following error message:

Wowza Streaming Engine Manager could not connect to the Wowza Streaming Engine service (http://localhost:8087). Verify that the Wowza Streaming Engine service has started and is running.

Docker Logs

In the Docker container logs, I see the following messages repeating:

2024-11-22 19:20:40,748 INFO spawned: 'WowzaStreamingEngine' with pid 4788
2024-11-22 19:20:41,856 INFO success: WowzaStreamingEngine entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-11-22 19:20:42,182 INFO exited: WowzaStreamingEngine (exit status 0; expected)
2024-11-22 19:20:43,186 INFO spawned: 'WowzaStreamingEngine' with pid 4861
2024-11-22 19:20:44,326 INFO success: WowzaStreamingEngine entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-11-22 19:20:44,657 INFO exited: WowzaStreamingEngine (exit status 0; expected)
2024-11-22 19:20:45,661 INFO spawned: 'WowzaStreamingEngine' with pid 4933

The Problem

It seems like the Wowza Streaming Engine service is starting and then immediately exiting (exit status 0, expected). This might explain why the Manager can’t connect to it.

Request for Help

  • Could anyone help me understand why Wowza is repeatedly exiting with an “exit status 0” and what might be causing this?
  • Are there any configuration changes I might need to make in the docker-compose.yml or other files to resolve this issue?
  • Any guidance on how to ensure that Wowza stays up and the Manager can properly connect to the service would be much appreciated!

Thanks in advance for your support!

You would need to check the logs for Wowza Streaming Engine in the the Wowza Streaming Engine install directory / logs.
There should be a startup sequence and then an error that would indicate why there is a crash.
Most often you would get something like this when the license is either bad or Wowza Streaming Engine cant connect to the licensing server to check in.