laravel/telescope

Telescope breaks SSE stream

Aperta

#1717 aperta il 10 feb 2026

 (3 commenti) (0 reazioni) (0 assegnatari)PHP (654 fork)user submission
help wanted

Metriche repository

Star
 (5187 stelle)
Metriche merge PR
 (Merge medio 7h 14m) (6 PR mergiate in 30 g)

Descrizione

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.

Guida contributor