Chrome extension automatic update not working -


i configured update url following:

"update_url": "https://www.myextension.host.com/updates.xml" 

and updates.xml file:

<?xml version='1.0' encoding='utf-8'?> <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>   <app appid='aplfhldgnogkgfjopdbppahookjpfpad'>     <updatecheck codebase='https://www.myextension.host.com/updateextension/chrome_2.0.crx' version='2.0' />   </app> </gupdate> 

but when installed extension , click update now, nothing happened, server not detect request updates.xml file either.

i started chrome

chrome.exe --enable-logging --log-level=2 

but cannot find error log update. did see logs i'm not sure it's related or not. post below too:

[5468:1956:0515/114000:error:accelerated_surface_win.cc(208)] reseting d3d device [5468:188:0515/114003:error:textfield.h(156)] not implemented [5468:428:0515/114007:error:accelerated_surface_win.cc(208)] reseting d3d device [4500:476:0515/114131:error:ipc_channel_win.cc(132)] pipe error: 109 [5468:3560:0515/114131:error:accelerated_surface_win.cc(208)] reseting d3d device [5468:3048:0515/114218:error:accelerated_surface_win.cc(208)] reseting d3d device [5676:1276:0515/120110:error:ipc_channel_win.cc(132)] pipe error: 109 [3596:6072:0515/120540:error:ipc_channel_win.cc(132)] pipe error: 109 

is there debug way better debug update operation?

to debugging information extension's updater process, start chrome / chromium following command:

chrome.exe --vmodule=extension_updater=2 --enable-logging 

after starting chrome, log file called chrome_debug.log created in user profile directory.

without other information, guess you've either got typo in extension id or in update url. if extension still doesn't install after fixing issue, check whether crx file served application/x-chrome-extension mime-type.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -