microsoft / microsoft/copilot-for-eclipse

[Bug][0.21] Models load requires 10+ minutes, Chat does not work till then

Open
#408 17 comments 0 reactions 1 assignee View on GitHub

@ethanyhou is already working on this.

Since Aug 12, 2026.

bug
Dominant language
Java
Stars
126
Forks
60
Avg merge
2d 6h
Merged PRs (30d)
5

Description

Environment

  • OS: RHEL 9.6
  • Eclipse Version: 4.38 & latest 4.41nightly
  • Plugin Version: 0.21.0

Describe the bug
Follow up on initially reported freeze, which I can't reproduce anymore.

But beside the freeze there seem to be a model loading issue which breaks Chat conversation.

Tried same question on same file today, it worked once after IDE was running for few ours. To double check, restarted IDE, asked exact same question again, and got no response at all, cancellation seem not freeze at this time.

The bug seems to be that something with model loading prevents agents (in ask mode) to respond. I've tried to switch model, restart Chat view, ask to /simplify code - no ways, there are no errors, but nothing happens, Chat remains empty, cancellation works and not freezes.

Image

Common in all cases: if it works, I see "models" loaded in preference page. If it doesn't, models page is showing "loading..." text. As soon as the preference page starts to show models, Chat view starts to receive input from LS.

Here are models I can see:

Image

It seems that model loading is the problem and it seems that it hangs now for multiple minutes.

Here is what I see in the log file, the big delay between 11:26 and 11:38 is when the models are NOT shown and Chat does not work:

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 11:26:28.882
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[AuthManager] resolveSession: persisted store resolved a session

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 11:38:54.829
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[AuthManager] resolveSession: persisted store resolved a session

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 11:38:54.882
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[AuthManager] resolveSession: persisted store resolved a session

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 11:38:56.315
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[agentPrompt] Rendering fresh global context for conversation/turn 6a3e3fb1-9edd-4196-9895-05a8c26287d6/41ccf120-86f5-4052-a697-ffb57e91bbfe

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 11:38:57.350
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[fetchChat] Request 43c34464-0502-4c16-b763-8ca25b326aa9 at <https://api.enterprise.githubcopilot.com/v1/messages> finished with 200 status after 1003.0455470000161ms

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 11:39:25.225
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[roundMetricsTracker] Turn token usage: 16738 prompt, 2442 completion, 3325 cached (cache rate: 19.9%)

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 11:39:25.237
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[AuthManager] resolveSession: persisted store resolved a session

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 11:39:25.876
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[fetchChat] Request 341cc5d5-bd73-437f-8794-b289be2d0e1f at <https://api.enterprise.githubcopilot.com/chat/completions> finished with 200 status after 638.2802089999896ms

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 11:39:26.167
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[streamMessages] message 0 returned. finish reason: [stop]

Video shows a faster load which "only" took ~3 minutes:

https://github.com/user-attachments/assets/7ce29498-a6c9-44e9-8174-e7b581018edd

Not sure what changed in Internet or whether it depends on the Moon position.

Below linked is the full log file. This time I see more interesting entries:

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 12:48:52.710
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[AuthManager] resolveSession: persisted store resolved a session

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 12:51:34.413
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[fetcher] Request to <https://telemetry.enterprise.githubcopilot.com/telemetry> failed, attempting fallback. Error [TypeError]: fetch failed
    at Object.processResponse (/snapshot/copilot-language-server-internal/dist/main.js:302:32970)
    at /snapshot/copilot-language-server-internal/dist/main.js:302:39314
    at node:internal/process/task_queues:149:7
    at AsyncResource.runInAsyncScope (node:async_hooks:214:14)
    at AsyncResource.runMicrotask (node:internal/process/task_queues:146:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
  code: 'UND_ERR_SOCKET',
  syscall: undefined,
  errno: undefined,
  [cause]: SocketError: HTTP/2: "GOAWAY" frame received with code 0
      at ClientHttp2Session.onHttp2SessionGoAway (/snapshot/copilot-language-server-internal/dist/main.js:213:4264)
      at ClientHttp2Session.emit (node:events:519:28)
      at Http2Session.onGoawayData (node:internal/http2/core:748:11) {
    code: 'UND_ERR_SOCKET',
    socket: {
      localAddress: '10.206.48.60',
      localPort: 56286,
      remoteAddress: '140.82.112.21',
      remotePort: 443,
      remoteFamily: 'IPv4',
      timeout: undefined,
      bytesWritten: 522,
      bytesRead: 3407
    }
  }
}

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 12:51:34.413
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[fetcher] Request to <https://dc.services.visualstudio.com/v2/track> failed, attempting fallback. Error [TypeError]: fetch failed
    at Object.processResponse (/snapshot/copilot-language-server-internal/dist/main.js:302:32970)
    at /snapshot/copilot-language-server-internal/dist/main.js:302:39314
    at node:internal/process/task_queues:149:7
    at AsyncResource.runInAsyncScope (node:async_hooks:214:14)
    at AsyncResource.runMicrotask (node:internal/process/task_queues:146:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
  code: 'ECONNRESET',
  syscall: 'read',
  errno: -104,
  [cause]: Error: read ECONNRESET
      at TLSWrap.onStreamRead (node:internal/stream_base_commons:216:20) {
    errno: -104,
    code: 'ECONNRESET',
    syscall: 'read'
  }
}

!ENTRY org.eclipse.lsp4e 1 0 2026-08-10 12:51:34.479
!MESSAGE [LS:GitHub Copilot Language Server][Info]	[AuthManager] resolveSession: persisted store resolved a session

slow_model_load.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.