Skip to content

curl perform failed for url /putMedia with result Transferred a partial #1264

@gustavofuhr

Description

@gustavofuhr

I developed an emmbeded app in camera Axis to send frames to KVS, based on this PR:
#1240

It's working fine, but I get a lot of warnings regarding the curl failure bellow:

** Logging **

2025-07-17T17:01:28.148-05:00 axis-camera  [WARN ] [KVS] curlCompleteSync(): [B8A44F9C9902__train_rails] curl perform failed for url https://s-5ac677c0.kinesisvideo.eu-west-1.amazonaws.com/putMedia with result Transferred a partial [file: transfe](file: transf "‌")r closed with outstanding read data remaining
2025-07-17T17:01:28.150-05:00 axis-camera :     Authorization: ...
2025-07-17T17:01:28.150-05:00 axis-camera : Request Headers: ...
2025-07-17T17:01:28.150-05:00 axis-camera : Request URL: https://s-5ac677c0.kinesisvideo.eu-west-1.amazonaws.com/putMedia

2025-07-17T17:01:28.150-05:00 axis-camera [WARN ] [KVS] curlCompleteSync(): [B8A44F9C9902__train_rails] HTTP Error 0 : Response: (null)

2025-07-17T17:01:28.155-05:00 axis-camera : [WARN ] [KVS] putStreamCurlHandler(): [B8A44F9C9902__train_rails] Stream with streamHandle 547944010384 uploadHandle 133 has exited without triggering end-of-stream. Service call result: 10006

2025-07-17T17:01:28.166-05:00 axis-camera: [WARN ] [KVS] notifyDataAvailable(): [B8A44F9C9902__train_rails] Failed to un-pause curl with error: 43. Curl object 0x7f94227440

What's might be happening? these errors are quite common. Different from the PR that I based my acap on, I start streaming always in a Key frame but the streaming might end in a P frame. At the end of the streaming I send this:

Frame eofr = EOFR_FRAME_INITIALIZER; 
kinesis_video_stream->putFrame(eofr);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions