Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Relay listener does not update it's Device association in the TA gui #771

Open
honey-pablo opened this issue Dec 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@honey-pablo
Copy link

honey-pablo commented Dec 15, 2024

Screenshot 2024-12-15 at 15 00 39 ### What happened?

In TA under listeners I have 2 listeners that are using the gpo-listener and 8 using the relay-listner
https://github.com/josephdadams/TallyArbiter/tree/master/listener_clients/relay-listener

When I change the association of the listener to device, e.g. under the device column from camera1 to camera2... the following happens.

For the GPO listener the TA log file is updated and when i navigate away and back to the listeners tab the change is correctly show.

For the node Relay listener the TA log file is not updated, the node displays the change but when i navigate away and back to the listeners tab the change has not been recorded.

Version

3.1.1

Distribution

Docker

OS

Linux

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

If applicable, What Listener Clients are You Using?

Relay, GPI

TallyArbiter configuration

{
  "security": {
    "jwt_private_key": "l4NrBUfaDMcvOcs77Wty9pD+yX6JsJGNt7lhc95j1qQX98m0qvECIa3qj+luKNsPPKd9J5a14c+Bhe+7ZPULR/9lKlvaJJVBCtQVGcFn8ZTtkzURoKWqeycAyJhHwuFxMpy5ZG0VNp2XPh3VxqrADn50mg89T7+y7WRtcJpOTS77MiVvTqyqxphlmG1DPFdm87/wtwHJtRFGVf93gYlqAGfEUmMBaq7h8SYhi7VZZERxB0xSobo6Uigl7qGLNp+plSe/i+4QAuih+KA5gbb19izjEjvW4y5qogj/9xnvt44oVi3CuOd0nPb1bglZxX9tQCdo32JeQVCzubFmmAGWIA=="
  },
  "users": [
    {
      "username": "producer",
      "password": "$2a$10$2vymNjQRaU5Mwy5wmYuL5u5kYsX7lZ0S8eWIpF/y1FetnV2UqpoYa",
      "roles": "producer"
    },
    {
      "username": "admin",
      "password": "$2a$10$LN0.e8MvyXeaPmvbr8ZpjOm/Nw0XVMtfyfjrR0FMiCD4PuJ22GCpm",
      "roles": "admin"
    }
  ],
  "cloud_destinations": [],
  "cloud_keys": [],
  "device_actions": [],
  "device_sources": [
    {
      "deviceId": "d6841f90",
      "sourceIdx": "0",
      "address": "paulcam1",
      "sourceId": "e8b1f028",
      "id": "f56c8b0d"
    },
    {
      "deviceId": "5f3d45f1",
      "sourceIdx": "0",
      "address": "paulcam2",
      "sourceId": "e8b1f028",
      "id": "c4056f4b"
    },
    {
      "deviceId": "3e67d90e",
      "sourceIdx": "0",
      "address": "paulcam3",
      "sourceId": "e8b1f028",
      "id": "b3f20e34"
    },
    {
      "deviceId": "228fd307",
      "sourceIdx": "0",
      "address": "paulcam4",
      "sourceId": "e8b1f028",
      "id": "4a65b22a"
    },
    {
      "deviceId": "c61a7f97",
      "sourceIdx": "0",
      "address": "paulcam5",
      "sourceId": "e8b1f028",
      "id": "ffe2d90c"
    },
    {
      "deviceId": "5e7d9650",
      "sourceIdx": "0",
      "address": "paulcam6",
      "sourceId": "e8b1f028",
      "id": "ff0c27d9"
    },
    {
      "deviceId": "b3faa391",
      "sourceIdx": "0",
      "address": "paulcam7",
      "sourceId": "e8b1f028",
      "id": "cf2a7e55"
    },
    {
      "deviceId": "5b430203",
      "sourceIdx": "0",
      "address": "paulcam8",
      "sourceId": "e8b1f028",
      "id": "af6d4707"
    },
    {
      "deviceId": "228fd307",
      "address": "TEST_3",
      "id": "13632747",
      "sourceId": "TEST",
      "bus": "",
      "rename": false,
      "reconnect_interval": 5000,
      "max_reconnects": 5
    },
    {
      "deviceId": "5b430203",
      "address": "TEST_7",
      "id": "dc8551d1",
      "sourceId": "TEST",
      "bus": "",
      "rename": false,
      "reconnect_interval": 5000,
      "max_reconnects": 5
    }
  ],
  "devices": [
    {
      "name": "cam1",
      "description": "cam1",
      "enabled": true,
      "id": "d6841f90"
    },
    {
      "name": "cam2",
      "description": "cam2",
      "enabled": true,
      "id": "5f3d45f1"
    },
    {
      "name": "cam3",
      "description": "cam3",
      "enabled": true,
      "id": "3e67d90e"
    },
    {
      "name": "cam4",
      "description": "cam4",
      "enabled": true,
      "id": "228fd307"
    },
    {
      "name": "cam5",
      "description": "cam5",
      "enabled": true,
      "id": "c61a7f97"
    },
    {
      "name": "cam6",
      "description": "cam6",
      "enabled": true,
      "id": "5e7d9650"
    },
    {
      "name": "cam7",
      "description": "cam7",
      "enabled": true,
      "id": "b3faa391"
    },
    {
      "name": "cam8",
      "description": "cam8",
      "enabled": true,
      "id": "5b430203"
    }
  ],
  "sources": [
    {
      "data": {
        "ip": "172.17.17.99",
        "port": 4444,
        "password": "password",
        "version": "5"
      },
      "name": "obs",
      "sourceTypeId": "4eb73542",
      "reconnect": true,
      "enabled": true,
      "id": "e8b1f028",
      "max_reconnects": 5,
      "connected": true
    }
  ],
  "tsl_clients": [],
  "tsl_clients_1secupdate": false,
  "bus_options": [
    {
      "id": "e393251c",
      "label": "Preview",
      "type": "preview",
      "color": "#3fe481",
      "priority": 50,
      "visible": true
    },
    {
      "id": "334e4eda",
      "label": "Program",
      "type": "program",
      "color": "#e43f5a",
      "priority": 200,
      "visible": true
    }
  ],
  "externalAddress": "http://0.0.0.0:4455/#/tally",
  "remoteErrorReporting": false,
  "uuid": "218ff174"
}

Relevant log output

[12/15/24 2:49 PM] Tally Arbiter Sources loaded.
[12/15/24 2:49 PM] 1 Sources configured.
[12/15/24 2:49 PM] Tally Arbiter Devices loaded.
[12/15/24 2:49 PM] 8 Devices configured.
[12/15/24 2:49 PM] Tally Arbiter Device Sources loaded.
[12/15/24 2:49 PM] 10 Device Sources configured.
[12/15/24 2:49 PM] Tally Arbiter Device Actions loaded.
[12/15/24 2:49 PM] 0 Device Actions configured.
[12/15/24 2:49 PM] TSL Clients 1 Second Updates are turned off.
[12/15/24 2:49 PM] Tally Arbiter Cloud Destinations loaded.
[12/15/24 2:49 PM] Tally Arbiter Cloud Keys loaded.
[12/15/24 2:49 PM] Initiating 0 TSL Client Connection.
[12/15/24 2:49 PM] Finished TSL Client Connections.
[12/15/24 2:49 PM] Tally Arbiter running on port 4455
[12/15/24 2:49 PM] Source: obs OBS Connection Opened.
[12/15/24 2:50 PM] Listener Client Connected. Type: gpo_tally01_1 Device: cam2
[12/15/24 2:50 PM] Listener Client Connected. Type: gpo_tally01_2 Device: cam2
[12/15/24 2:50 PM] Listener Client Connected. Type: relay_5b5bebef-f769-4d87-8fd6-9b5fbddcf3dc_1 Device: cam1
[12/15/24 2:50 PM] Listener Client Connected. Type: relay_5b5bebef-f769-4d87-8fd6-9b5fbddcf3dc_2 Device: cam1
[12/15/24 2:50 PM] Listener Client Connected. Type: relay_5b5bebef-f769-4d87-8fd6-9b5fbddcf3dc_3 Device: cam1
[12/15/24 2:50 PM] Listener Client Connected. Type: relay_5b5bebef-f769-4d87-8fd6-9b5fbddcf3dc_4 Device: cam1
[12/15/24 2:50 PM] Listener Client Connected. Type: relay_5b5bebef-f769-4d87-8fd6-9b5fbddcf3dc_5 Device: cam1
[12/15/24 2:50 PM] Listener Client Connected. Type: relay_5b5bebef-f769-4d87-8fd6-9b5fbddcf3dc_6 Device: cam1
[12/15/24 2:50 PM] Listener Client Connected. Type: relay_5b5bebef-f769-4d87-8fd6-9b5fbddcf3dc_7 Device: cam1
[12/15/24 2:50 PM] Listener Client Connected. Type: relay_5b5bebef-f769-4d87-8fd6-9b5fbddcf3dc_8 Device: cam1
[12/15/24 2:50 PM] Listener Client reassigned from cam2 to cam1
[12/15/24 2:59 PM] Listener Client reassigned from cam2 to cam1

These last two reassignments are on the GPO listener,  relay changes not reflected.

Error stacktrace (if applicable)

No response

@honey-pablo honey-pablo added the bug Something isn't working label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants