Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#563 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
cli

Direzione di ricerca

Inizia riproducendo il problema con aio app run --local, quindi invoca l’azione locale ed esegui aio rt:activation:logs <activation_id> senza un namespace IO Runtime reale. Traccia la configurazione del forwarding dei log utilizzata da questi comandi; il lavoro è completato quando le attivazioni locali espongono i log senza richiedere credenziali per un namespace reale.

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

Descrizione

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.

Lingua principale
JavaScript
Stelle
28
Fork
41
Merge medio
1g 15h
PR unite (30g)
10

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 adobe/aio-cli-plugin-app

Tutte le issue di adobe/aio-cli-plugin-app

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.