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

browser-sync cannot proxy https-websites #992

Closed
wheleph opened this issue Feb 8, 2016 · 2 comments
Closed

browser-sync cannot proxy https-websites #992

wheleph opened this issue Feb 8, 2016 · 2 comments

Comments

@wheleph
Copy link

wheleph commented Feb 8, 2016

I use browser-sync 2.11.1 with OS X Chrome 48.0.2564.97 (64-bit)

When I use it as a proxy for http-website:

browser-sync start --proxy http://folding.extremeoverclocking.com/

it works great and I can point multiple browsers to localhost:3000 so that actions done in one of them are replicated in others.

However when I use it for https-website:

browser-sync start --proxy https://twitter.com

it doesn't work. When I point browsers to localhost:3000 they do not show up in "Current Connections" of browser-sync UI and also the actions are not replicated between them.

Maybe it has something to do with my browser complaining about https: SSL error in browser

@shakyShane
Copy link
Contributor

any large site like twitter has multiple techniques in place to prevent proxing like this - and rightly so.

Browsersync is a development tool to be used on local addresses that you're working on - in those cases it will work fine with HTTPS - you'll just have to click accept on the warning about self-signed certs :)

@atalis
Copy link

atalis commented Mar 3, 2016

I'm in a similar situation, except I'm proxying to an HTTPS Node server on localhost. The server is using a cert. I'd like to be able to:
a) Run BrowserSync in HTTP, not HTTPS mode, and
b) Configure the proxy to use the same cert in order for BrowserSync to be able to connect to the server.

Is it possible? So far whatever I do, BrowserSync launches with https, even if I exlicitly set the https option to false.

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

No branches or pull requests

3 participants