sjitech / proxy-login-automator

A single node.js script to automatically inject user/password to http proxy server via a local forwarder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chrome unable to access localhost site when using proxy-login-automator as proxy server

ZodsPlan opened this issue · comments

Awesome work! Thank you!! I ran into one issue...

I want to access http://localhost:3000 with google chrome (i'm running a local web application)...

I set google chrome's proxy server to the proxy-login-automator server. When I attempt to go to the "http://localhost:3000" in the browser, a popup occurs asking for authentication from "cfauth.com"

Any ideas? Keep up the great work!

commented

Thanks for the feedback. I am not sure if I am using PAC. To my understanding, PAC would be something configured at the server level? In that case, I am behind a corporate proxy so I do not have access to those configurations. I tried to specify --proxy-bypass-list="localhost:3000" and --proxy-bypass-list="localhost" with no luck.

commented
commented

The PAC solution worked. I found out the PAC file being used here and configured everything according to your instructions for the PAC file. Worked like a charm. Good work! Thank you.