# Cursor Unable to Connect to GitHub Codespaces: Troubleshooting Help Needed

**URL:** <https://forum.cursor.com/t/cursor-unable-to-connect-to-github-codespaces-troubleshooting-help-needed/7296>\
**Category:** Help\
**Created:** [August 9, 2024, 12:44am UTC](https://forum.cursor.com/t/cursor-unable-to-connect-to-github-codespaces-troubleshooting-help-needed/7296 "2024-08-09T00:44:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![CodingJourney](https://avatars.discourse-cdn.com/v4/letter/c/d78d45/32.png) [@CodingJourney](https://forum.cursor.com/u/CodingJourney)\
**Post date:** [August 9, 2024, 12:44am UTC](https://forum.cursor.com/t/cursor-unable-to-connect-to-github-codespaces-troubleshooting-help-needed/7296/1 "2024-08-09T00:44:25Z")

</div>

Hey guys, is Cursor currently unable to support connecting to GitHub Codespaces? I’ve migrated all my VS Code extensions, including the one for connecting to Codespaces. I’ve also correctly entered the 8-digit verification code on the GitHub website. However, I still can’t connect successfully, and it keeps showing this error message: ‘Failed to connect to codespace. Exception was thrown by handler. Exception: failed to start VS Code remote server.’

---

<div class="post-metadata">

**Author:** ![alessandro-newzoo](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@alessandro-newzoo](https://forum.cursor.com/u/alessandro-newzoo)\
**Post date:** [August 27, 2024, 9:19am UTC](https://forum.cursor.com/t/cursor-unable-to-connect-to-github-codespaces-troubleshooting-help-needed/7296/2 "2024-08-27T09:19:34Z")

</div>

For some obscure reason, you will never get a reply whenever you ask about Codespaces: [Codespaces not working](https://forum.cursor.com/t/codespaces-not-working/42)

---

<div class="post-metadata">

**Author:** ![keithkelly31](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/keithkelly31/32/7882_2.png) [@keithkelly31](https://forum.cursor.com/u/keithkelly31)\
**Post date:** [October 9, 2024, 11:58pm UTC](https://forum.cursor.com/t/cursor-unable-to-connect-to-github-codespaces-troubleshooting-help-needed/7296/3 "2024-10-09T23:58:52Z")

</div>

It’s strange because I can create a Codespace successfully, but it fails when it attempts to connect.

---

<div class="post-metadata">

**Author:** ![litecode](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/litecode/32/2966_2.png) [@litecode](https://forum.cursor.com/u/litecode)\
**Post date:** [October 10, 2024, 12:39am UTC](https://forum.cursor.com/t/cursor-unable-to-connect-to-github-codespaces-troubleshooting-help-needed/7296/4 "2024-10-10T00:39:26Z")

</div>

Hi @keithkelly31 ,

This is the only reference I can see to GitHub Codespaces in the docs:

[https://docs.cursor.com/troubleshooting/common-issues#i-cant-use-github-codespaces](https://docs.cursor.com/troubleshooting/common-issues#i-cant-use-github-codespaces)

> Unfortunately, we don’t support GitHub Codespaces yet.

---

<div class="post-metadata">

**Author:** ![Ableez](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ableez/32/13365_2.png) [@Ableez](https://forum.cursor.com/u/Ableez)\
**Post date:** [November 26, 2024, 5:09pm UTC](https://forum.cursor.com/t/cursor-unable-to-connect-to-github-codespaces-troubleshooting-help-needed/7296/5 "2024-11-26T17:09:51Z")

</div>

Same here, dont really knw why the Cursor Team wont fix this issue, seems like its general with everyone i know using Cursor, some how they wont provide reasons why they do not support Codespaces.

---

<div class="post-metadata">

**Author:** ![oojure](https://avatars.discourse-cdn.com/v4/letter/o/8baadc/32.png) [@oojure](https://forum.cursor.com/u/oojure)\
**Post date:** [December 3, 2024, 5:21am UTC](https://forum.cursor.com/t/cursor-unable-to-connect-to-github-codespaces-troubleshooting-help-needed/7296/6 "2024-12-03T05:21:46Z")

</div>

The blog acts as a step-by-step guide, highlighting the specific configuration required within Codespaces.

> **[Connect Github CodeSpaces to Cursor Ai (Ai friendly vs code clone)](https://medium.com/@NFAblog/connect-github-codespaces-to-cursor-ai-ai-friendly-vs-code-clone-243fa5f79414)**
>
> Connecting GitHub Codespaces to CURSOR.DEV: A Developer’s Guide

---

<div class="post-metadata">

**Author:** ![SmartManoj](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/smartmanoj/32/113510_2.png) [@SmartManoj](https://forum.cursor.com/u/SmartManoj)\
**Post date:** [July 2, 2025, 6:10am UTC](https://forum.cursor.com/t/cursor-unable-to-connect-to-github-codespaces-troubleshooting-help-needed/7296/7 "2025-07-02T06:10:24Z")

</div>

I created an extension for this.

Source: [GitHub - SmartManoj/GitHub-Codespaces-Connector: Easily connect to GitHub Codespaces from VS Code/Cursor](https://github.com/SmartManoj/GitHub-Codespaces-Connector)

Extension Link: [GitHub Codespaces Connector - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=SmartManoj.github-codespaces-connector&ssr=false#review-details)

---

<div class="post-metadata">

**Author:** ![blakeelias](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/blakeelias/32/71134_2.png) [@blakeelias](https://forum.cursor.com/u/blakeelias)\
**Post date:** [July 16, 2025, 3:59pm UTC](https://forum.cursor.com/t/cursor-unable-to-connect-to-github-codespaces-troubleshooting-help-needed/7296/8 "2025-07-16T15:59:53Z")

</div>

There’s also this tutorial which worked for me:

[![](https://us1.discourse-cdn.com/cursor1/original/3X/7/2/7298bf315a2e2fd307d817e95c217e84ac074771.jpeg "Connect Cursor to a remote GitHub Codespace using SSH") ](https://www.youtube.com/watch?v=Wopq55o0iwc)

I.e. using GitHub CLI to enable SSH’ing into your Codespace, then using the native SSH abilities that are supported in Cursor / VS Code.

---

<div class="post-metadata">

**Author:** ![sundaywork](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sundaywork/32/76622_2.png) [@sundaywork](https://forum.cursor.com/u/sundaywork)\
**Post date:** [August 15, 2025, 3:02am UTC](https://forum.cursor.com/t/cursor-unable-to-connect-to-github-codespaces-troubleshooting-help-needed/7296/10 "2025-08-15T03:02:21Z")

</div>

This works for me. Thanks!
