Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Management API - Inference Pipeline cannot be terminated once initial connect request to camera failed #685

Open
1 of 2 tasks
PawelPeczek-Roboflow opened this issue Sep 27, 2024 · 0 comments
Labels
bug Something isn't working Video Management API issues

Comments

@PawelPeczek-Roboflow
Copy link
Collaborator

PawelPeczek-Roboflow commented Sep 27, 2024

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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Video Management API issues
Projects
None yet
Development

No branches or pull requests

1 participant