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

Propose documentation updated regarding Chrome settings when using proxyman.debug domain #2064

Open
ramiroaraujo opened this issue Jun 26, 2024 · 1 comment
Labels
question Further information is requested

Comments

@ramiroaraujo
Copy link

Description

Didn't know where to file this, it's not a bug, but it's a missing documentation info that was hard for me to figure out. When modifying /etc/hosts to resolve proxyman.debug to 127.0.0.1 as indicated here Proxyman can show traffic as expected but for example Chrome marks this site as "Not secure" in a different way that when using localhost, and it disallows you to grant permissions such as Location, Camera, Microphone and others. Same when using localhost.proxyman.io.

The solution for this, in cases where it might be needed, is to go to chrome://flags/, search for the setting #unsafely-treat-insecure-origin-as-secure, enable it, set the URL with domain and ports separated by commas such as http://proxyman.debug:3000,http://proxyman.debug:3001 and re-launch Chrome.

@ramiroaraujo ramiroaraujo added the question Further information is requested label Jun 26, 2024
@NghiaTranUIT
Copy link
Member

Chrome marks this site as "Not secure" in a different way that when using localhost

It's expected behavior because it's HTTP, not HTTPS http://proxyman.debug:3000.

it disallows you to grant permissions such as Location, Camera, Microphone and others.

Thanks for letting me know, I guess it's Chrome Security, which only enables it on HTTPS or Production Mode.

The solution for this, in cases where it might be needed, is to go to chrome://flags/, search for the setting #unsafely-treat-insecure-origin-as-secure, enable it, set the URL with domain and ports separated by commas such as http://proxyman.debug:3000,http://proxyman.debug:3001 and re-launch Chrome.

Thanks. I will add your update to the Docs 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants