facebook

Eclipse becomes laggy if copilot server not reachable

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

    axbu
    Participant

    Sometimes the copilot service is offline (i see it in eclipse but also in VS Code where i use copilot also)

    [2024-04-30T08:22:43.519021400+02:00] LSP4E_TO_LANGUAGE_SERVER com.genuitec.copilot4eclipse.copilot:
    {"jsonrpc":"2.0","id":"4","method":"checkStatus","params":{"localChecksOnly":false}}
    
    [2024-04-30T08:23:04.588094400+02:00] LANGUAGE_SERVER_TO_LSP4E com.genuitec.copilot4eclipse.copilot:
    {"jsonrpc":"2.0","id":"4","error":{"code":-32603,"message":"Request checkStatus failed with message: connect ETIMEDOUT 140.82.121.5:443"}}
    
    [2024-04-30T08:24:14.228855900+02:00] LSP4E_TO_LANGUAGE_SERVER com.genuitec.copilot4eclipse.copilot:
    Content-Length: 84
    
    [2024-04-30T08:24:14.228855900+02:00] LSP4E_TO_LANGUAGE_SERVER com.genuitec.copilot4eclipse.copilot:
    {"jsonrpc":"2.0","id":"5","method":"checkStatus","params":{"localChecksOnly":false}}
    
    [2024-04-30T08:24:18.327759900+02:00] LSP4E_TO_LANGUAGE_SERVER com.genuitec.copilot4eclipse.copilot:
    Content-Length: 84
    
    [2024-04-30T08:24:18.327759900+02:00] LSP4E_TO_LANGUAGE_SERVER com.genuitec.copilot4eclipse.copilot:
    {"jsonrpc":"2.0","id":"6","method":"checkStatus","params":{"localChecksOnly":false}}
    
    [2024-04-30T08:24:35.311358100+02:00] LANGUAGE_SERVER_TO_LSP4E com.genuitec.copilot4eclipse.copilot:
    {"jsonrpc":"2.0","id":"5","error":{"code":-32603,"message":"Request checkStatus failed with message: connect ETIMEDOUT 140.82.121.5:443"}}
    
    [2024-04-30T08:24:52.523793400+02:00] LSP4E_TO_LANGUAGE_SERVER com.genuitec.copilot4eclipse.copilot:
    Content-Length: 84
    
    [2024-04-30T08:24:52.523793400+02:00] LSP4E_TO_LANGUAGE_SERVER com.genuitec.copilot4eclipse.copilot:
    {"jsonrpc":"2.0","id":"7","method":"checkStatus","params":{"localChecksOnly":false}}
    
    [2024-04-30T08:24:56.362388+02:00] LANGUAGE_SERVER_TO_LSP4E com.genuitec.copilot4eclipse.copilot:
    {"jsonrpc":"2.0","id":"6","error":{"code":-32603,"message":"Request checkStatus failed with message: connect ETIMEDOUT 140.82.121.5:443"}}
    
    [2024-04-30T08:25:01.499173600+02:00] LSP4E_TO_LANGUAGE_SERVER com.genuitec.copilot4eclipse.copilot:
    Content-Length: 84
    

    When this happens the IDE becomes almost unusable, very laggy, keystrokes get delayed, mouselicks to position the cursor get delayed etc.

    It seems like somethingis polling so hard that everything is slowed down a lot. But the CPU utilisation of eclipse is not higher than normal

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

    axbu
    Participant

    current eclipse version

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

    wayne
    Moderator

    Thanks for sharing this issue.
    I can intuit what might be causing this poor UX. For the near term let me suggest disabling completions when this situation arises.

    See the Copilot4Eclipse menu > Disable Completions

    Let us know if this resolved the sluggish UX in a future incident.
    I have opened a bug in our tracking system with this info.

    Regards,

    Wayne
    Copilot4Eclipse Team

    #700842 Reply

    axbu
    Participant

    i will try thsi when i run into this problem again. thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Eclipse becomes laggy if copilot server not reachable

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