facebook

Get “Copilot Error!” that is resolved by restarting Eclipse

  1. Copilot4Eclipse – GitHub Copilot on Eclipse
  2.  > 
  3. General Discussion
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #700489 Reply

    davidmichaelkarr
    Participant

    If I leave my Eclipse running without doing anything, or hibernate my laptop and travel to another location, when I look at Copilot again, it says “Status: Copilot Error!”. In all cases, restarting Eclipse resolves the error, although it curiously disables completions on restart. I have to re-enable completions after it restarts.

    I shouldn’t have to restart Eclipse to fix this. There should be some sort of “reset” option in the menu that does something like what it does at startup, at least with copilot.

    #700490 Reply

    wayne
    Moderator

    David,
    Thanks for sharing this issue. I logged a bug and we will investigate.

    I have to re-enable completions after it restarts

    By “reenable completions” does this imply selecting “Enable Completions” from the Copilot4Eclipse menu or something else?

    Wayne
    Copilot4Eclipse Team

    • This reply was modified 7 months, 1 week ago by wayne.
    • This reply was modified 7 months, 1 week ago by wayne.
    #700497 Reply

    davidmichaelkarr
    Participant

    Yes, I was referring to “Enable Completions” from the menu.

    #700743 Reply

    davidmichaelkarr
    Participant

    If it matters, this is repeatable. It always happens when I travel between home and office (I hibernate, not shutdown/restart). When I come back into Eclipse, I find the plugin in this state, and restarting Eclipse fixes it.

    #700783 Reply

    wayne
    Moderator

    Thanks David.
    Good info. What OS and version are you running?
    I have an issue opened in our tracking system. Our team has run a few tests and not yet replicated the situation when waking up from hibernating.

    Would you be open to helping us by testing a dev build in the near future?
    If yes, drop me an email at info@genuitec.com to my attention. We are rolling out a Copilot4Eclipse update as soon as tomorrow. If it does not resolve this issue for you we will investigate it more closely.

    Regards,
    Wayne
    Copilot4Eclipse Team

    #700841 Reply

    davidmichaelkarr
    Participant

    I also believe I am landing in the “Copilot Error!” state even without hibernating. I restarted Eclipse earlier this afternoon to resolve the error, and it was working for a while, but now I see that it’s back in the error state again.

    #700857 Reply

    wayne
    Moderator

    David,
    Can you do me a favor and try updating to the new version of Copilot4Eclipse that we released yesterday (Wed)?
    I am curious if some of the fixes and improvements improve your situation.
    Wayne

    #700866 Reply

    davidmichaelkarr
    Participant

    Can you tell me what is the oldest version of Eclipse this would be supported in? One of my colleagues is trying to install it in 2020-12 and getting this error:

    Cannot complete the install because of a conflicting dependency.
    Software being installed: Copilot4Eclipse 1.2.0.202404301338-EA1 (com.genuitec.copilot4eclipse.feature.feature.group 1.2.0.202404301338-EA1)
    Software currently installed: Eclipse IDE for Java Developers 4.18.0.20201210-1200 (epp.package.java 4.18.0.20201210-1200)
    Only one of the following can be installed at once:
    Console 3.14.0.v20240129-1403 (org.eclipse.ui.console 3.14.0.v20240129-1403)
    Console 3.11.400.v20221012-0524 (org.eclipse.ui.console 3.11.400.v20221012-0524)
    Console 3.11.100.v20210721-1355 (org.eclipse.ui.console 3.11.100.v20210721-1355)
    Console 3.13.0.v20230726-0617 (org.eclipse.ui.console 3.13.0.v20230726-0617)
    Console 3.12.0.v20230317-0802 (org.eclipse.ui.console 3.12.0.v20230317-0802)
    Console 3.10.0.v20201021-1231 (org.eclipse.ui.console 3.10.0.v20201021-1231)
    Cannot satisfy dependency:
    From: Copilot4Eclipse 1.2.0.202404301338-EA1 (com.genuitec.copilot4eclipse.feature.feature.group 1.2.0.202404301338-EA1)
    To: org.eclipse.equinox.p2.iu; org.eclipse.ui.console 3.11.400
    Cannot satisfy dependency:
    From: Eclipse IDE for Java Developers 4.18.0.20201210-1200 (epp.package.java 4.18.0.20201210-1200)
    To: org.eclipse.equinox.p2.iu; org.eclipse.platform.feature.group [4.18.0.v20201202-1800,4.18.0.v20201202-1800]
    Cannot satisfy dependency:
    From: Eclipse Platform 4.18.0.v20201202-1800 (org.eclipse.platform.feature.group 4.18.0.v20201202-1800)
    To: org.eclipse.equinox.p2.iu; org.eclipse.ui.console [3.10.0.v20201021-1231,3.10.0.v20201021-1231]

    #700869 Reply

    wayne
    Moderator

    Here is the Copilot4Eclipse 1.2.x compatible info:

    Eclipse Versions: 2024-03 (4.31), 2023-12 (4.30), 2023-09 (4.29), 2023-06 (4.28)
    Java Versions: 17
    OS platforms: Please note we have updated the compatible OS platforms (see attached)

    Attachments:
    You must be logged in to view attached files.
    #701191 Reply

    ozansimsek
    Participant

    Hi, i have the similar problem, after an amount of time it lansds on the error state regardless of hibernate or not. Restarting Eclipse fixes it.

    From log file:
    [2024-06-06T09:12:02.452952600+03:00] LSP4E_TO_LANGUAGE_SERVER com.genuitec.copilot4eclipse.copilot.chat:
    {“jsonrpc”:”2.0″,”id”:”273″,”method”:”checkStatus”,”params”:{“localChecksOnly”:false}}
    [2024-06-06T09:12:03.704362500+03:00] LANGUAGE_SERVER_TO_LSP4E com.genuitec.copilot4eclipse.copilot.chat:
    {“jsonrpc”:”2.0″,”id”:”273″,”error”:{“code”:-32603,”message”:”Request checkStatus failed with message: Response content-type is text/html; charset=UTF-8 (status=200)”}}
    [2024-06-06T09:17:27.192041+03:00] LSP4E_TO_LANGUAGE_SERVER com.genuitec.copilot4eclipse.copilot.chat:
    Content-Length: 86

    ————–
    Eclipse :
    Version: 2023-12 (4.30.0)
    Build id: 20231201-2043
    —————
    Plugin :
    Copilot4Eclipse 1.2.0.202405271006-EA2 com.genuitec.copilot4eclipse.feature.feature.group Genuitec, LLC

    ———-
    OS :
    Windows 10 – Version 22H2

    #701600 Reply

    ozansimsek
    Participant

    I would like your help and guidance on this subject if you have any.

    #701606 Reply

    wayne
    Moderator

    ozansimsek,

    We are incrementally working through these type of problems. We think we know what is causing the connection to randomly drop and not restore. The challenge is it is hard for us to replicate this issue. Our July update will include some tweaks that we hope will improve this issue. Stay tuned as we will be seeking individuals willing to help us test an early version before we ship the production update.

    Wayne
    Copilot4Eclipse Team

    #701670 Reply

    davidmichaelkarr
    Participant

    In my environment, I had seen these timeout errors go away after recent updates, but I’ve seen several timeout errors in the last couple of days.

    #701672 Reply

    davidmichaelkarr
    Participant

    This has now returned to getting timeout errors several times a day.

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: Get “Copilot Error!” that is resolved by restarting Eclipse

You must be logged in to post in the forum log in