You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment: ILCE-7M5 · USB · Camera Remote SDK V2.02.00 · linux-arm64 (Raspberry Pi, kernel 6.8.0-1051-raspi) · server 3.0.0
Summary
After a stuck RemoteTransfer download (#40), the connection lifecycle breaks in a way that is unrecoverable in-process. DELETE /connection reports failure while actually having disconnected the camera, and the subsequent POST /connection never returns.
The status is wrong twice over — the camera is disconnected at this point, yet the response reports connected:true and a 400.
POST /api/cameras/{id}/connection — hangs forever. Last log line is:
[SSE] Wired event callback for camera: CFCA6014E092
Every camera-touching endpoint now blocks indefinitely. GET /api/server/logs still answers 200 because it takes no camera lock — which is a useful signal that the process is alive but the camera lock is held. SIGTERM does not kill it.
Isolation
DELETE /connection is clean in bothremote and remote-transfer when no download was attempted. The stuck download is the trigger, not the connection mode. Verified on a fresh process twice.
Expected
The reported connected state must reflect reality; a disconnect that actually disconnected should not report 400 + connected:true.
A failed disconnect must leave the controller in a state where a subsequent connect can either succeed or fail fast — never block forever.
Consider a bounded timeout on the connect path so a held camera lock surfaces as 503/409 instead of an infinite hang.
Related
Root cause is #40. The shutdown-side consequence is #41.
Environment: ILCE-7M5 · USB · Camera Remote SDK V2.02.00 · linux-arm64 (Raspberry Pi, kernel 6.8.0-1051-raspi) · server 3.0.0
Summary
After a stuck RemoteTransfer download (#40), the connection lifecycle breaks in a way that is unrecoverable in-process.
DELETE /connectionreports failure while actually having disconnected the camera, and the subsequentPOST /connectionnever returns.Reproduction
remote-transfer.DELETE /api/cameras/{id}/connection:The status is wrong twice over — the camera is disconnected at this point, yet the response reports
connected:trueand a400.POST /api/cameras/{id}/connection— hangs forever. Last log line is:GET /api/server/logsstill answers200because it takes no camera lock — which is a useful signal that the process is alive but the camera lock is held.SIGTERMdoes not kill it.Isolation
DELETE /connectionis clean in bothremoteandremote-transferwhen no download was attempted. The stuck download is the trigger, not the connection mode. Verified on a fresh process twice.Expected
connectedstate must reflect reality; a disconnect that actually disconnected should not report400+connected:true.503/409instead of an infinite hang.Related
Root cause is #40. The shutdown-side consequence is #41.