Skip to content

Unstable Behaviour of Fly.io Deployment #177

@kingdomcoding

Description

@kingdomcoding

I have a fly.io deployment of an audio streaming service largely adapted from live_ex_webrtc.

There's a heisenbug on both the publisher and player ends where sometimes they can start/join streams and sometimes that fails.

I can confirm from IO.inspects in my forks of ex_webrtc and ex_ice that when it fails, valid candidate pairs are absent in the checklist of the ICEAgents.

Why that happens on fly.io and not locally and how to fix this is still unclear. Any help will be greatly appreciated.

For context, I'm running on two shared-cpu-1x@1024MB instances. Changing the machine specs didn't resolve the issue. Upgrading to a dedicated IPv4 address also didn't resolve it.

I'm happy to provide any other information that can help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions