Skip to content

[Bug]: Blink1 Listener uses zeroconf/mdns even when manually ip/port specified #892

@philonhisacer

Description

@philonhisacer

What happened?

When using the blink1 listener, the client continues to use zeroconf/mdns, even when an ip/port is specified on the CLI or configuration file when running the client. This may result in being unable to connect to the server if it is unable to resolve the hostname.

Version

3.1.1

Distribution

Desktop

OS

Linux

What browsers are you seeing the problem on?

No response

If applicable, What Listener Clients are You Using?

Blink(1)

TallyArbiter configuration

{
  "security": {
    "jwt_private_key": ""
  },
  "users": [
    {
      "username": "producer",
      "password": "",
      "roles": "producer"
    },
    {
      "username": "admin",
      "password": "",
      "roles": "admin"
    }
  ],
  "cloud_destinations": [],
  "cloud_keys": [],
  "device_actions": [],
  "device_sources": [
    {
      "deviceId": "b333fd2f",
      "sourceIdx": "0",
      "address": "1",
      "sourceId": "35ee6ed0",
      "id": "c59c7215",
      "rename": true
    },
    {
      "deviceId": "f0d91399",
      "sourceIdx": "0",
      "address": "2",
      "sourceId": "35ee6ed0",
      "id": "8eb3631a"
    },
    {
      "deviceId": "0779db74",
      "sourceIdx": "0",
      "address": "3",
      "sourceId": "35ee6ed0",
      "id": "2bbe3c55"
    },
    {
      "deviceId": "49144287",
      "sourceIdx": "0",
      "address": "4",
      "sourceId": "35ee6ed0",
      "id": "0260cf37"
    }
  ],
  "devices": [
    {
      "name": "Camera 1",
      "enabled": true,
      "id": "b333fd2f",
      "linkedBusses": []
    },
    {
      "name": "Camera 2",
      "enabled": true,
      "id": "f0d91399"
    },
    {
      "name": "Camera 3",
      "enabled": true,
      "id": "0779db74"
    },
    {
      "name": "Camera 4",
      "enabled": true,
      "id": "49144287"
    }
  ],
  "sources": [
    {
      "data": {
        "ip": "192.168.0.128",
        "cut_bus_mode": "off",
        "me_onair": [
          "1",
          "2",
          "3",
          "4",
          "5",
          "6"
        ]
      },
      "name": "Atem Mini Pro",
      "sourceTypeId": "44b8bc4f",
      "reconnect": true,
      "enabled": true,
      "id": "35ee6ed0",
      "max_reconnects": 5,
      "connected": true
    }
  ],
  "tsl_clients": [],
  "tsl_clients_1secupdate": false,
  "bus_options": [
    {
      "id": "e393251c",
      "label": "Preview",
      "type": "preview",
      "color": "#00ff00",
      "priority": 50,
      "visible": true
    },
    {
      "id": "334e4eda",
      "label": "Program",
      "type": "program",
      "color": "#ff0000",
      "priority": 200,
      "visible": true
    },
    {
      "id": "12c8d699",
      "label": "Aux 1",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": true
    },
    {
      "id": "0449b0c7",
      "label": "Aux 2",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": true
    },
    {
      "id": "5d94f273",
      "label": "Aux 3",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "77ffb605",
      "label": "Aux 4",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "09d4975d",
      "label": "Aux 5",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "e2c2e192",
      "label": "Aux 6",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "734f7395",
      "label": "Aux 7",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "3011d34a",
      "label": "Aux 8",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    }
  ],
  "externalAddress": "http://0.0.0.0:4455/#/tally",
  "remoteErrorReporting": false,
  "uuid": "51b83fb4"
}

Relevant log output

>sudo python3 blink1-listener.py --host 192.168.1.166 --port 4455 --debug Namespace(host='192.168.1.166', port='4455', device_id=None, debug=True, disable_reassign=False, disable_flash=False, disable_status_blink=False, skip_blink1=False) Tally Arbiter Blink1 Listener Running. Press CTRL-C to exit. 
Attempting to connect to Tally Arbiter server: TallyArbiterServer.:4455 (UUID <redacted>, server version 3.1.1) 
Unable to connect to Tally Arbiter server: 192.168.1.166 4455

Error stacktrace (if applicable)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions