routr WS behind a TLS-offloading load balancer #292
Replies: 4 comments 1 reply
-
I have modified my container to use this
Which I'm guessing corresponds to the
Is a nice workaround possible in routr, or do I need to hack headers in the load balancer? |
Beta Was this translation helpful? Give feedback.
-
I have worked around the problem by generating a certificate, but I'd love to know how this could be done. |
Beta Was this translation helpful? Give feedback.
-
Thank you!
…On Wed, 4 Sept 2024, 04:06 Pedro Sanders, ***@***.***> wrote:
I have a few thoughts about this but found myself stuck in travels. I will
share my ideas as soon as soon as I get a moment.
—
Reply to this email directly, view it on GitHub
<#292 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANMOPUFTGBZU3NSCITT5P3ZUZ2MPAVCNFSM6AAAAABNRRQT22VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANJTHE4DMNA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Routr is confused because it receives messages with If you write a bug report, I can draft a solution. |
Beta Was this translation helpful? Give feedback.
-
Hi All.
I have routr-one set up and working behind an EC2 load balancer, as an ECS task. When processing WSS, the load balancer does the TLS and contacts routr on a non-TLS websocket. Everything goes fine through the INVITE and the media starts flowing. After this, things don't go so well -
UPDATE
s appear to be sent to rtpengine and then disappear, andBYE
s cause routr to crash, and from the logs it looks as if it's trying to generate TLS packets. Is there some setup I need to do? I have tried setting up the client with acontact_uri
withtransport=ws
but this makes no difference.Sample
UPDATE
from client end:Sample
BYE
(triggered by lack of response toUPDATE
):routr log from start of
BYE
message:Related question: how to get routr to quit on a crash like this? Currently it sits doing nothing. It would be great if whatever process that crashed would restart, or I could get some signal that would allow me to restart the container.
Beta Was this translation helpful? Give feedback.
All reactions