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

Start stream request often fails with response status code 409. #577

Closed
standinga opened this issue Jul 28, 2024 · 4 comments
Closed

Start stream request often fails with response status code 409. #577

standinga opened this issue Jul 28, 2024 · 4 comments
Labels
bug Something isn't working feedback requested Further information is requested

Comments

@standinga
Copy link

standinga commented Jul 28, 2024

Hi, I'm integrating GoPro camera support to my iOS app. However I'm often getting 409 status response and when it happens there's no UPD stream starting. In this state when I call stop the response is also 409.

To Reproduce
Steps to reproduce the behavior:
Make the HTTP request to http://10.5.5.9:8080/gopro/camera/stream/start

Expected behavior
The response should be 200 and the UDP stream should start on port 8554

Screenshots

Optional(<NSHTTPURLResponse: 0x282bb8c00> { URL: http://10.5.5.9:8080/gopro/camera/stream/start } { Status Code: 409, Headers {
    "Content-Length" =     (
        3
    );
    "Content-Type" =     (
        "application/json"
    );
} })

Hardware

  • Camera: Hero11 Black, camera version 02.30.00
  • Smartphone if applicable iPhone6s

Additional context
It sometimes works well, it's not clear what would be the exact condition that triggers the error.
Can somebody at least let me know what the 409 means in the context of the GoPro and what could lead to it?

Thanks!!!

@standinga standinga added the bug Something isn't working label Jul 28, 2024
@github-actions github-actions bot added the triage Needs to be reviewed and assigned label Jul 28, 2024
@standinga standinga changed the title Star stream often fails Hero 11, response status code 409, camera version 02.30.00 Start stream request often fails with response status code 409. Jul 28, 2024
@standinga
Copy link
Author

I think the problem was due to the camera stream wasn't always correctly stopped. However, it's not clear why http://10.5.5.9:8080/gopro/camera/stream/stop in that state would also result in the same 409 status code.

@tcamise-gpsw
Copy link
Collaborator

Can you please post a log of all of the commands that you are sending to cause this error?

@tcamise-gpsw tcamise-gpsw added feedback requested Further information is requested and removed triage Needs to be reviewed and assigned labels Aug 12, 2024
@standinga
Copy link
Author

The command that would trigger the issue was http://10.5.5.9:8080/gopro/camera/stream/start.
It happens if the http://10.5.5.9:8080/gopro/camera/stream/stop was not called before disconnecting from the GoPro.

@standinga
Copy link
Author

I closed the issue, the fix is to call the http://10.5.5.9:8080/gopro/camera/stream/stop before disconnecting from the GoPro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feedback requested Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants