Closed nahshal closed 7 months ago
I have solved my Issue, in case any one facing the same Problem:
I have changed the source code of the envoy.yaml to work with https, so I generated new Certificate and uploaded them unter js/docker/cert and then copy them into the project inside the envoy.Dockerfile. In addition to that, you need to update the firebase configuration in js/firebase.config to match your firebase project settings.
I also changed the port in envoy.yaml to use 8443 in the sametime, changed this in envoy.Docker and more important in js/src/Apps.js, it is hard coded there with 8080, change it to 8443. Of course, here you would need to allow traffic from VM for https with port 8443
after that the Emulator was connected and working for png but not showing any video (webRTC). so then follow the Doc to enable the COTURN server and do not forget to allow the UDP traffic from your VM for the turn port that you configured.
and then it should work.
The Configuration you have written is not clear and there is a lot of info missing or not updated.
@nahshal - I need some help with setting this up, I am unable to signin after doing all the configuration. It will be of great help if you can spare some time
@ajaysagar99, you need to check 3 places,
@nahshal - Can you please elaborate more on how you did step 3?
@ajaysagar99,
In your GCP account, go to Credentials, you will find OAuth 2.0 Client IDs. Web client (auto created by Google Service, go inside and then make sure you insert your URLs inside the Authorised JavaScript origins something like
URIs 1: https://
also make sure that under API keys -->. Set an application restriction Websites (checked)
@nahshal - Thank you very much! Mine opens in HTTP though and not HTTPS - not sure why
@nahshal - I followed the steps and configured the turn server but I don't see any video.
Did you find any issues in the documentation?
Hallo Team,
following the steps here: https://source.android.com/docs/automotive/start/avd/cloud_emulator I have tried to install the Emulator on a GCP VM with Ubuntu 22, that supports nested Virtualization. and made sure that http/https firewall is allowed for the Instance. the emulator and system image used is following:
I could get the Emulator running and I could also sign in with firebase, but after signing in, I see nothing but the status:connecting and after some Minutes the status is turned to disconnected with the following Error: Low level gRPC error: {"message":"Http response at 400 or 500 level).
another Problem, I can only reach the Emulator with http:// but not with https://
I have tried also to activate turn and everything I found on the Internet, without any Success. By the way, I have not changed any configuration, the only thing I changed is the firebase configuration.