Skip to content

Bug: MCP transport (api.inference.sh) repeatedly times out and breaks — liveness probe failures throughout session #5931

Description

@Al629176

Description

The MCP transport connection to api.inference.sh fails its liveness probe repeatedly throughout a session, triggering reconnects. Occurs every 15–60 minutes consistently.

Log evidence

```
09:17:22 WRN the liveness probe did not answer in time; keeping the session qualified_name=ac.inference.sh/mcp outcome="timed_out" probe_timeout_seconds=8 consecutive_timeouts=1
09:49:23 WRN the transport failed its liveness probe; reconnecting: mcp transport failure for https://api.inference.sh elapsed=1.961s
10:00:36 WRN liveness probe timed_out consecutive_timeouts=1
10:22:41 WRN liveness probe timed_out
11:11:48 WRN transport failed liveness probe; reconnecting elapsed=319ms
11:25:28 WRN liveness probe timed_out
13:39:39 WRN transport failed; reconnecting elapsed=1.670s
14:05:25 WRN liveness probe timed_out
14:26:38 WRN liveness probe timed_out
15:14:13 WRN liveness probe timed_out
15:34:46 WRN transport failed; reconnecting elapsed=707ms
16:21:21 WRN transport failed; reconnecting elapsed=3.503s
16:37:33 WRN liveness probe timed_out
17:40:53 WRN liveness probe timed_out
```

14+ failure events in a single session day.

Impact

  • MCP tools unavailable during reconnect windows
  • Agent silently loses tool access mid-task
  • No user-visible indication when MCP transport is down

Acceptance criteria

  • MCP liveness probe failures surface in Event Log
  • User notified when MCP tools become temporarily unavailable
  • Reconnect succeeds reliably and restores tool access
  • Investigate why api.inference.sh probe times out so frequently (server-side or client probe interval too aggressive)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugpriority: p2Soon. Real but survivable — a rough edge, a gap, a thing that will bite later.

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions