ERR_STREAM_PREMATURE_CLOSE - console spam #615

Closed
opened 2026-02-04 21:31:20 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @C8opmBM on GitHub (Jan 24, 2023).

I'm getting spammed with the following error after logging out and relogin. Thumbnails are dark, and they take quite a bit to load.
Im using both web and android with OIDC (Authelia).
Running the latest version both server and clients.

LOG [CommunicationGateway] New websocket connection: Og7xBBa5ED0RsYmLAAAB
LOG [CommunicationGateway] Client Og7xBBa5ED0RsYmLAAAB disconnected from Websocket
ERROR [ExpressAdapter] Premature close
Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close 
     at new NodeError (node:internal/errors:372:5)
     at ServerResponse.onclose (node:internal/streams/end-of-stream:142:30)
     at ServerResponse.emit (node:events:539:35)
     at Socket.onServerResponseClose (node:_http_server:236:23)
     at Socket.emit (node:events:539:35)
     at TCP.<anonymous> (node:net:709:12)
Originally created by @C8opmBM on GitHub (Jan 24, 2023). I'm getting spammed with the following error after logging out and relogin. Thumbnails are dark, and they take quite a bit to load. Im using both web and android with OIDC (Authelia). Running the latest version both server and clients. ``` LOG [CommunicationGateway] New websocket connection: Og7xBBa5ED0RsYmLAAAB LOG [CommunicationGateway] Client Og7xBBa5ED0RsYmLAAAB disconnected from Websocket ERROR [ExpressAdapter] Premature close Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close at new NodeError (node:internal/errors:372:5) at ServerResponse.onclose (node:internal/streams/end-of-stream:142:30) at ServerResponse.emit (node:events:539:35) at Socket.onServerResponseClose (node:_http_server:236:23) at Socket.emit (node:events:539:35) at TCP.<anonymous> (node:net:709:12) ```
Author
Owner

@alextran1502 commented on GitHub (Jan 24, 2023):

This is from hovering on a video thumbnail and stopping (moving your mouse out of the thumbnail). This message start popping up since we upgraded the framework. It can be ignored. Will put in a catch to not log these.

@alextran1502 commented on GitHub (Jan 24, 2023): This is from hovering on a video thumbnail and stopping (moving your mouse out of the thumbnail). This message start popping up since we upgraded the framework. It can be ignored. Will put in a catch to not log these.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#615