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

Error 'myIpAddress' is not defined #7

Open
jeka opened this issue Apr 25, 2017 · 1 comment
Open

Error 'myIpAddress' is not defined #7

jeka opened this issue Apr 25, 2017 · 1 comment
Labels

Comments

@jeka
Copy link

jeka commented Apr 25, 2017

Very nice idea and definitely something I would use if I can make it work ...
For some reason all I am getting is

./pacyak  http://proxyconf/proxy.pac  --log-level debug
INFO[0001] PAC availability check                        available=true
INFO[0001] PAC availability check passed; switching from direct
ERRO[0008] Sandbox error!                                response= sandbox_error="ReferenceError: 'myIpAddress' is not defined" url="http://www.google.com/"
ERRO[0023] Error performing roundtrip                    error="dial tcp 172.217.22.164:80: i/o timeout"
@mikesimons mikesimons added the bug label Aug 28, 2017
@mikesimons
Copy link
Owner

mikesimons commented Aug 28, 2017

Hey @jeka; sorry for the late reply, I didn't get notified (or didn't notice if I did).

I implemented the functions I needed documented here https://findproxyforurl.com/pac-functions/ and that was enough for the network I was on at the time but it looks like there are some helpers that I missed.

I no longer work for the company that had the proxy so I'm not sure when I'll get to this but I'd happily accept a PR.

All of the PAC functions are implemented here: https://github.com/mikesimons/pacyak/blob/master/pacsandbox/pac_functions.go

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

No branches or pull requests

2 participants