addZippedMediaPackage closes connection unexpectedly

Steps to reproduce

Uploaded a zipped package to demo.opencastproject.org. If processing takes a long time, server disconnects (closes socket) without sending HTTP status code, so capture agent is unable to determine whether the upload was successful.

Log from capture agent:

2012-11-22 12:17:06.871 I admin.capt even:685 upload started
2012-11-22 12:17:58.231 I admin.capt even:648 Finished uploading zip media package: 36983326 bytes
2012-11-22 12:18:08.234 W admin.capt capt:1202 message to server failed with 7: Connection terminated unexpectedly on POST http://demo.opencastproject.org/ingest/addZippedMediaPackage
2012-11-22 12:18:08.235 E admin.capt capt:959 sending state: upload_error
2012-11-22 12:18:08.236 E admin.capt even:698 upload failed

Workaround: Set a longer timeout in the server.

Status

Assignee

David Schleef

Reporter

David Schleef

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

Components

Fix versions

Affects versions

1.3
1.4.0

Priority

Major
Configure