Strata conflicts with Spring Boot over port 8080 and has no setting to change it
Los mantenedores suelen responder en 6 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
Línea de trabajo
Empieza en control/tools/strata_mcp.py: Strata.ports() construye la lista de sondeos y añade incondicionalmente DEFAULT_PORT (8080), y la llamada periódica a strata_status recorre toda esa lista. Reproduce esto ejecutando python -m http.server 8080 --bind 127.0.0.1 junto a la aplicación de escritorio y observando los 404 repetidos de GET /health. Hecho significa que 8080 ya no se sondea de forma predeterminada (o que el sondeo se detiene cuando el respondedor responde como non-Strata), y que la reproducción deja de producir tráfico en el listener ajeno.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Versions: Strata desktop 0.2.17 (Windows), engine component 0.1.63-windows-x86_64-cuda-cuda13.
Problem: while Strata desktop is running, it sends GET /health to 127.0.0.1:8080 every
~50 seconds and keeps doing so forever, even though its own model servers are configured
on other ports (e.g. 18500). In code, Strata.ports() in control/tools/strata_mcp.py always
appends DEFAULT_PORT=8080 to the probe list ([*ps, DEFAULT_PORT]), and the periodic
strata_status call probes all listed ports - even after the first response already shows
the responder is not a Strata server.
Why this is blocking: 8080 is the default port of Spring Boot web applications and
microservices. It is effectively impossible to run Strata on the same machine as a running
Spring Boot application without side effects: the app's log fills with "WARN PageNotFound -
No endpoint GET /health" every ~50 s and its access log gets foreign traffic. In real Java
development a machine hosts many services that are started one by one, all defaulting to
8080; making them coexist with Strata would mean changing the port in every application,
launch script and dev profile - which is not a reasonable ask. The conflict must be resolved
on the Strata side: please add a setting to disable probing the default port (or stop
probing a port once it answers as non-Strata).
Reproduction:
- Run any listener on 127.0.0.1:8080 (e.g.
python -m http.server 8080 --bind 127.0.0.1). - Start Strata desktop, wait 1-2 minutes.
- The listener logs
GET /health404 every ~50 s; the client process is
control\python\python.exe ... control\tools\strata_mcp.py.
- Lenguaje dominante
- C++
- Estrellas
- 11.6k
- Forks
- 1k
- Merge medio
- 18 d 13 h
- PR fusionados (30 d)
- 4
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Niko1221/Strata
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 6 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Niko1221/Strata#6456 · 2 comentarios ·
Los mantenedores suelen responder en 6 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 6 días
-
needs-format
Dificultad 2/5 Medio día Aptitud para principiantes 72/100
Niko1221/Strata#6371 · 1 comentario ·
Los mantenedores suelen responder en 6 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 6 días
Todos los issues de Niko1221/Strata
Issues similares
-
Refactor kinematic_links integration test to use EcmScopePosiblemente ocupada @patelshivani2283-lab la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
eclipse-score/lifecycle#1061 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
area/build-framework kind/enhancement priority/low
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
yugabyte/yugabyte-db#38826 ·
Los mantenedores suelen responder en 1 día