brechtvb commented on PR #49721:
URL: https://github.com/apache/airflow/pull/49721#issuecomment-2828678149

   very odd - not working 2 times from scratch. I'm familiar with python and 
docker.
   
   
   
   ```
   INFO:     Waiting for application startup.
   ERROR:    Traceback (most recent call last):
     File 
"/home/airflow/.local/lib/python3.12/site-packages/starlette/routing.py", line 
692, in lifespan
       async with self.lifespan_context(app) as maybe_state:
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
       return await anext(self.gen)
              ^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/fastapi/routing.py", line 
133, in merged_lifespan
       async with original_context(app) as maybe_original_state:
                  ^^^^^^^^^^^^^^^^^^^^^
     File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
       return await anext(self.gen)
              ^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/fastapi/routing.py", line 
133, in merged_lifespan
       async with original_context(app) as maybe_original_state:
                  ^^^^^^^^^^^^^^^^^^^^^
     File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
       return await anext(self.gen)
              ^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/api_fastapi/app.py", 
line 62, in lifespan
       await stack.enter_async_context(
     File "/usr/local/lib/python3.12/contextlib.py", line 659, in 
enter_async_context
       result = await _enter(cm)
                ^^^^^^^^^^^^^^^^
     File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
       return await anext(self.gen)
              ^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/fastapi/routing.py", line 
133, in merged_lifespan
       async with original_context(app) as maybe_original_state:
                  ^^^^^^^^^^^^^^^^^^^^^
     File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
       return await anext(self.gen)
              ^^^^^^^^^^^^^^^^^^^^^
     File "/home/airflow/.local/lib/python3.12/site-packages/svcs/fastapi.py", 
line 66, in __call__
       async with self.registry, cm(app, self.registry) as state:
                                 ^^^^^^^^^^^^^^^^^^^^^^
     File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
       return await anext(self.gen)
              ^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/api_fastapi/execution_api/app.py",
 line 93, in lifespan
       registry.register_value(JWTValidator, _jwt_validator(), 
ping=JWTValidator.status)
                                             ^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/api_fastapi/execution_api/app.py",
 line 64, in _jwt_validator
       **get_sig_validation_args(make_secret_key_if_needed=False),
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/api_fastapi/auth/tokens.py",
 line 578, in get_sig_validation_args
       return {"secret_key": get_signing_key("api_auth", "jwt_secret", 
make_secret_key_if_needed)}
                             
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/api_fastapi/auth/tokens.py",
 line 535, in get_signing_key
       raise ValueError(f"The value {section}/{key} must be set!")
   ValueError: The value api_auth/jwt_secret must be set!
   
   ERROR:    Application startup failed. Exiting.
   INFO:     Waiting for child process [352]
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to