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

fix(launcher): support https for browserURL endpoint #4268

Merged
merged 1 commit into from
Apr 11, 2019
Merged

fix(launcher): support https for browserURL endpoint #4268

merged 1 commit into from
Apr 11, 2019

Conversation

sbekrin
Copy link
Contributor

@sbekrin sbekrin commented Apr 10, 2019

Hey there 👋

We'd like to deploy Puppeteer to internal Kubernetes (which serves everything via https, at least in our setup), but apperently browserURL is limited to http requests at the moment. I wonder if there's any particular reason behind it?

I'm not sure how to setup https case for testing, but happy to work on it with some guidance.

Thanks!

@aslushnikov
Copy link
Contributor

which serves everything via https, at least in our setup

How's this possible? Do I understand correctly that k8s launches a chrome instance with a remote debugging exposed on a particular port, and then this port is re-exposed with K8s over https?

@sbekrin
Copy link
Contributor Author

sbekrin commented Apr 10, 2019

@aslushnikov ah sorry, actually https is enforced on a different level for our whole infra. But yeah, in general we deploy a container with a puppeteer w/ remote debugging enabled to k8s. There's minor hijack required to compensate #2242, but overall it works as expected :)

@aslushnikov aslushnikov merged commit 08e9a4d into puppeteer:master Apr 11, 2019
@sbekrin
Copy link
Contributor Author

sbekrin commented Apr 12, 2019

@aslushnikov thanks!

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

Successfully merging this pull request may close these issues.

2 participants