Comments (10)
Hi @grkhcl
The login page is just a dummy page, in case there's a need to integrate with a login system at a later stage. You can click on login without filling in any details.
The ICE connection string is indeed the Azure Communication Service connection string. The avatar will not load without filling it in, so that might be the issue here. You can follow this reference to create an instance: Quickstart: Create and manage Communication Services resources
Let me know if this works for you.
from gen-cv.
Hi @harmke
If we click on login page its just loading icon and nothing happens, if we remove the login page no avatar is showing
Yes we have set up the ICE connection string as per the instructions only, can you please share your web app latest code
we have a customer demo thought of showing this demo,
if its possible to set up call let me know, that would be great
CHEERS
Radhakrishnan Guhan
[email protected]
from gen-cv.
Hi @grkhcl
Do you see any error message in the browser console? This would help us identify the issue. Thanks in advance.
from gen-cv.
Hi @harmke
GetIceServerToken , getSpeechToken , unexpected end of JSON Input at main.js:58:32
from gen-cv.
Thank you for sharing! It seems that the front-end cannot reach the API. I just added the host.json to the API folder, could you check if it works now?
from gen-cv.
Hi @harmke
Now I am getting different error
from gen-cv.
This seems to be the same error as you shared before.
Could you verify that you can run this project locally before deploying it in Azure? The error might be related to specific settings in your Azure tenant, and I won't be able to help with that.
from gen-cv.
I am having also another problem with the azure-communication module I am not able to install it with pip
I am still having the same issue. I just click login and the wheel still running forever. Inspect the page I have found http://localhost:4280/api/getIceServerToken
Request Method:
POST
Status Code:
500 Internal Server Error
Remote Address:
127.0.0.1:4280
Referrer Policy:
same-origin
Access-Control-Allow-Origin:
*
Connection:
close
Content-Length:
0
Date:
Fri, 24 Nov 2023 20:23:35 GMT
Server:
Kestrel
Accept:
/
Accept-Encoding:
gzip, deflate, br
Accept-Language:
en-GB,en-US;q=0.9,en;q=0.8,it;q=0.7,es;q=0.6
Connection:
keep-alive
Content-Length:
0
Cookie:
ajs_anonymous_id=b35b6f29-3c5b-4d36-8d7b-9c8a046f8741; ajs_user_id=32077b58-baa4-5776-83ca-2fd1a403ebf9
Host:
localhost:4280
Origin:
http://localhost:4280
Referer:
http://localhost:4280/
Sec-Ch-Ua:
"Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"
Sec-Ch-Ua-Mobile:
?0
Sec-Ch-Ua-Platform:
"macOS"
Sec-Fetch-Dest:
empty
Sec-Fetch-Mode:
cors
Sec-Fetch-Site:
same-origin
User-Agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
from gen-cv.
Hi @harmke
while running locally in windows system and windows vm we faced issue running the site
instead of giving relative path for Get speechToken we gave endpoint url directly "https://westus2.api.cognitive.microsoft.com/sts/v1.0/issueToken;"
now we get avatar but it is not giving any response we get error message in fetch api/mesage
which environment you are running? mac/linux or windows ? did you have running version of this code in windows ?
Thanks
Radhakrishnan
from gen-cv.
Hi @grkhcl , please make sure that your API is running locally, otherwise it will not work. You an use the Static Web Apps cli for that, as referred to in the docs. In case it's running locally, you can use the terminal to debug the API.
I'm running the solution in Windows as well.
I will be closing the ticket for now, as this issue doesn't seem to be related to the code base.
from gen-cv.
Related Issues (9)
- Value AzureWebJobsStorage HOT 1
- Login and Password unknown HOT 1
- Interactive avatar & login page not working
- Interactive avatar is not coming after Speech and Ice token fetch succeeds HOT 1
- crop the video generated from Text to Speech Avatar
- Resize Text to Speech Avatar video HOT 1
- Question: about ICE_CONNECTION_STRING HOT 1
- SyntaxError: Unexpected end of JSON input at main.js:56:32 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gen-cv.