I try the same code but with GPT4 model with same settings, and it work. Seems like it is the issure of gpt-4o-realtime-preview-2024-12-17 model connecting with websocket. Everytime the websocket build the connection, it return reject by the model API