CodeQL CLI "Analyze" + "--dowload" command failing #13325
Replies: 2 comments 7 replies
-
D:\Project\codeql-home\Windows-Driver-Developer-Supplemental-Tools\src>codeql --version D:\Project\codeql-home\Windows-Driver-Developer-Supplemental-Tools\src>codeql resolve qlpacks D:\Project\codeql-home\Windows-Driver-Developer-Supplemental-Tools\src>codeql resolve languages |
Beta Was this translation helpful? Give feedback.
-
It looks like the package registry timed out. Can you run |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I am trying to follow the steps here : https://learn.microsoft.com/en-us/windows-hardware/drivers/develop/creating-a-driver-verification-log
https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/static-tools-and-codeql
I am seeing the following failures,
D:\Project\codeql-home>codeql database analyze databases\Folder --format=sarifv2.1.0 --output=D:\Project\codeql-home\databases\Recommended.sarif D:\Project\codeql-home\Windows-Driver-Developer-Supplemental-Tools\src\suites\windows_driver_mustfix.qls --verbosity=progress++ --logdir=logs\ --download
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
Writing logs to D:\Project\codeql-home\logs\database-analyze-20230530.173649.758.log.
Downloading queries...
Package specifications to check for download: D:\Project\codeql-home\Windows-Driver-Developer-Supplemental-Tools\src\suites\windows_driver_mustfix.qls
Recording pack reference microsoft/windows-drivers at D:\Project\codeql-home\Windows-Driver-Developer-Supplemental-Tools\src.
Packaging> Requesting package versions of codeql/cpp-queries from https://ghcr.io/v2/codeql/cpp-queries/tags/list?n=100
Packaging> GET Anonymous credentials 'https://ghcr.io/token?scope=repository:codeql/cpp-queries:pull'
A fatal error occurred: Could not create access credentials for codeql/cpp-queries.
(eventual cause: ConnectException "Connection timed out: no further information")
D:\Project\codeql-home>codeql pack install D:\Project\codeql-home\Windows-Driver-Developer-Supplemental-Tools\src
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
A fatal error occurred: Could not create access credentials for codeql/cpp-all.
(eventual cause: ConnectException "Connection timed out: no further information")
Beta Was this translation helpful? Give feedback.
All reactions