gopro / OpenGoPro

An open source interface specification to communicate with a GoPro camera with accompanying demos and tutorials.
https://gopro.github.io/OpenGoPro/
MIT License
708 stars 152 forks source link

HTTP API => Internal Server Error #504

Closed Ektacom closed 3 weeks ago

Ektacom commented 7 months ago

When controlling the USB camera through the HTTP API through USB, sometimes the answer to a HTTP request is "Internal Server Error" with a HTTP status code equal to 500. When this response appears, then the gopro HTTP server is blocked: none request can be done to the gopro and there is no way to recover. The only solution is to unplug the camera. I've experienced this problem on Gopro Black 12 (I don't know if the problem exit on other gopro cameras). Unfortunately I'm not able to reproduce the problem but from my experience, it can appear randomly on any request or request sequence.

pavlosharhan2 commented 7 months ago

@Ektacom

Hi, I'm experiencing the same issue. I plan to try the new 2.20 firmware update today to see if it makes a difference.

Also, are you certain that unplugging the camera is beneficial in this situation? It seems that most people encountering this problem have found that only resetting the camera fixes that sometimes

Ektacom commented 7 months ago

@pavlosharhan2 I don't have any battery in the camera. The camera is powered throuyh USB : this may explain why when I unplug USB cable it "solves" my problem.

pavlosharhan2 commented 7 months ago

UPD: Haven't noticed this bug in the latest 2.20 Labs firmware

tcamise-gpsw commented 3 months ago

I'm unable to reproduce this with the latest firmware. Is anyone still having this issue?

Kimagure7 commented 3 months ago

Hi, I'm experiencing the same issue. Even more, when I connect gopro hero 12 to computer throught USB, it shows that the camera is charging. I have no idea of how to fix this but sometimes unplug it will work.

aoyurs commented 2 months ago

I encountered the same issue with firmware version v2.20.70.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] commented 3 weeks ago

This issue was closed because it has been stalled for 10 days with no activity.