How to disable SSL for WebSocket connection in FastAPI?

Viewed 22

I'm trying to test my WebSocket endpoint in FastAPI to receive a data stream. So I have written a test client to simulate this scenario. But when I want to connect to this URI, I get a 403 error. After inspecting I found out the root cause is that FastAPI doesn't permit insecure connections. How can I solve this problem? Thanks beforehand

0 Answers
Related