https://retellai.com/?utm_source=discord&utm_medium=seo logo
Issue with websocket connection on secure url with...
# ❓・bug-report
r
I was working on custom llm integration and got it working end to end with http setup without SSL. However, when I tried deploy that on the environment with SSL certificate and secure url, the RetellAI does not connect to my secure websocket end point. I also tried connecting with the same url using postman agent and it was able to connect normally without any issues. Is there any specific setup needed to enable secure websockets with custom llms? The errors that i am getting is as following
error_llm_websocket_open
error snippet
Copy code
2024-06-07 03:53:49.699 error: Encountered error in LLM ws: Failed to open WebSocket.
2024-06-07 03:53:50.767 error: Audio websocket closed in error: 1002
r
Any thoughts here from Retell team or anyone else?
r
@Todd - Cofounder@Retell AI Hello, This is is still persistent and not working when using secure websockets with ssl
n
Just curious, when you use ngrok, that is also a secure websocket right? (It provides an https endpoint). So it should work similarly here
r
@NJ exactly the point. it does work with nginx on my staging and dev server. My production server has https configured. But it's not connecting to that. Also i can successfully connect to my end point using postman with the same url that I've configured in retell. But the retell is not even hitting the end point.
c
+1 to this issue. @rajendrasinh where do you do SSL termination?