laravel/telescope

Telescope breaks SSE stream

Open

#1,717 opened on Feb 10, 2026

View on GitHub
 (3 comments) (0 reactions) (0 assignees)PHP (5,187 stars) (654 forks)user submission
help wanted

Description

Telescope's ClientRequestWatcher calls $response->body() on every HTTP response, which fully consumes non-seekable SSE stream bodies before Prism can read them.

This breaks the stream capability.

My current workaround to overcome this, add this before you instantiate the Agent:

if (class_exists(Telescope::class)) {
    Telescope::stopRecording();
}

Note: of course this will disable all telescope logging and monitoring for the agent requests.

Contributor guide

Telescope breaks SSE stream · laravel/telescope#1717 | Good First Issue