Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Copilot says that agent isn't running and doesn't provide a sign-in option #14556

Open
4 tasks
chioka456 opened this issue Apr 17, 2024 · 3 comments
Open
4 tasks
Labels
bug copilot Integration with GitHub Copilot

Comments

@chioka456
Copy link

chioka456 commented Apr 17, 2024

System details

RStudio Edition : <!-- Desktop or Server -->
RStudio Version : 
OS Version      : 
R Version       : 

Steps to reproduce the problem

Describe the problem in detail

I am trying to enable Github Copilot in my RStudio. I have gone to Global Options >> Copilot and then have clicked "Enable Github Copilot." However, it is not showing me an option to sign into my Github account; instead, it says "The Github Copilot agent is not currently running." How do I fix this issue?

Describe the behavior you expected

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting an RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
@chioka456 chioka456 added bug new New incoming issues, ready for initial review. labels Apr 17, 2024
@ronblum ronblum changed the title I am trying to enable Github Copilot in my RStudio. I have gone to Global Options >> Copilot and then have clicked "Enable Github Copilot." However, it is not showing me an option to sign into my Github account; instead, it says "The Github Copilot agent is not currently running." How do I fix this issue? Github Copilot says that agent isn't running and doesn't provide a sign-in option Apr 17, 2024
@ronblum
Copy link
Contributor

ronblum commented Apr 17, 2024

@chioka456 Thank you for raising the issue! Can you try reinstalling the agent? You can do so by opening the command palette using Shift-Cmd-P (MacOS) or Shift-Ctrl-P (Linux and Windows), then type agent which should bring up to agent installation option.

Also, can you please provide your system details?

RStudio Edition : <!-- Desktop or Server -->
RStudio Version : 
OS Version      : 
R Version       : 

@ronblum ronblum added copilot Integration with GitHub Copilot and removed new New incoming issues, ready for initial review. labels Apr 17, 2024
@chioka456
Copy link
Author

chioka456 commented Apr 17, 2024

@ronblum When I follow the instructions to install, I get an error message in the RStudio panel and another via a popup:

RStudio panel error message:
trying URL 'https://rstudio.org/links/github-copilot/998cf5ab1b85e844c7e8edb864a997e590df7182'
Error in download.file(copilotUrl, destfile = destfile, mode = "wb") :
cannot open URL 'https://rstudio.org/links/github-copilot/998cf5ab1b85e844c7e8edb864a997e590df7182'
In addition: Warning message:
In download.file(copilotUrl, destfile = destfile, mode = "wb") :
URL 'https://rstudio.org/links/github-copilot/998cf5ab1b85e844c7e8edb864a997e590df7182': Timeout of 60 seconds was reached

Popup window error message text:
An error occurred while installing GitHub Copilot.

r error 4 (Error in download.file(copilotUrl, destfile = destfile, mode = "wb") :
cannot open URL 'https://rstudio.org/links/github-copilot/998cf5ab1b85e844c7e8edb864a997e590df7182'
) [errormsg: Error in download.file(copilotUrl, destfile = destfile, mode = "wb") :
cannot open URL 'https://rstudio.org/links/github-copilot/998cf5ab1b85e844c7e8edb864a997e590df7182'
]; OCCURRED AT rstudio::core::Error rstudio::r::exec::(anonymous namespace)::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::(anonymous namespace)::EvalType) src/cpp/r/RExec.cpp:231

System Details:
RStudio Edition : Desktop
RStudio Version : 2023.12.0+369 (2023.12.0+369)
OS Version : 17.4.1 (19618.1.15.11.14)
R Version :

@chioka456
Copy link
Author

UPDATE: I just returned to my RStudio and now it appears to be working. So no need to respond. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug copilot Integration with GitHub Copilot
Projects
None yet
Development

No branches or pull requests

2 participants