Apache is configured to log this header so that the apache logs and the tiqr logs can be matched.
However tiqr logs a different request_id (2ade7528425887588a8689eb6aff1863) in its log:
{"message":"Uncaught PHP Exception Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException: \"No route found for \"GET https://tiqr.surfconext.nl/request-id-log-test\"\" at RouterListener.php line 127","context":{"exception":{"class":"Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException","message":"No route found for \"GET https://tiqr.surfconext.nl/request-id-log-test\"","code":0,"file":"/var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php:127","previous":{"class":"Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException","message":"No routes found for \"/request-id-log-test/\".","code":0,"file":"/var/www/html/vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:70"}}},"level":400,"level_name":"ERROR","channel":"request","datetime":"2024-09-02T13:57:23+02:00","extra":{"art":"18839","server":"tiqr.dev.openconext.local","application":"stepup-tiqr","request_id":"2ade7528425887588a8689eb6aff1863"}}
Steps to reproduce:
Make a some request to tiqr. E.g.
curl -vvv https://tiqr.dev.openconext.local/request-id-log-test
The headers from the response will return a
x-stepup-request-id
header:Apache is configured to log this header so that the apache logs and the tiqr logs can be matched.
However tiqr logs a different request_id (2ade7528425887588a8689eb6aff1863) in its log:
request_id
andx-stepup-request-id
must match.