New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 731109 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

The Reload Policies button has no effect on fetching contents of component policies

Project Member Reported by emaxx@chromium.org, Jun 8 2017

Issue description

The "Reload policies" button at chrome://policy makes Chrome fetch the policy protobufs from DMServer, but not the actual contents of the component policies (that is, policies for extensions).

This means that if the first fetch of the component policies in a single session failed for some reason (like a network error or a server error), then the user won't have any ability to force them being reloaded ahead of the scheduled retry time. The automatic retry interval varies depending on the error type, but it can be up to 12 hours.

We should probably fix this by ensuring that the "Reload policies" button is also applied to the component policies.


And that's all besides the probable need of revisiting the automatic retry logic: the configured intervals seem to be excessively long, and they don't take the network state into account (which can lead to problems once the delay grows exponentially to a big value).


Technically, ignoring of the manual request happens due to the logic in ExternalPolicyDataUpdater::FetchExternalData(), which returns immediately if there is already a job for the given tuple (component_key, URL, hash max_size) - and it counts the jobs delayed due to errors too.
 
Agreed. In general about://policy refresh button should not be considered a workaround for policy fetch errors, we should be smart about retrying as appropriate, especially if we've never successfully loaded policies in a given session.

Comment 2 by emaxx@chromium.org, Jun 9 2017

Components: Enterprise

Sign in to add a comment