[Bug]: Invalid [api_portal.http_client.tls] value reports an error naming server.https
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, nodejs
- Área
- backend
Línea de trabajo
Empieza en portals/api-portal/src/config/tlsOptions.js, donde buildTLSOptions codifica de forma fija el prefijo server.https. en cada error que lanza (alrededor de las líneas 52-118). Revisa cómo buildOutboundAgents la llama y luego añade un parámetro de etiqueta de sección para que el mensaje nombre http_client.tls en los valores salientes. Reproduce el caso llamando a buildTLSOptions con ecdh_curves establecido en X448 y confirma que el mensaje nombra la sección saliente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Please select the area the issue is related to
DeveloperPortal
Please select the aspect the issue is related to
Aspect/Configuration (Config files, settings, env vars, defaults)
Description
buildTLSOptions in tlsOptions.js validates both [api_portal.server.https] (from server.js) and [api_portal.http_client.tls] (from buildOutboundAgents). Every error message it throws hardcodes the server.https. prefix (L52, L55, L58, L87, L92, L113, L118).
So a bad value in the outbound section stops startup with a message that points at the listener section. The operator may not have changed the listener section at all. The log entry is "Error setting up outbound HTTP client", and its error reads:
server.https.ecdh_curves: unsupported curve "X448" (supported: X25519, P-256, P-384, P-521, X25519MLKEM768)
Expected
The message names the section that holds the bad value, for example http_client.tls.ecdh_curves: unsupported curve "X448" .... One way: pass a section label into buildTLSOptions.
Steps to Reproduce
-
Add to
configs/config.toml:[api_portal.http_client.tls] ecdh_curves = "X448" -
Start the portal.
-
Startup fails with
Error setting up outbound HTTP clientandserver.https.ecdh_curves: unsupported curve "X448" .... Unknownciphers, an emptyecdh_curvesand an inverted version range behave the same way.
Severity Level of the Issue
Severity/Minor (Non-critical functionality. Can be fixed in future releases)
Environment Details (with versions)
main at 5be6e920a. The error text was reproduced by calling buildTLSOptions from that commit directly under Node 24.
- Lenguaje dominante
- Go
- Estrellas
- 85
- Forks
- 142
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 250
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
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 wso2/api-platform
-
Area/Policies Aspect/API Severity/Major Type/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
wso2/api-platform#4468 ·
Los mantenedores suelen responder en 1 día
-
Area/Policies Aspect/API Severity/Major Type/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
wso2/api-platform#4465 ·
Los mantenedores suelen responder en 1 día
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
wso2/api-platform#4369 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: host-rewrite policy documentation lists fewer allowed host characters than the policy acceptsAbiertoArea/Policies Aspect/Other Severity/Trivial Type/Bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
wso2/api-platform#4355 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: A refused request's analytics event and traffic log lose the path the client calledQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. AbiertoArea/Gateway Aspect/API Severity/Minor Type/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
wso2/api-platform#4348 ·
Los mantenedores suelen responder en 1 día
Todos los issues de wso2/api-platform
Issues similares
-
[Enhancement] platform-engineer: a definition change does not re-render running Applications; say how to roll it outPosiblemente ocupada @anoop2811 la tomó hoy. Abiertoneeds-triage type/enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
review: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
1lck/Lithe-IDEA#2432 ·
Los mantenedores suelen responder en 1 día
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
dsx-ai-factory/health-validation#368 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
keyxmakerx/Chronicle#2824 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día