Giter Club home page Giter Club logo

Comments (10)

harmke avatar harmke commented on June 5, 2024

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.

grkhcl avatar grkhcl commented on June 5, 2024

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.

harmke avatar harmke commented on June 5, 2024

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.

grkhcl avatar grkhcl commented on June 5, 2024

Hi @harmke

We have following error
MicrosoftTeams-image (12)

GetIceServerToken , getSpeechToken , unexpected end of JSON Input at main.js:58:32

from gen-cv.

harmke avatar harmke commented on June 5, 2024

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.

grkhcl avatar grkhcl commented on June 5, 2024

Hi @harmke

Now I am getting different error
console error

from gen-cv.

harmke avatar harmke commented on June 5, 2024

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.

fbanespo1 avatar fbanespo1 commented on June 5, 2024

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.

grkhcl avatar grkhcl commented on June 5, 2024

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 ?
error 2

Thanks
Radhakrishnan

from gen-cv.

harmke avatar harmke commented on June 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.