Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Unable to setup log forwarding for running locally app without having IO Runtime namespace

Abierto
#563 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
cli

Línea de trabajo

Comienza reproduciendo el problema con aio app run --local, después invoca la acción local y ejecuta aio rt:activation:logs <activation_id> sin un espacio de nombres real de IO Runtime. Rastrea la configuración de reenvío de registros utilizada por estos comandos; se considera terminado cuando las activaciones locales exponen registros sin requerir credenciales de un espacio de nombres real.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Describe the bug

App builder allows running an application completely locally, including IO Runtime actions, by deploying them locally.
This approach assumes, that logs for the actions deployed locally will be available locally as well. However, right now AIO_runtime_ env vars should be set with "real" namespace even if the app is running completely locally, otherwise, the log forwarding configuration will not work and will show the following error:

$ aio app config set log-forwarding
? select log forwarding destination Adobe I/O Runtime
 ›   Error: Could not update log forwarding settings for namespace 'guest': 404 (Not Found). Error: {"code":"DlMXORdeOVjkD2Yv1zoSBmVlYe5GEoXM","error":"The requested resource could not be found."}

Also, it's not possible to retrieve logs for actions deployed locally.

$ aio rt:activation:logs d12c132988974cc1ac13298897acc1d6
Error: Could not get log forwarding settings for namespace 'guest': 404 (Not Found). Error: {"code":"aXMbU17R8fPRfsQu1OppZRlyVdrhYDoH","error":"The requested resource could not be found."}

To Reproduce
Steps to reproduce the behavior:

  1. Create a new App Builder app
  2. Create a simple action in this app
  3. Run the application locally $ aio app run --local
  4. Invoke the created action (the action should be deployed locally)
  5. Try to retrieve logs for the latest activation
  6. See the following error
$ aio rt:activation:logs <activation_id>
Error: Could not get log forwarding settings for namespace 'guest': 404 (Not Found). Error: {"code":"aXMbU17R8fPRfsQu1OppZRlyVdrhYDoH","error":"The requested resource could not be found."}

Expected behavior
It should be possible to retrieve logs for an App Builder app that is completely running locally without configuring the "real" IO Runtime namespace and providing credentials for it.

Lenguaje dominante
JavaScript
Estrellas
28
Forks
41
Merge medio
1 d 13 h
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de adobe/aio-cli-plugin-app

Todos los issues de adobe/aio-cli-plugin-app

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.