Bug 40954

Summary: PLACK-ERROR: End of stream encountered while parsing preamble
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Marcel de Rooy 2025-10-06 09:46:04 UTC
Found this in the plack-error.log on a 24.11 install:
End of stream encountered while parsing preamble at /usr/share/perl5/HTTP/Entity/Parser/MultiPart.pm line 157.

Grepping for HTTP::Entity::Parser::MultiPart did not give any results.

Anyone have an idea?
Comment 1 Marcel de Rooy 2025-10-06 10:36:52 UTC
Joubu: the error comes from 
/usr/share/perl5/HTTP/MultiPartParser.pm:                    $finish && $on_error->(q/End of stream encountered while parsing preamble/);
Comment 2 Marcel de Rooy 2025-10-06 10:39:44 UTC
(In reply to Marcel de Rooy from comment #1)
> Joubu: the error comes from 
> /usr/share/perl5/HTTP/MultiPartParser.pm:                    $finish &&
> $on_error->(q/End of stream encountered while parsing preamble/);

HTTP::MultiPartParser
This class provides a low-level API for processing MultiPart MIME data streams conforming to MultiPart types as defined in RFC 2616.