how to use pac proxy in cefsharp winfrom?

Discussion of current events and participation in intelligent conversation with other CEF users.

how to use pac proxy in cefsharp winfrom?

Postby zhagan » Mon Feb 13, 2017 11:53 pm

I am testing cefsharp(53.0.1.0) winfom, and try to enable the pac proxy which had been set by "shadowsocks", the pac proxy works fine in IE and Chrome browser.

I got Command Line args "--proxy-pac-url" from : http://peter.sh/experiments/chromium-co ... -switches/ and added it to the CefExample Init method as following:

settings.CefCommandLineArgs.Add("--proxy-pac-url", "http://127.0.0.1:1080/pac?t=20170209085145204&secret=GL8ufyUpE98QSjWLnzJe9GF/suuzNfmwhpGEMWcsirM=");

However ,it doesn't work, I can't visit google.com with the pac proxy (I am from china and google.com is banned.)

So anybody can tell me how to deal with pac proxy in cefsharp winform?
Attachments
QQ截图20170214122221.png
QQ截图20170214122221.png (4.24 KiB) Viewed 22214 times
QQ截图20170214122003.png
QQ截图20170214122003.png (33.41 KiB) Viewed 22214 times
QQ截图20170214122101.png
QQ截图20170214122101.png (55.9 KiB) Viewed 22214 times
zhagan
Newbie
 
Posts: 1
Joined: Mon Feb 13, 2017 11:27 pm

Re: how to use pac proxy in cefsharp winfrom?

Postby amaitland » Tue Feb 14, 2017 5:20 pm

https://bitbucket.org/chromiumembedded/ ... t-34404680

There is no version of CefSharp based on the branch that fixes your problem.

CefGlue or ChromiumFx might support the version you require.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 18 guests