Skip to content

Git: Connecting to host timed out #43157

@dominikbulaj

Description

@dominikbulaj

Summary

Can't commit code via Git tool. Got git commit failed toast and after clicking it it shows Output from git commit and says Connecting to host timed out

Using the same commit message in the terminal (git cli) just works.

Is there any limitation of chars that can be used? I got commit like this MCOM-931 [UI] [JS] The settings saved are not displayed when the window is reopened

Description

Steps to trigger the problem:

  1. try commit some changes

Expected Behavior: commit properly as always
Actual Behavior: shows error

Image

Zed Version and System Specs

Zed: v0.213.3 (Zed)
OS: macOS 26.1
Memory: 32 GiB
Architecture: aarch64

If applicable, attach your Zed.log file to this issue.

Zed.log

2025-11-20T13:48:30+01:00 INFO  [client] set status on client 109980: Authenticated
2025-11-20T13:48:30+01:00 INFO  [lsp] Language server with id 0 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "[lsp] GitHub Copilot Language Server 1.397.0 initialized"
}
2025-11-20T13:48:30+01:00 INFO  [lsp] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "a738b1ca-6e26-4667-b677-f6120e6d9354",
      "method": "workspace/didChangeConfiguration",
      "registerOptions": {
        "section": [
          "github.copilot",
          "github-enterprise",
          "http",
          "telemetry"
        ]
      }
    }
  ]
}
2025-11-20T13:48:30+01:00 INFO  [lsp] Language server with id 0 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "Registering request handler for workspace/didChangeConfiguration failed."
}
2025-11-20T13:48:30+01:00 INFO  [lsp] Language server with id 0 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "[certificates] Removed 8 expired certificates"
}
2025-11-20T13:48:31+01:00 INFO  [lsp] Language server with id 0 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "[GithubAvailableEmbeddingTypes] Got embeddings. Primary: metis-1024-I16-Binary. Deprecated: "
}
2025-11-20T13:48:31+01:00 INFO  [lsp] Language server with id 0 sent unhandled notification didChangeStatus:
{
  "busy": false,
  "kind": "Normal"
}
2025-11-20T13:48:31+01:00 INFO  [lsp] Language server with id 0 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "[AutoModelService] Auto model cache cleared due to token update"
}
2025-11-20T13:48:31+01:00 INFO  [lsp] Language server with id 0 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "[Semantic Search] Semantic search is disabled { reason: 'watchedFiles capability is not available' }"
}
2025-11-20T13:48:31+01:00 INFO  [lsp] Language server with id 0 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "[CopilotMCP] MCP state changed from false to true"
}
2025-11-20T13:48:31+01:00 INFO  [lsp] Language server with id 0 sent unhandled notification copilot/mcpTools:
{
  "servers": []
}
2025-11-20T13:48:31+01:00 INFO  [lsp] Language server with id 0 sent unhandled notification conversation/preconditionsNotification:
{
  "results": [
    {
      "type": "token",
      "status": "failed"
    },
    {
      "type": "chat_enabled",
      "status": "ok"
    }
  ],
  "status": "failed"
}
2025-11-20T13:48:31+01:00 INFO  [lsp] Language server with id 0 sent unhandled notification featureFlagsNotification:
{
  "rt": true,
  "sn": false,
  "chat": true,
  "ic": true,
  "pc": true,
  "ae": {},
  "agent_as_default": false,
  "byok": true,
  "data_migration_completed": false
}
2025-11-20T13:49:16+01:00 ERROR [crates/editor/src/editor.rs:3344] persisting editor selections for editor 30064771336, workspace WorkspaceId(178)

Caused by:
    Sqlite call failed with code 787 and message: Some("FOREIGN KEY constraint failed")
2025-11-20T13:49:17+01:00 ERROR [crates/editor/src/editor.rs:3344] persisting editor selections for editor 30064771336, workspace WorkspaceId(178)

Caused by:
    Sqlite call failed with code 787 and message: Some("FOREIGN KEY constraint failed")
2025-11-20T13:49:19+01:00 ERROR [crates/editor/src/editor.rs:3344] persisting editor selections for editor 30064771336, workspace WorkspaceId(178)

Caused by:
    Sqlite call failed with code 787 and message: Some("FOREIGN KEY constraint failed")
2025-11-20T13:49:32+01:00 ERROR [crates/editor/src/editor.rs:3344] persisting editor selections for editor 30064771336, workspace WorkspaceId(178)

Caused by:
    Sqlite call failed with code 787 and message: Some("FOREIGN KEY constraint failed")
2025-11-20T13:50:28+01:00 ERROR [crates/editor/src/editor.rs:3344] persisting editor selections for editor 30064771336, workspace WorkspaceId(178)

Caused by:
    Sqlite call failed with code 787 and message: Some("FOREIGN KEY constraint failed")
2025-11-20T13:51:27+01:00 ERROR [crates/editor/src/editor.rs:3344] persisting editor selections for editor 30064771336, workspace WorkspaceId(178)

Caused by:
    Sqlite call failed with code 787 and message: Some("FOREIGN KEY constraint failed")
2025-11-20T13:53:18+01:00 ERROR [crates/editor/src/editor.rs:3344] persisting editor selections for editor 30064771336, workspace WorkspaceId(178)

Caused by:
    Sqlite call failed with code 787 and message: Some("FOREIGN KEY constraint failed")
2025-11-20T13:53:42+01:00 ERROR [crates/editor/src/editor.rs:3344] persisting editor selections for editor 30064771336, workspace WorkspaceId(178)

Caused by:
    Sqlite call failed with code 787 and message: Some("FOREIGN KEY constraint failed")
2025-11-20T13:53:59+01:00 ERROR [crates/editor/src/editor.rs:3344] persisting editor selections for editor 30064771336, workspace WorkspaceId(178)

Caused by:
    Sqlite call failed with code 787 and message: Some("FOREIGN KEY constraint failed")

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Completed by Zed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions