facebook

TimeOut while checking copilot status

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

    ricetrac
    Participant

    Hi,

    I installed the latest version of the copilot plugin on an Eclipse version
    Version: 2024-03 (4.31.0)
    Build id: 20240307-1437

    I have a copilot pro account and was able to get the plugin to work.
    But after a fairly short time, the plugin gives me the message “Timeout while checking Copilot status” and therefore the plugin no longer works.
    FYI, I use a proxy configured in Eclipse.
    An idea of ​​the problem ?

    THANKS

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

    wayne
    Moderator

    @ricetrac
    A few questions to help us isolate the issue:

    1) Please share how you confirm that Copilot4Eclipse is initially working?

    2) How long before it stops working as per the screenshot?
    2a) Does restarting Eclipse resolve the issue, even for a few seconds or mins?

    3) What OS and version?

    4) It would be interesting to see any error msgs logged.
    Please enable LanguageServer Logging for the Copilot4Eclipse language servers and dump to console and/or file for review. You can find this under the Copilot4Eclipse menu > Preferences.

    If you can share your error log that may reveal some useful info.
    You can send those to info@genuitec.com to my attention (Wayne).

    Regards,

    Wayne
    Copilot4Eclipse Team

    #700972 Reply

    ricetrac
    Participant

    Hi

    1) screenshot showing connection OK
    2) I don’t know, maybe 15 minutes
    3) Windows 10
    4) ok, At the moment I have this in the eclipse log:
    !ENTRY com.genuitec.copilot4eclipse 4 0 2024-05-13 22:36:35.111
    !MESSAGE Timeout while checking Copilot status

    I will add the new logs when I have reproduced the problem.

    Thanks.

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

    ricetrac
    Participant

    Hi,
    Since yesterday, I have only had the problem once after more than 2 hours. I tell myself that it could come from network outages in my VPN, which can be unstable sometimes.
    But once the plugin goes into “timeout” it does not “reactivate” until I restart Eclipse, and I then have to slow down Eclipse enormously as indicated in a previous post (https://www.genuitec.com/forums/topic/eclipse-becomes-laggy-if-copilot-server-not-reachable/).
    I activated the “langageserver” logs but I only get one file for the “copilot4eclipse Chat language server”, none for “copilot4eclipse Language server”.

    However, I have some errors when starting eclipse, in the common eclipse log:

    !ENTRY com.genuitec.copilot4eclipse 4 0 2024-05-14 21:08:57.407
    !MESSAGE Cannot invoke “com.genuitec.copilot4eclipse.lsp.messages.CheckStatusResult.isSignedIn()” because “<parameter1>” is null
    !STACK 0
    java.lang.NullPointerException: Cannot invoke “com.genuitec.copilot4eclipse.lsp.messages.CheckStatusResult.isSignedIn()” because “<parameter1>” is null
    at com.genuitec.copilot4eclipse.Copilot4Eclipse.notifyStatusChange(Unknown Source)
    at com.genuitec.copilot4eclipse.Copilot4Eclipse.lambda$0(Unknown Source)
    at com.genuitec.copilot4eclipse.Copilot4Eclipse$1.run(Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

    Despite this error, the plugin ends up being “ready”.

    Thanks

    #700991 Reply

    wayne
    Moderator

    Glad it here that your experience has improved a little 🙂
    We will dig into understand better the npe issue.

    Wayne
    Copilot4Eclipse Team

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: TimeOut while checking copilot status

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