Bug: Unable to update thunderbird via internal ssl proxy
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2024-02-13 18:40:06+00:00
Resolved: 2024-02-14 12:19:33+00:00

Steps to reproduce:

Set a valid proxy server in Settings->connection settings->Manual proxy config.
Enter both a http & https url and port.

Import the root CA cert through certificate manager and set the trust.

Try to update/check for update via the 'help' menu.


Actual results:

Thunderbird is unable to check for updates and error;

18:28:44.958 AUS:SVC UpdateManager:_loadXMLFileIntoArray - XML file does not exist. path: C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\D78BF5DD33499EC2\active-update.xml
18:28:44.958 AUS:SVC UpdateManager:UpdateManager - Initialized downloadingUpdate to null
18:28:44.958 AUS:SVC UpdateManager:UpdateManager - Initialized readyUpdate to null
18:28:47.347 AUS:SVC Creating UpdateService
18:28:47.347 AUS:SVC Logging current UpdateService status:
18:28:47.348 AUS:SVC UpdateService.canUsuallyCheckForUpdates - able to check for updates
18:28:47.348 AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
18:28:47.348 AUS:SVC getCanApplyUpdates - testing write access C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\D78BF5DD33499EC2\update.test
18:28:47.349 AUS:SVC isServiceInstalled - returning false
18:28:47.349 AUS:SVC shouldUseService - returning false
18:28:47.349 AUS:SVC getCanApplyUpdates - able to apply updates
18:28:47.349 AUS:SVC isServiceInstalled - returning false
18:28:47.349 AUS:SVC shouldUseService - returning false
18:28:47.349 AUS:SVC gCanStageUpdatesSession - testing write access C:\Program Files\Mozilla Thunderbird\update.test
18:28:47.350 AUS:SVC gCanStageUpdatesSession - unable to stage updates. Exception: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.create]"  nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame :: resource://gre/modules/UpdateService.sys.mjs :: testWriteAccess :: line 561"  data: no]
18:28:47.350 AUS:SVC Elevation required: false
18:28:47.350 AUS:SVC Other instance of the application currently running: false
18:28:47.350 AUS:SVC Downloading: false
18:28:47.350 AUS:SVC End of UpdateService status
18:28:47.350 AUS:AUM AppUpdater:check - currentState=STATE_IDLE
18:28:47.351 AUS:AUM AppUpdater:check - starting update check
18:28:47.351 AUS:SVC CheckerService:checkForUpdates - checkType: 2
18:28:47.351 AUS:SVC CheckerService:checkForUpdates - Making new check request for check id 1.
18:28:47.351 AUS:SVC waitForOtherInstances - beginning polling
18:28:47.351 AUS:SVC waitForOtherInstances - no other instances found, exiting
18:28:47.355 AUS:SVC CheckerService:getUpdateURL - checkType: 2
18:28:47.503 AUS:SVC CheckerService:getUpdateURL - update URL: https://aus.thunderbird.net/update/6/Thunderbird/115.7.0/20240119095007/WINNT_x86_64-msvc-x64/en-GB/release/Windows_NT%2010.0.0.0.19045.3930%20(x64)/ISET:SSE4_2,MEM:24543/default/default/update.xml?force=1
18:28:47.504 AUS:SVC CheckerService:#updateCheck - sending request to: https://aus.thunderbird.net/update/6/Thunderbird/115.7.0/20240119095007/WINNT_x86_64-msvc-x64/en-GB/release/Windows_NT%2010.0.0.0.19045.3930%20(x64)/ISET:SSE4_2,MEM:24543/default/default/update.xml?force=1
18:28:47.779 AUS:SVC CheckerService:#updateCheck - request got 'load' event
18:28:47.779 AUS:SVC CheckerService:#updateCheck - request completed downloading document
18:28:47.779 AUS:SVC CheckerService:#updateCheck - there was a problem checking for updates. Exception: TypeError: request.responseXML is null
18:28:47.779 AUS:SVC getStatusTextFromCode - transfer error: Update XML file malformed (200), default code: 200
18:28:47.780 AUS:AUM AppUpdater:check - Update check failed; CHECKING_FAILED
18:30:10.725 AUS:AUM AppUpdater:check - currentState=STATE_IDLE
18:30:10.725 AUS:AUM AppUpdater:check - starting update check
18:30:10.725 AUS:SVC CheckerService:checkForUpdates - checkType: 2
18:30:10.725 AUS:SVC CheckerService:checkForUpdates - Making new check request for check id 2.
18:30:10.726 AUS:SVC CheckerService:getUpdateURL - checkType: 2
18:30:10.727 AUS:SVC CheckerService:getUpdateURL - update URL: https://aus.thunderbird.net/update/6/Thunderbird/115.7.0/20240119095007/WINNT_x86_64-msvc-x64/en-GB/release/Windows_NT%2010.0.0.0.19045.3930%20(x64)/ISET:SSE4_2,MEM:24543/default/default/update.xml?force=1
18:30:10.728 AUS:SVC CheckerService:#updateCheck - sending request to: https://aus.thunderbird.net/update/6/Thunderbird/115.7.0/20240119095007/WINNT_x86_64-msvc-x64/en-GB/release/Windows_NT%2010.0.0.0.19045.3930%20(x64)/ISET:SSE4_2,MEM:24543/default/default/update.xml?force=1
18:30:10.813 AUS:SVC CheckerService:#updateCheck - request got 'load' event
18:30:10.814 AUS:SVC CheckerService:#updateCheck - request completed downloading document
18:30:10.814 AUS:SVC CheckerService:#updateCheck - there was a problem checking for updates. Exception: TypeError: request.responseXML is null
18:30:10.814 AUS:SVC getStatusTextFromCode - transfer error: Update XML file malformed (200), default code: 200
18:30:10.814 AUS:AUM AppUpdater:check - Update check failed; CHECKING_FAILED
18:30:19.279 AUS:AUM AppUpdater:stop called
18:32:18.490 AUS:AUM AppUpdater:check - currentState=STATE_IDLE
18:32:18.490 AUS:AUM AppUpdater:check - starting update check
18:32:18.490 AUS:SVC CheckerService:checkForUpdates - checkType: 2
18:32:18.491 AUS:SVC CheckerService:checkForUpdates - Making new check request for check id 3.
18:32:18.492 AUS:SVC CheckerService:getUpdateURL - checkType: 2
18:32:18.493 AUS:SVC CheckerService:getUpdateURL - update URL: https://aus.thunderbird.net/update/6/Thunderbird/115.7.0/20240119095007/WINNT_x86_64-msvc-x64/en-GB/release/Windows_NT%2010.0.0.0.19045.3930%20(x64)/ISET:SSE4_2,MEM:24543/default/default/update.xml?force=1
18:32:18.493 AUS:SVC CheckerService:#updateCheck - sending request to: https://aus.thunderbird.net/update/6/Thunderbird/115.7.0/20240119095007/WINNT_x86_64-msvc-x64/en-GB/release/Windows_NT%2010.0.0.0.19045.3930%20(x64)/ISET:SSE4_2,MEM:24543/default/default/update.xml?force=1
18:32:18.621 AUS:SVC CheckerService:#updateCheck - request got 'load' event
18:32:18.621 AUS:SVC CheckerService:#updateCheck - request completed downloading document
18:32:18.621 AUS:SVC CheckerService:#updateCheck - there was a problem checking for updates. Exception: TypeError: request.responseXML is null
18:32:18.621 AUS:SVC getStatusTextFromCode - transfer error: Update XML file malformed (200), default code: 200
18:32:18.621 AUS:AUM AppUpdater:check - Update check failed; CHECKING_FAILED
18:32:22.200 AUS:AUM AppUpdater:stop called

The squid cache passes the request without blocking;

TCP_MISS/302 778 GET https://aus.thunderbird.net/update/6/Thunderbird/115.7.0/20240119095007/WINNT_x86_64-msvc-x64/en-GB/release/Windows_NT%2010.0.0.0.19045.3930%20(x64)/ISET:SSE4_2,MEM:24543/default/default/update.xml?force=1 - HIER_DIRECT/2600:9000:2046:9c00:11:6feb:6f80:93a1


Expected results:

Should of updated or checked for updates!