Bug 486336 - Trust database update fails when installing Craft for MinGW if a proxy is used
Summary: Trust database update fails when installing Craft for MinGW if a proxy is used
Status: REPORTED
Alias: None
Product: Craft
Classification: Unmaintained
Component: Blueprints (other bugs)
Version First Reported In: master
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-30 09:44 UTC by Ralf Habacker
Modified: 2024-04-30 09:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2024-04-30 09:44:28 UTC
SUMMARY

If craft is configured to build MinGW packages on Windows when using a proxy, which is usually the case in corporate networks, an error occurs when updating the trust database

STEPS TO REPRODUCE
1. start powershell
2. enter the following commands
 $ENV:http_proxy = 'http://<myproxyhost>:<myproxyport>'
 $ENV:https_proxy = 'http://<myproxyhost>:<myproxyport>'
3.   run install_craft.ps1

OBSERVED RESULT
In the log there is printed:
...
*** Action: post-qmerge for dev-utils/msys-base ***
...
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   5  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   5  signed:   6  trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2  valid:   3  signed:   2  trust: 3-, 0q, 0n, 0m, 0f, 0u
gpg: error retrieving 'alexey.pawlow@gmail.com' via WKD: Connection timed out
gpg: error reading key: Connection timed out
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: keyserver refresh failed: Connection timed out
==> ERROR: Could not update key: F40D263ECA25678A
gpg: error retrieving 'david.macek.0@gmail.com' via WKD: Connection timed out
gpg: error reading key: Connection timed out
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: keyserver refresh failed: Connection timed out
==> ERROR: Could not update key: 790AE56A1D3CFDDC
gpg: error retrieving 'martellmalone@gmail.com' via WKD: Connection timed out
gpg: error reading key: Connection timed out
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
...

EXPECTED RESULT
This error message should not appear

SOFTWARE/OS VERSIONS
Windows: 10