Skip to content

Failed to initialize language server - How to troubleshoot? #21

@bobfields

Description

@bobfields

How do I troubleshoot this? It seems to happen on a couple specific projects. Eclipse -clean, restart, copilot SSL, copilot workspace context does not make any difference. Something with the preferences seems to affect the copilot initialization. It works when I restart with a clean workspace with no preferences, but I really don't want to do that because I have extensive customizations for eclipse preferences. And I can't figure out which preferences are causing this problem. I'm on the current Eclipse and copilot plugin version, authenticating to github.com for copilot license initialization. Windows 11, Java 17 and 21. This is the only detail I have from the error logs:

!ENTRY com.microsoft.copilot.eclipse 4 0 2025-08-19 14:50:02.067
!MESSAGE [Error] Failed to start copilot language server.
!STACK 0
java.lang.IllegalStateException: Failed to start copilot language server.
	at com.microsoft.copilot.eclipse.ui.CopilotUi$1.run(CopilotUi.java:73)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

!ENTRY org.eclipse.core.jobs 4 2 2025-08-19 14:50:02.074
!MESSAGE An internal error occurred during: "Copilot initialization".
!STACK 0
java.lang.IllegalStateException: Failed to start copilot language server.
	at com.microsoft.copilot.eclipse.ui.CopilotUi$1.run(CopilotUi.java:73)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

!ENTRY com.microsoft.copilot.eclipse 1 0 2025-08-19 14:50:02.221
!MESSAGE [Info] Starting language server with binary lsp agent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions