Cannot use V8 Proxy resolver in single process mode

3,796 views
Skip to first unread message

Sai Prasad

unread,
Aug 2, 2016, 2:56:45 AM8/2/16
to CefGlue
Dear Dmitry:

Am using cefglue in windows forms and enabled single process every thing works good, but in the log I found the below error

[0802/105116:ERROR:proxy_service_factory.cc(136)] Cannot use V8 Proxy resolver in single process mode.

Can you please tell me what will be impact because of the above error, if it causes an impact can you please suggest me how can I achieve this

Thanks in advance. 

Dmitry Azaraev

unread,
Aug 2, 2016, 3:00:51 AM8/2/16
to CefGlue

Hello.

Single process mode is for debugging purposes only. If you still want to stick with it, you can use 'winhttp-proxy-resolver' switch to use WinHTTP stack for resolving proxy (evaluating PAC scripts).


--
You received this message because you are subscribed to the Google Groups "CefGlue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cefglue+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sai Prasad

unread,
Aug 2, 2016, 9:01:00 AM8/2/16
to CefGlue
Thanks for the suggestion Dmitry, am using cefglue with windows forms with single process = false and multithreadmessageloop=true, after the browser has been launched if I check in task manager its listing 3 process with the same name and when I perform application.exit one of process will not close so I thought of using single process can you please help me on this

Dmitry Azaraev

unread,
Aug 2, 2016, 9:34:30 AM8/2/16
to CefGlue
Do you call CefRuntime.Shutdown? Anyway if process remains, then you doing something wrong.

--

Sai Prasad

unread,
Aug 3, 2016, 1:37:12 AM8/3/16
to CefGlue, dmitry....@gmail.com
Hi Dmitry,

I have not used CefRuntime.ShutDown and this is how am initializing the cef and cefglue

 CefRuntime.Load();
var mainArgs = new CefMainArgs(args);
 var app = new App();
 var exitCode = CefRuntime.ExecuteProcess(mainArgs, app);
var settings = new CefSettings
                {
                    SingleProcess = false,
                    MultiThreadedMessageLoop = true,
                    LogSeverity = CefLogSeverity.Error,
                    LogFile = appPath + ValueConstants.LogPath + ValueConstants.LogFile,
                    CachePath = appPath + ValueConstants.CachePath
                };
CefRuntime.Initialize(mainArgs, settings, app);
 CefWebBrowser browserCtl = new CefWebBrowser();
browserCtl.StartUrl = url;

and for exit as am using windowsforms I simple use Application.Exit() even though I use this Process is not killing.

Dmitry Azaraev

unread,
Aug 3, 2016, 3:51:37 AM8/3/16
to Sai Prasad, CefGlue

You should use CefShutdown. See samples.

Sai Prasad

unread,
Aug 11, 2016, 5:16:51 AM8/11/16
to CefGlue, sega.sa...@gmail.com, dmitry....@gmail.com
Thanks Dmitry
Reply all
Reply to author
Forward
0 new messages