Skip to content

[GOWS] - Audio duplication across connections. #2075

@carfecirux

Description

@carfecirux

Describe the bug

Duplicate audio files are being sent between different connections.

Version

Get the WAHA version by calling GET /api/version

{
        "engine": "GOWS",
        "platform": "linux/x64",
        "tier": "PLUS",
        "version": "2026.4.3",
}

Steps

Can't reproduce.

Expected behavior

The audio will be sent to only one connection.

Requests - Responses

No specific requests or responses.

Docker Logs

No specific logs.

Screenshots

Original:
Image

Duplicated:
Image

Additional context

Application-specific Message object:
Duplicated:

{
        "id": 1666201,
        "conta_id": 3513,
        "conta_acesso_id": 369,
        "tipo": "audio/ogg; codecs=opus",
        "enviado_em": "2026-05-13T12:42:06Z",
        "plataforma_id": "3EB0356286E592159B934F",
        "criado_em": "2026-05-13T09:42:07.791634Z"
}     

Original:

{
        "id": 1666200,
        "conta_id": 3486,
        "conta_acesso_id": 354,
        "tipo": "audio/ogg; codecs=opus",
        "enviado_em": "2026-05-13T12:42:06Z",
        "plataforma_id": "3EB05539FA4454AC4FA413",
        "criado_em": "2026-05-13T09:42:07.508819Z"
}

Obviously, there's nothing in the code that makes this logically possible. As stated before, this only happened once last year (~2025.7); the only common element in that case was the sending of two distinct audio files at the exact same millisecond, where one ended up being sent along with the other at the same time (unfortunately, I can't provide screenshots of that case, but we also don't have more information than this current case).

In this current case, there's no correlation; no audio was sent from either party; the audio simply arrived through a different connection, as can be verified in the ID (platforma_id) of each message.

I would like to provide more information, but unfortunately, it's precisely because I can't get anywhere that I'm opening this issue. The only thing I'd like to know is if this has happened to other people and if there's any pattern or way to prevent it.

Currently, this has only happened with audio recordings, but I can't prove that it only occurs with audio recordings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions