AgoraIO / openai-realtime-python

Real-time voice agent powered by Agora and OpenAI
39 stars 13 forks source link

Error in connecting remote user #9

Open akaminnovations opened 2 days ago

akaminnovations commented 2 days ago

Log as below

ERROR - Error waiting for remote user ERROR - Error running agent

satizzz39 commented 1 day ago

While running python -m realtime_agent.main server, after hit [start_agent] -> (http://localhost:8080/start_agent), I'm facing issue with remote user joining in my channel. from logs I could see my OpenAI session created, Web socket connected successfully, MY OPENAI key has right access to the model, also MY Appid, and certificate id also mentioned properly in .env file. here I attcahed some logs and traces tried in multiple ways Agora devs please help me to resolve this issue. Screenshot 2024-11-16 165846 image

Python version: 3.12

agora_openai_remote_user_not_joined_traces.txt @plutoless @digitallysavvy @LichKing-2234 @sidsharma27

cc: @akaminnovations

digitallysavvy commented 18 hours ago

Do you see any errors on the front-end console?

satizzz39 commented 15 hours ago

@digitallysavvy , No I just run the backend server in localhost and invoked http://localhost:8080/start_agent via postman, api receives success response as "Agent Created", post that in backend console the attached error came from Agora.

digitallysavvy commented 14 hours ago

Do you have a live user in the Agora channel?

satizzz39 commented 14 hours ago

After channel created It authorising OPENAI session are created, But conversional AI not joined in call , Even live user in the channel or not Same Timeout Issue. I tried with both

plutoless commented 1 hour ago

@satizzz39 do you have the channel name you were using?

satizzz39 commented 55 minutes ago

@plutoless , These are the channel names I passed for local host start_agent endpoint

90bb692f-1d9b-4b3a-b492-4df7d2064i2k 60bb692f-1d9b-4b3a-b492-4df7d2064i2k test