mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-06 07:29:42 +02:00
chore: remove stale respawn monitoring files
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,780 +0,0 @@
|
||||
# Suggested Fixes for Respawn Controller Issues
|
||||
|
||||
**DO NOT EXECUTE** - Waiting for user review
|
||||
|
||||
## Fixes
|
||||
|
||||
|
||||
### Fix for Issue #1
|
||||
**Send/wait state stuck**
|
||||
|
||||
Stuck in waiting_update - the controller is trying to send a command but may not be receiving expected response.
|
||||
|
||||
Check terminal output:
|
||||
```bash
|
||||
curl -sk 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/terminal?tail=10000' | tail -100
|
||||
```
|
||||
|
||||
Try restarting respawn:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/stop'
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/start'
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #2
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #3
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #4
|
||||
**Watching state stuck**
|
||||
|
||||
The controller is watching but not detecting idle. Possible causes:
|
||||
1. Session is actively working (expected behavior)
|
||||
2. Idle detection thresholds too high
|
||||
|
||||
Check session activity:
|
||||
```bash
|
||||
curl -sk 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98' | jq '{status, lastActivityAt}'
|
||||
```
|
||||
|
||||
If truly idle, try adjusting config:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/config' -H 'Content-Type: application/json' -d '{"idleThresholdMs": 30000}'
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #5
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #6
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #7
|
||||
**Enable respawn controller**
|
||||
|
||||
Via API:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/enable'
|
||||
```
|
||||
|
||||
Or via web UI: Open session tab -> Respawn panel -> Enable
|
||||
|
||||
|
||||
### Fix for Issue #8
|
||||
**Enable respawn controller**
|
||||
|
||||
Via API:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/enable'
|
||||
```
|
||||
|
||||
Or via web UI: Open session tab -> Respawn panel -> Enable
|
||||
|
||||
|
||||
### Fix for Issue #9
|
||||
**Send/wait state stuck**
|
||||
|
||||
Stuck in waiting_update - the controller is trying to send a command but may not be receiving expected response.
|
||||
|
||||
Check terminal output:
|
||||
```bash
|
||||
curl -sk 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/terminal?tail=10000' | tail -100
|
||||
```
|
||||
|
||||
Try restarting respawn:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/stop'
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/start'
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #10
|
||||
**Enable respawn controller**
|
||||
|
||||
Via API:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/enable'
|
||||
```
|
||||
|
||||
Or via web UI: Open session tab -> Respawn panel -> Enable
|
||||
|
||||
|
||||
### Fix for Issue #11
|
||||
**Enable respawn controller**
|
||||
|
||||
Via API:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/enable'
|
||||
```
|
||||
|
||||
Or via web UI: Open session tab -> Respawn panel -> Enable
|
||||
|
||||
|
||||
### Fix for Issue #12
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #13
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #14
|
||||
**Watching state stuck**
|
||||
|
||||
The controller is watching but not detecting idle. Possible causes:
|
||||
1. Session is actively working (expected behavior)
|
||||
2. Idle detection thresholds too high
|
||||
|
||||
Check session activity:
|
||||
```bash
|
||||
curl -sk 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98' | jq '{status, lastActivityAt}'
|
||||
```
|
||||
|
||||
If truly idle, try adjusting config:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/config' -H 'Content-Type: application/json' -d '{"idleThresholdMs": 30000}'
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #15
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #16
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #17
|
||||
**Watching state stuck**
|
||||
|
||||
The controller is watching but not detecting idle. Possible causes:
|
||||
1. Session is actively working (expected behavior)
|
||||
2. Idle detection thresholds too high
|
||||
|
||||
Check session activity:
|
||||
```bash
|
||||
curl -sk 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98' | jq '{status, lastActivityAt}'
|
||||
```
|
||||
|
||||
If truly idle, try adjusting config:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/config' -H 'Content-Type: application/json' -d '{"idleThresholdMs": 30000}'
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #18
|
||||
**Send/wait state stuck**
|
||||
|
||||
Stuck in waiting_update - the controller is trying to send a command but may not be receiving expected response.
|
||||
|
||||
Check terminal output:
|
||||
```bash
|
||||
curl -sk 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/terminal?tail=10000' | tail -100
|
||||
```
|
||||
|
||||
Try restarting respawn:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/stop'
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/start'
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #19
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #20
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #21
|
||||
**Check server status**
|
||||
|
||||
1. Check if claudeman-web is running: `systemctl --user status claudeman-web`
|
||||
2. If down, restart: `systemctl --user restart claudeman-web`
|
||||
3. Check server logs: `journalctl --user -u claudeman-web -n 50`
|
||||
|
||||
|
||||
### Fix for Issue #22
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #23
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #24
|
||||
**Watching state stuck**
|
||||
|
||||
The controller is watching but not detecting idle. Possible causes:
|
||||
1. Session is actively working (expected behavior)
|
||||
2. Idle detection thresholds too high
|
||||
|
||||
Check session activity:
|
||||
```bash
|
||||
curl -sk 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98' | jq '{status, lastActivityAt}'
|
||||
```
|
||||
|
||||
If truly idle, try adjusting config:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/config' -H 'Content-Type: application/json' -d '{"idleThresholdMs": 30000}'
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #25
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #26
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #27
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #28
|
||||
**Watching state stuck**
|
||||
|
||||
The controller is watching but not detecting idle. Possible causes:
|
||||
1. Session is actively working (expected behavior)
|
||||
2. Idle detection thresholds too high
|
||||
|
||||
Check session activity:
|
||||
```bash
|
||||
curl -sk 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98' | jq '{status, lastActivityAt}'
|
||||
```
|
||||
|
||||
If truly idle, try adjusting config:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/config' -H 'Content-Type: application/json' -d '{"idleThresholdMs": 30000}'
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #29
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #30
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #31
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #32
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #33
|
||||
**Watching state stuck**
|
||||
|
||||
The controller is watching but not detecting idle. Possible causes:
|
||||
1. Session is actively working (expected behavior)
|
||||
2. Idle detection thresholds too high
|
||||
|
||||
Check session activity:
|
||||
```bash
|
||||
curl -sk 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98' | jq '{status, lastActivityAt}'
|
||||
```
|
||||
|
||||
If truly idle, try adjusting config:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/config' -H 'Content-Type: application/json' -d '{"idleThresholdMs": 30000}'
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #34
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #35
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #36
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #37
|
||||
**Watching state stuck**
|
||||
|
||||
The controller is watching but not detecting idle. Possible causes:
|
||||
1. Session is actively working (expected behavior)
|
||||
2. Idle detection thresholds too high
|
||||
|
||||
Check session activity:
|
||||
```bash
|
||||
curl -sk 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98' | jq '{status, lastActivityAt}'
|
||||
```
|
||||
|
||||
If truly idle, try adjusting config:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/respawn/config' -H 'Content-Type: application/json' -d '{"idleThresholdMs": 30000}'
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #38
|
||||
**Check for hung session**
|
||||
|
||||
The session may be hung. Check:
|
||||
|
||||
1. Session process status:
|
||||
```bash
|
||||
screen -ls | grep reddit
|
||||
```
|
||||
|
||||
2. Attach to screen and check:
|
||||
```bash
|
||||
screen -r claudeman-w3-reddit-analyse
|
||||
# Press Ctrl+A D to detach
|
||||
```
|
||||
|
||||
3. If hung, restart the session via web UI or:
|
||||
```bash
|
||||
curl -sk -X POST 'https://localhost:3000/api/sessions/5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98/stop'
|
||||
# Then start a new session
|
||||
```
|
||||
|
||||
|
||||
### Fix for Issue #39
|
||||
**Check server status**
|
||||
|
||||
1. Check if claudeman-web is running: `systemctl --user status claudeman-web`
|
||||
2. If down, restart: `systemctl --user restart claudeman-web`
|
||||
3. Check server logs: `journalctl --user -u claudeman-web -n 50`
|
||||
|
||||
|
||||
### Fix for Issue #40
|
||||
**Check server status**
|
||||
|
||||
1. Check if claudeman-web is running: `systemctl --user status claudeman-web`
|
||||
2. If down, restart: `systemctl --user restart claudeman-web`
|
||||
3. Check server logs: `journalctl --user -u claudeman-web -n 50`
|
||||
|
||||
Reference in New Issue
Block a user