TLS_Connect Error When Trying to Stream With OBS

When trying to stream with OBS I get a “Failed to connect to server” error.
Running OBS in the terminal and trying to stream gives the error,
“RTMP_Connect1, TLS_Connect failed: -0x6c00”

I’m using NixOS 24.05 Unstable with Plasma 6

I’ve spent a couple hours trying to figure this out and couldn’t find anything useful. Any help would be appreciated.