From 11c6bcf199944cd5b593ee724b5dead76b42a5fd Mon Sep 17 00:00:00 2001 From: Nicolas Joubert Date: Wed, 19 Mar 2025 16:29:03 +0100 Subject: [PATCH] cleverage/process-bundle-demo#32 Add Troubleshooting {"message":"Missing auth token."} Response when launch process via http request --- docs/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/index.md b/docs/index.md index 7130073..b968e86 100644 --- a/docs/index.md +++ b/docs/index.md @@ -174,3 +174,8 @@ On debug environment, profiling too much queries cause memory exhaustion. So, yo - Increase `memory_limit` in php.ini - Set `clever_age_ui_process.logs.store_in_database: false` or improve value of `clever_age_ui_process.logs.database_level` - Use `--no-debug` flag for `cleverage:process:execute` + +### {"message":"Missing auth token."} Response when launch process via http request + +If you use apache2 webserver, `SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1` VirtualHost directive must be +uncomment to "force Apache to pass the Authorization header to PHP: required for "basic_auth" under PHP-FPM and FastCGI"