which callback are running during Renderer process idleness

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

which callback are running during Renderer process idleness

Postby qwertyytrewq » Wed Dec 03, 2014 5:58 pm

I have some network issues with my machine (which runs CEF).

My app which uses CEF blank for ~20 seconds, and then I see this message:
Failed to load URL https://www.google.com with error (-137).

The behavior is similar in cefclient and cefsimple.

From looking at syslog it looks like the renderer process is in idle for ~20 seconds, and then it wakes up and at OnContextReleased.

Dec 4 00:05:26 myapp:[MyCefClient:OnTooltip] Tooltip = <is empty>
Dec 4 00:05:44 myapp --type=renderer --disable-delegated-renderer --disable-threaded-compositing --lang=en-US --lang=en-US --disable-accelerated-video-decode --channel=19549.53.1604814371: MyCefApp:OnContextReleased] OnContextReleased
Dec 4 00:05:44 myapp: [MyCefClient:OnLoadError] errorCode:-137 ,errorText: ,failedUrl:https://www.google.com ,frame->IsMain():1 ,frame_id:1

My question is:
Are there some callbacks which are running during the 20 seconds?

Something like: the request was sent to server, and renderer process is waiting for response...

Thanks.
qwertyytrewq
Newbie
 
Posts: 3
Joined: Wed Dec 03, 2014 5:35 pm

Re: which callback are running during Renderer process idlen

Postby magreenblatt » Thu Dec 04, 2014 4:06 am

The delay is probably due to proxy resolution. See https://code.google.com/p/chromiumembed ... Resolution.
magreenblatt
Site Admin
 
Posts: 12406
Joined: Fri May 29, 2009 6:57 pm

Re: which callback are running during Renderer process idlen

Postby qwertyytrewq » Fri Dec 05, 2014 5:11 pm

I will rephrase my question:

During this delay (which takes ~20 seconds) I can't see any debug logs in my system.

Are there any CEF callback which I can add to MyCefApp class, in order to trace the current status of the renderer process during these 20 seconds.

I am asking this for the sake of enriching my debug logs for future issues.
qwertyytrewq
Newbie
 
Posts: 3
Joined: Wed Dec 03, 2014 5:35 pm

Re: which callback are running during Renderer process idlen

Postby qwertyytrewq » Mon Dec 08, 2014 10:06 am

Does anyone have an idea?
During this idle time (~20 seconds) my logger is idle as well.

I would like to add some log in order to always know the last action which CEF has done.

Thanks for the help.
qwertyytrewq
Newbie
 
Posts: 3
Joined: Wed Dec 03, 2014 5:35 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 12 guests