Replies: 2 comments
-
Have you confirmed the proxy works in Chrome? Check the log file to see if there were any errors. I believe the test cases are currently passing for proxy without auth |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you! It works just fine! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I create browser in a following manner:
`Browser = new ChromiumWebBrowser();
`
CustomRequestHandler is defined as following:
`public class CustomRequestHandler : RequestHandler
{
string _proxyLogin;
string _proxyPassword;
string _userAgent;
public CustomRequestHandler(string proxyLogin, string proxyPassword,string userAgent)
{
_proxyLogin = proxyLogin;
_proxyPassword = proxyPassword;
_userAgent = userAgent;
}
protected override IResourceRequestHandler GetResourceRequestHandler(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request, bool isNavigation, bool isDownload, string requestInitiator, ref bool disableDefaultHandling)
{
return new CustomResourceRequestHandler(_userAgent);
}
Now I get load timeout loading with non authorized proxy, while I have successful load using proxy with authorization. What I miss?
My OS is Windows7 64x , VS 2019 installed. I use Offscreen Cefsharp version, .NET 4.5.2 . Cef version is 90.6.50.0
Beta Was this translation helpful? Give feedback.
All reactions