rtvi-ai / rtvi-client-android-daily

BSD 2-Clause "Simplified" License
1 stars 2 forks source link

cannot connect #5

Open themass opened 4 days ago

marcus-daily commented 4 days ago

Hi @themass, could you give some more details about the issue you're seeing please?

themass commented 3 days ago

Screenshot_20240919_104302_ai rtvi client basicdemo Screenshot_20240919_104345_ai rtvi client basicdemo

marcus-daily commented 3 days ago

Thanks, what do you have the URL set to? It should be set to https://api.daily.co/v1/bots/start or another RTVI-compatible backend. Currently it seems to be pointing somewhere which is returning an HTML page.

themass commented 3 days ago

i use room url https://themass.daily.co/voicetest maybe i am wrong. bankend url should use https://github.com/rtvi-ai/rtvi-infra-examples/tree/main/01-local

marcus-daily commented 3 days ago

@themass Yeah the backend URL shouldn't be a room URL. The room is created by the https://api.daily.co/v1/bots/start endpoint, or the http://localhost:7860 endpoint if you deploy locally. The client retrieves the room URL from the RTVI endpoint.

themass commented 2 days ago

INFO: Uvicorn running on http://0.0.0.0:7860 (Press CTRL+C to quit) INFO: 172.17.51.191:37964 - "POST / HTTP/1.1" 500 Internal Server Error INFO: 172.17.51.191:34086 - "POST / HTTP/1.1" 500 Internal Server Error INFO: 172.17.51.191:50512 - "POST / HTTP/1.1" 500 Internal Server Error INFO: 172.17.51.191:54232 - "POST / HTTP/1.1" 500 Internal Server Error INFO: 172.17.51.191:54244 - "POST / HTTP/1.1" 500 Internal Server Error

i run https://github.com/rtvi-ai/rtvi-infra-examples/tree/main/01-local, and config bankend url http://xxxxx:7860/ 。 the server throw exception like ""POST / HTTP/1.1" 500 Internal Server Error", there are no other log.