Lodesman startet Codex in neuen Projekten nicht (Remote Control errored) #5
Labels
No labels
Bug
Feature
Idee
agent-freigabe
regression
status
ausarbeiten
status
bereit
status
in-arbeit
status
review
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iac/iac-ai-workstation#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Beim Zuweisen von Codex an ein neues Projekt (2026-11-01, leitstand-test): 'FAILED: Could not start the Codex remote-control daemon: Error: Remote control is enabled on ai-workstation but the connection is errored' und 'Codex saved no session' (journalctl -u lodesman). Codex 0.166.0. Die bestehende Codex-Sitzung in iac-ai-workstation läuft; über die API ohne Remote Control startet Codex normal. Zu klären: Codex-Anmeldung/Remote Control neu verbinden, oder Lodesman soll ohne Remote Control weiterstarten statt abzubrechen (Fork iac/lodesman). Gefunden bei #60.
Umgezogen aus der Vikunja-Roadmap, Karte #64 (3 Kommentare folgen).
admin, 2026-11-01 11:58 (aus Vikunja)
Ursache (2026-11-01): Codex 0.166.0 meldet Remote Control bei chatgpt.com an (
/backend-api/wham/remote/control/server/enroll) → HTTP 403 {"detail":"Multi-factor authentication required"}, seit 10:09 alle25 s erneut (/.codex/logs_2.sqlite, target remote_control::websocket).codex remote-control start --json→ status connecting, timedOut.Folge: Lodesman bricht den Start von Codex ab („Could not start the Codex remote-control daemon“) – nicht nur in neuen Projekten, seit dem Neustart 11:48 auch in iac-ai-workstation (dort ist Codex zugewiesen, läuft aber nicht).
Lösung, zwei Teile:
codex loginneu (Kevin).admin, 2026-11-01 12:12 (aus Vikunja)
Fallback gebaut (iac/lodesman b102963, lokal, nicht gepusht): schlägt 'codex remote-control start' fehl, schreibt Lodesman eine Warnung und startet Codex ohne Remote Control. Init versucht den Daemon nur einmal pro Lauf. Tests: Suite mit python3 (gleiche 4 root-Fehler wie vorher), test_codex grün, echter Fehlerpfad mit codex 0.166.0 auf der VM geprüft. Offen: Push des Forks, Pin in tasks/main.yml (Zeile 449) verschieben, wirksam erst nach systemctl restart lodesman. Remote Control selbst braucht weiter MFA im ChatGPT-Konto.
admin, 2026-11-01 13:28 (aus Vikunja)
Gepusht: iac/lodesman b102963, Pin in iac-ai-workstation v3
d2f1926(check-app grün). Wirksam auf der VM nach update + systemctl restart lodesman (Kevin entscheidet den Zeitpunkt). Danach prüfen: Codex startet in iac-ai-workstation, Protokoll zeigt die Warnung. Remote Control selbst: MFA im ChatGPT-Konto + codex login.