Title: GitHub Actions extension fails with "Unable to connect to the GitHub API" in .code-workspace (works with Open Folder) · Issue #604 · github/vscode-github-actions · GitHub
Open Graph Title: GitHub Actions extension fails with "Unable to connect to the GitHub API" in .code-workspace (works with Open Folder) · Issue #604 · github/vscode-github-actions
X Title: GitHub Actions extension fails with "Unable to connect to the GitHub API" in .code-workspace (works with Open Folder) · Issue #604 · github/vscode-github-actions
Description: Description When I open the same repository via a multi-root .code-workspace, the GitHub Actions extension shows: Unable to connect to the GitHub API, please check internet connection If I open the repository directly with File → Open Fo...
Open Graph Description: Description When I open the same repository via a multi-root .code-workspace, the GitHub Actions extension shows: Unable to connect to the GitHub API, please check internet connection If I open the...
X Description: Description When I open the same repository via a multi-root .code-workspace, the GitHub Actions extension shows: Unable to connect to the GitHub API, please check internet connection If I open the...
Opengraph URL: https://github.com/github/vscode-github-actions/issues/604
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"GitHub Actions extension fails with \"Unable to connect to the GitHub API\" in .code-workspace (works with Open Folder)","articleBody":"## Description\nWhen I open the same repository via a multi-root `.code-workspace`, the GitHub Actions extension shows:\n\n> Unable to connect to the GitHub API, please check internet connection\n\nIf I open the repository directly with **File → Open Folder**, the extension works normally (workflows/runs load, authentication is fine).\n\nThis appears specific to workspace-mode repository resolution/activation, not network connectivity.\n\n## Steps to reproduce\n1. Create/open a multi-root workspace that includes this repo as a root:\n - `c:\\Users\\\u003cuser>\\Source\\loom-workbench` (plus other roots in workspace)\n2. Open VS Code using the `.code-workspace` file.\n3. Open the GitHub Actions view.\n4. Observe error: **\"Unable to connect to the GitHub API, please check internet connection\"**.\n5. Close VS Code.\n6. Reopen only `c:\\Users\\\u003cuser>\\Source\\loom-workbench` via **Open Folder**.\n7. GitHub Actions extension works correctly.\n\n## Expected behavior\nThe extension should authenticate and connect to GitHub API the same way in both:\n- **Open Folder** mode\n- **.code-workspace** (multi-root) mode\n\n## Actual behavior\n- **Open Folder**: Works\n- **.code-workspace**: Fails with API connection error\n\n## Environment\n- Version: 1.125.1 (user setup)\n- Commit: fcf604774b9f2674b473065736ee75077e256353\n- Date: 2026-06-19T08:39:34Z\n- Electron: 42.2.0\n- ElectronBuildId: 14159160\n- Chromium: 148.0.7778.97\n- Node.js: 24.15.0\n- V8: 14.8.178.14-electron.0\n- OS: Windows_NT x64 10.0.26200\n\n## Additional context\n- Internet connectivity is fine.\n- Authentication/session is valid (confirmed by successful behavior in Open Folder mode).\n- Reproducible consistently with the same repository and machine.","author":{"url":"https://github.com/paul-michalik","@type":"Person","name":"paul-michalik"},"datePublished":"2026-06-25T11:00:57Z","url":"https://github.com/github/vscode-github-actions/issues/604"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:c7c457bb-0b50-e62b-af75-e089e3045d49 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D6FC:29A2CF:65F39D:93BCDF:6AFD7C4F |
| html-safe-nonce | fc62f0f4ca381d6c505ca0ea4b48202beca38aabad2329f3495b1835b5285a61 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkZDOjI5QTJDRjo2NUYzOUQ6OTNCQ0RGOjZBRkQ3QzRGIiwidmlzaXRvcl9pZCI6IjEzOTg1NTk5NTAzMDQ1NDE3NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | de876f89ed44e60483a51f92e40f2344714adea0431dd688703ffd52fc1dd1bc |
| hovercard-subject-tag | issue:4743187015 |
| github-keyboard-shortcuts | repository,issues,actions,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/vscode-github-actions/604/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4dba298dd303a49e8144397fb01125155cafd8da32fd520d56548a716df1af0a/github/vscode-github-actions/issues/604 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4dba298dd303a49e8144397fb01125155cafd8da32fd520d56548a716df1af0a/github/vscode-github-actions/issues/604 |
| og:image:alt | Description When I open the same repository via a multi-root .code-workspace, the GitHub Actions extension shows: Unable to connect to the GitHub API, please check internet connection If I open the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | paul-michalik |
| hostname | github.com |
| expected-hostname | github.com |
| None | 544ff6b59bd215c4609120f6e334dbd0b00d34fb6f8bc03a476f72256998887e |
| turbo-cache-control | no-preview |
| go-import | github.com/github/vscode-github-actions git https://github.com/github/vscode-github-actions.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 616663763 |
| octolytics-dimension-repository_nwo | github/vscode-github-actions |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 616663763 |
| octolytics-dimension-repository_network_root_nwo | github/vscode-github-actions |
| 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 | 71c92f8b27ec5e9aa6f6477b4e067a4727fc9edb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width