Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use twilio dev-phone on ec2 #185

Open
snowmous3 opened this issue Sep 26, 2023 · 3 comments
Open

Use twilio dev-phone on ec2 #185

snowmous3 opened this issue Sep 26, 2023 · 3 comments
Labels
enhancement New feature or request question Further information is requested wontfix This will not be worked on

Comments

@snowmous3
Copy link

Hi, I started an ec2 instance with the dev-phone on there.
However, I had a problem with the service when the application started, and I tried to do a call. The call can't start, and I can't listen to the call.
Another weird thing is I can't log any error or something.
Do I need to open another specific port? In addition to 1337.

@ayyrickay
Copy link
Collaborator

Hey @snowmous3, this isn't currently a supported use case for the Dev Phone, so I'm honestly not sure. This is something that we could look into at a later date, especially when we think about ways to deploy Dev Phones in different places. At the moment, however, we need to prioritize some other tasks.

For what it's worth, the dev phone works by deploying a server from the command line. For EC2, this is probably overkill, and might be the source of your issues - I wonder if some Dev Phone resources aren't getting called properly because of the strange server spin up. Do you see any errors in your browser DevTools?

@ayyrickay ayyrickay added enhancement New feature or request question Further information is requested wontfix This will not be worked on labels Oct 11, 2023
@babay123
Copy link

If you want to use the dev-phone for calls on a remote server, you need to set up an HTTPS server. This is because the call functionality utilizes the getUserMedia function, which requires either HTTPS or localhost to work properly.

Alternatively, you can add your EC2 instance's address to your Chrome whitelist. To do this, navigate to chrome://flags/#unsafely-treat-insecure-origin-as-secure and add your EC2 address.

@snowmous3
Copy link
Author

Hey @snowmous3, this isn't currently a supported use case for the Dev Phone, so I'm honestly not sure. This is something that we could look into at a later date, especially when we think about ways to deploy Dev Phones in different places. At the moment, however, we need to prioritize some other tasks.

For what it's worth, the dev phone works by deploying a server from the command line. For EC2, this is probably overkill, and might be the source of your issues - I wonder if some Dev Phone resources aren't getting called properly because of the strange server spin up. Do you see any errors in your browser DevTools?

No, I can't see any error. But I imagine could be something about the AWS. Like any role or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants