Title: Error on GHES: Malformed tools url: Error: Malformed tools url: https://mycompany.com/api/v3/repos/github/codeql-action/releases/assets/21. Bundle version could not be inferred. Bundle version could not be inferred · Issue #1522 · github/codeql-action · GitHub
Open Graph Title: Error on GHES: Malformed tools url: Error: Malformed tools url: https://mycompany.com/api/v3/repos/github/codeql-action/releases/assets/21. Bundle version could not be inferred. Bundle version could not be inferred · Issue #1522 · github/codeql-action
X Title: Error on GHES: Malformed tools url: Error: Malformed tools url: https://mycompany.com/api/v3/repos/github/codeql-action/releases/assets/21. Bundle version could not be inferred. Bundle version could not be inferred · Issue #1522 · github/codeql-action
Description: I got the CodeQL workflow running on our Acceptance environment with GHES 3.6.3 last week, so now I wanted to replicate this on our Production environment. I synced the codeql-action using codeql-action-sync, configured the normal CodeQL...
Open Graph Description: I got the CodeQL workflow running on our Acceptance environment with GHES 3.6.3 last week, so now I wanted to replicate this on our Production environment. I synced the codeql-action using codeql-a...
X Description: I got the CodeQL workflow running on our Acceptance environment with GHES 3.6.3 last week, so now I wanted to replicate this on our Production environment. I synced the codeql-action using codeql-a...
Opengraph URL: https://github.com/github/codeql-action/issues/1522
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error on GHES: Malformed tools url: Error: Malformed tools url: https://mycompany.com/api/v3/repos/github/codeql-action/releases/assets/21. Bundle version could not be inferred. Bundle version could not be inferred","articleBody":"I got the CodeQL workflow running on our Acceptance environment with GHES 3.6.3 last week, so now I wanted to replicate this on our Production environment. I synced the codeql-action using `codeql-action-sync`, configured the normal CodeQL workflow (language: javascript) and ran it. Then I got this error:\r\n\u003e Error: Malformed tools url: https://mycompany.com/api/v3/repos/github/codeql-action/releases/assets/21. Bundle version could not be inferred.\r\n\r\nChecking the codeql-action repository on the appliance I found two releases with the CodeQL bundle name:\r\n- SHA `421a1b3` = Bundles CodeQL CLI v2.12.1\r\n- SHA `ff3337e` = Bundles CodeQL CLI v2.12.0\r\n\r\nOn our acceptance environment there was only `SHA ff3337e = Bundles CodeQL CLI v2.12.0`.\r\nDeleting the oldest release does not help, same error. \r\n\r\nParts of the logs that give more information:\r\n```\r\n2023-02-06T14:16:10.6463471Z ##[group]Run github/codeql-action/init@v2\r\n2023-02-06T14:16:10.6463677Z with:\r\n2023-02-06T14:16:10.6463868Z languages: javascript\r\n2023-02-06T14:16:10.6464185Z token: ***\r\n2023-02-06T14:16:10.6464376Z matrix: {\r\n \"language\": \"javascript\"\r\n}\r\n\r\n.................\r\n\r\n2023-02-06T14:16:11.3309678Z ##[debug]Not running against github.com. Disabling all toggleable features.\r\n2023-02-06T14:16:11.3310540Z ##[debug]Writing feature flags to /runner/_work/_temp/cached-feature-flags.json\r\n2023-02-06T14:16:11.3371750Z ##[debug]Feature 'bypass_toolcache_enabled' undefined in API response, considering it disabled.\r\n2023-02-06T14:16:11.3372484Z ##[debug]Feature 'bypass_toolcache_kotlin_swift_enabled' undefined in API response, considering it disabled.\r\n2023-02-06T14:16:11.3373187Z ::group::Setup CodeQL tools\r\n2023-02-06T14:16:11.3373410Z ##[group]Setup CodeQL tools\r\n2023-02-06T14:16:11.3380950Z ##[debug]isExplicit: 2.12.1\r\n2023-02-06T14:16:11.3381307Z ##[debug]explicit? true\r\n2023-02-06T14:16:11.3383545Z ##[debug]checking cache: /opt/hostedtoolcache/CodeQL/2.12.1/x64\r\n2023-02-06T14:16:11.3383936Z ##[debug]not found\r\n2023-02-06T14:16:11.3384435Z ##[debug]Didn't find a version of the CodeQL tools in the toolcache with a version number exactly matching 2.12.1.\r\n2023-02-06T14:16:11.3385168Z ##[debug]Found the following versions of the CodeQL tools in the toolcache: [].\r\n2023-02-06T14:16:11.3385977Z ##[debug]Did not find exactly one version of the CodeQL tools starting with the requested version.\r\n2023-02-06T14:16:11.3386948Z ##[debug]Bundle version 20230120 is not in SemVer format. Will treat it as pre-release 0.0.0-20230120.\r\n2023-02-06T14:16:11.3388013Z ##[debug]Computed a fallback toolcache version number of 0.0.0-20230120 for CodeQL tools version 2.12.1.\r\n2023-02-06T14:16:11.3388647Z ##[debug]isExplicit: 0.0.0-20230120\r\n2023-02-06T14:16:11.3389007Z ##[debug]explicit? true\r\n2023-02-06T14:16:11.3390091Z ##[debug]checking cache: /opt/hostedtoolcache/CodeQL/0.0.0-20230120/x64\r\n2023-02-06T14:16:11.3390498Z ##[debug]not found\r\n2023-02-06T14:16:11.3390854Z ##[debug]Did not find CodeQL tools version 2.12.1 in the toolcache.\r\n2023-02-06T14:16:11.3391603Z ##[debug]Did not find any candidate pinned versions of the CodeQL tools in the toolcache.\r\n2023-02-06T14:16:11.4046971Z Found CodeQL bundle in github/codeql-action on https://mycompany.com with URL https://mycompany.com/api/v3/repos/github/codeql-action/releases/assets/21.\r\n2023-02-06T14:16:11.4050679Z ##[debug]Providing an authorization token to download CodeQL tools.\r\n2023-02-06T14:16:11.4051304Z Downloading CodeQL tools from https://mycompany.com/api/v3/repos/github/codeql-action/releases/assets/21. This may take a while.\r\n2023-02-06T14:16:11.4061289Z ##[debug]Downloading https://mycompany.com/api/v3/repos/github/codeql-action/releases/assets/21\r\n2023-02-06T14:16:11.4061958Z ##[debug]Destination /runner/_work/_temp/4574c267-0a87-456c-accb-0b201db46144\r\n2023-02-06T14:16:14.2242935Z ##[debug]download complete\r\n2023-02-06T14:16:14.2310317Z ##[debug]CodeQL bundle download to /runner/_work/_temp/4574c267-0a87-456c-accb-0b201db46144 complete.\r\n2023-02-06T14:16:14.2310854Z ##[debug]Checking tar --version\r\n2023-02-06T14:16:14.2430451Z ##[debug]tar (GNU tar) 1.30\r\n2023-02-06T14:16:14.2430728Z ##[debug]Copyright (C) 2017 Free Software Foundation, Inc.\r\n2023-02-06T14:16:14.2431072Z ##[debug]License GPLv3+: GNU GPL version 3 or later \u003chttps://gnu.org/licenses/gpl.html\u003e.\r\n2023-02-06T14:16:14.2431410Z ##[debug]This is free software: you are free to change and redistribute it.\r\n2023-02-06T14:16:14.2431709Z ##[debug]There is NO WARRANTY, to the extent permitted by law.\r\n2023-02-06T14:16:14.2432043Z ##[debug]\r\n2023-02-06T14:16:14.2432252Z ##[debug]Written by John Gilmore and Jay Fenlason.\r\n2023-02-06T14:16:14.2439890Z [command]/usr/bin/tar xz -v --warning=no-unknown-keyword --overwrite -C /runner/_work/_temp/a0c7bea0-a3da-408d-97f8-6695b79ca01d -f /runner/_work/_temp/4574c267-0a87-456c-accb-0b201db46144\r\n2023-02-06T14:16:14.2536373Z codeql/\r\n2023-02-06T14:16:14.2536634Z codeql/.codeqlmanifest.json\r\n2023-02-06T14:16:14.2536869Z codeql/LICENSE.md\r\n2023-02-06T14:16:14.2537389Z codeql/Open-Source-Notices/\r\n2023-02-06T14:16:14.2537669Z codeql/Open-Source-Notices/NOTICES\r\n2023-02-06T14:16:14.2537988Z codeql/Open-Source-Notices/ant-notice.txt\r\n2023-02-06T14:16:14.2538293Z codeql/Open-Source-Notices/apache-2.0.txt\r\n```\r\nAnd after the entire file listing: \r\n``` sh\r\n2023-02-06T14:16:22.7809112Z codeql/xml/COPYRIGHT\r\n2023-02-06T14:16:22.7810507Z codeql/xml/LICENSE\r\n2023-02-06T14:16:22.7811324Z codeql/xml/codeql-extractor.yml\r\n2023-02-06T14:16:22.7811656Z codeql/xml/tools/\r\n2023-02-06T14:16:22.7812105Z codeql/xml/tools/autobuild.cmd\r\n2023-02-06T14:16:22.7812497Z codeql/xml/tools/autobuild.sh\r\n2023-02-06T14:16:22.7813116Z codeql/xml/tools/index-files.cmd\r\n2023-02-06T14:16:22.7813601Z codeql/xml/tools/index-files.sh\r\n2023-02-06T14:16:22.7813910Z codeql/xml/tools/xml-extractor.jar\r\n2023-02-06T14:16:22.7951523Z codeql/xml/xml.dbscheme\r\n2023-02-06T14:16:22.7967741Z ##[error]Error: Malformed tools url: https://mycompany.com/api/v3/repos/github/codeql-action/releases/assets/21. Bundle version could not be inferred\r\n2023-02-06T14:16:22.7969984Z ##[error]Unable to download and extract CodeQL CLI\r\n2023-02-06T14:16:22.7997927Z Error: Unable to download and extract CodeQL CLI\r\n2023-02-06T14:16:22.7998654Z at setupCodeQL (/runner/_work/_actions/github/codeql-action/v2/lib/codeql.js:131:15)\r\n2023-02-06T14:16:22.7999028Z at runMicrotasks (\u003canonymous\u003e)\r\n2023-02-06T14:16:22.7999418Z at processTicksAndRejections (node:internal/process/task_queues:96:5)\r\n2023-02-06T14:16:22.7999981Z at async initCodeQL (/runner/_work/_actions/github/codeql-action/v2/lib/init.js:46:76)\r\n2023-02-06T14:16:22.8000818Z at async run (/runner/_work/_actions/github/codeql-action/v2/lib/init-action.js:125:34)\r\n2023-02-06T14:16:22.8001419Z at async runWrapper (/runner/_work/_actions/github/codeql-action/v2/lib/init-action.js:208:9)\r\n2023-02-06T14:16:22.8003253Z ##[debug]Sending status report: {\"workflow_run_id\":50458,\"workflow_name\":\"CodeQL\",\"job_name\":\"analyze\",\"analysis_key\":\".github/workflows/codeql-analysis.yml:analyze\",\"commit_oid\":\"b332ca619e41ddf2ae640fa113f004c2b2e5ee7f\",\"ref\":\"refs/heads/master\",\"action_name\":\"init\",\"action_ref\":\"v2\",\"action_oid\":\"unknown\",\"started_at\":\"2023-02-06T14:16:10.910Z\",\"action_started_at\":\"2023-02-06T14:16:10.910Z\",\"status\":\"aborted\",\"testing_environment\":\"\",\"runner_os\":\"Linux\",\"action_version\":\"2.2.1\",\"cause\":\"Unable to download and extract CodeQL CLI\",\"completed_at\":\"2023-02-06T14:16:22.797Z\",\"matrix_vars\":\"{\\n \\\"language\\\": \\\"javascript\\\"\\n}\",\"runner_arch\":\"X64\"}\r\n2023-02-06T14:16:22.9272067Z ##[debug]Node Action run completed with exit code 1\r\n2023-02-06T14:16:22.9275550Z ##[debug]CODEQL_ACTION_VERSION='2.2.1'\r\n2023-02-06T14:16:22.9275873Z ##[debug]CODEQL_ACTION_FEATURE_SARIF_COMBINE='true'\r\n2023-02-06T14:16:22.9276169Z ##[debug]CODEQL_ACTION_FEATURE_WILL_UPLOAD='true'\r\n2023-02-06T14:16:22.9276451Z ##[debug]CODEQL_ACTION_WARNED_ABOUT_VERSION='true'\r\n2023-02-06T14:16:22.9276786Z ##[debug]CODEQL_ACTION_ANALYSIS_KEY='.github/workflows/codeql-analysis.yml:analyze'\r\n2023-02-06T14:16:22.9277103Z ##[debug]CODEQL_WORKFLOW_STARTED_AT='2023-02-06T14:16:10.910Z'\r\n```\r\nAny help is welcome 😄 .","author":{"url":"https://github.com/rajbos","@type":"Person","name":"rajbos"},"datePublished":"2023-02-06T14:42:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1522/codeql-action/issues/1522"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b49b7013-5975-29f3-55a4-55c6d4bea5ed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC12:356ACF:4AF5638:69C80C3:6A57006D |
| html-safe-nonce | ea1a69e8751f97dde4abd6d8d3f52dfa662eaeac5fe0cd75e73fdb49955abc87 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzEyOjM1NkFDRjo0QUY1NjM4OjY5QzgwQzM6NkE1NzAwNkQiLCJ2aXNpdG9yX2lkIjoiMzY2NzM5MjE2OTc1NTczODIyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9d58112edeb152873b6fd5ecae098c9b77d66da815515581a724ff362b7149f3 |
| hovercard-subject-tag | issue:1572697773 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/codeql-action/1522/issue_layout |
| twitter:image | https://opengraph.githubassets.com/853c9e2b67b65494321dfb6fb9c582a26f9015a0dc2a71b83921f68762d5c710/github/codeql-action/issues/1522 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/853c9e2b67b65494321dfb6fb9c582a26f9015a0dc2a71b83921f68762d5c710/github/codeql-action/issues/1522 |
| og:image:alt | I got the CodeQL workflow running on our Acceptance environment with GHES 3.6.3 last week, so now I wanted to replicate this on our Production environment. I synced the codeql-action using codeql-a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rajbos |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb29e5f807bd95e41196adfbc6d28f9af12d89830d8b684f3e871774ddff2fc |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b056788a129fb0194b61f2ebb4c43f6a9f4dfd27 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width