Video Management API - Inference Pipeline cannot be terminated once initial connect request to camera failed
Open
Nobody has claimed this yet.
bug
Video Management API issues
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 320
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 133
Description
Search before asking
- I have searched the Inference issues and found no similar bug report.
Bug
When someone runs
from inference_sdk import InferenceHTTPClient
client = InferenceHTTPClient(
api_url="http://XXX:9001",
api_key="XXX"
)
client.start_inference_pipeline_with_workflow(
video_reference=["INVALID"],
workspace_name="XXX",
workflow_id="XXX",
)
and the InferencePipeline cannot connect to source, for some cases one cannot run:
client.terminate_inference_pipeline("<PIPELINE-ID>")
as the video source is not in state letting for termination and will never be - we are getting StreamOperationNotAllowedError inside server
Environment
No response
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?
- Yes I'd like to help by submitting a PR!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with video_reference=["INVALID"] and trace the server path that raises StreamOperationNotAllowedError during terminate_inference_pipeline. The fix is complete when a pipeline whose initial camera connection failed can still be terminated through the API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend-api-design
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100