Failed to start the HTTP Server

Aperta
#1,943 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
networking

Direzione di ricerca

Reproduce the failure with olad -l4 and compare it with olad --no-http. Start at olad/OlaServer.cpp:280, where the log reports that the HTTP server failed to start, then use the surrounding startup logs and network setup entries to identify the cause; done means the HTTP server starts successfully without disabling it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug Difficulty-Easy Language-C++ Priority-Low Usability

A rather self-explanatory issue, when running olad with few arguments like

olad -l4

I get an exit signal of 69 and I'm unable to start olad.
When starting it with --no-http it works.

[...]
common/rdm/PidStoreLoader.cpp:282: Loading MODEL_ID_LIST
common/rdm/PidStoreLoader.cpp:282: Loading PIXEL_TYPE
common/rdm/PidStoreLoader.cpp:282: Loading PIXEL_COUNT
common/rdm/PidStoreLoader.cpp:221: Load Complete
common/network/PosixInterfacePicker.cpp:168: Skipping lo because it's a loopback
common/network/PosixInterfacePicker.cpp:256: Found: enp1s0, 10.200.100.196, 52:54:00:63:79:fd
common/network/InterfacePicker.cpp:94: Using interface enp1s0 (10.200.100.196)
olad/OlaServer.cpp:194: Server UID is 7a70:c464c80a
olad/OlaServer.cpp:206: Server instance name is OLA Server
olad/plugin_api/Preferences.cpp:465: Missing /home/olad/.ola/ola-universe.conf: No such file or directory - this isn't an error, we'll just use the defaults
common/io/EPoller.cpp:82: EPOLL_CTL_ADD 9, events 2001, descriptor: 0x1d319b0
olad/OlaServer.cpp:280: Failed to start the HTTP server.
common/io/EPoller.cpp:116: EPOLL_CTL_DEL 9
common/thread/Thread.cpp:200: Thread signal-thread, policy SCHED_OTHER, priority 0

I would like to debug more but I'm not sure where to start.
This is the latest version from master branch ff8bf86.

Lingua principale
C++
Stelle
773
Fork
233
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenLightingProject/ola

Tutte le issue di OpenLightingProject/ola

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.