<div style="font-family: Arial, sans-serif; font-size: 14px;">Hi,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I have a weird problem that I do not quite now how to solve/trouble-shoot.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">If I do not set the <<span>publicHttpUrlPattern> every thing works fine.</span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>I can go to https://<hostname> or https://<hostname>/midpoint or <span style="display: inline !important; background-color: rgb(255, 255, 255);">https://<hostname>/midpoint/ and I will be re-directed to our Keycloak instance to login.</span></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span><span style="display: inline !important; background-color: rgb(255, 255, 255);">All good.</span></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span><span style="display: inline !important; background-color: rgb(255, 255, 255);">Now, if I do configure <span style="display: inline !important; background-color: rgb(255, 255, 255);">the <</span><span style="scrollbar-width: thin; background-color: rgb(255, 255, 255);">publicHttpUrlPattern><span> (which I need to be able to use links in email-notifications) I can only go to <span style="display: inline !important; background-color: rgb(255, 255, 255);">https://<hostname>/midpoint/</span></span></span></span></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span><span style="display: inline !important; background-color: rgb(255, 255, 255);"><span style="scrollbar-width: thin; background-color: rgb(255, 255, 255);"><span><span style="display: inline !important; background-color: rgb(255, 255, 255);">that is, if I remove the trailing / or omit the /midpoint/ it fails and I see this in the log:</span></span></span></span></span></div><blockquote style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 10px; color: rgb(102, 102, 102);"><div style="font-family: Arial, sans-serif; font-size: 14px;"><span><span style="display: inline !important; background-color: rgb(255, 255, 255);"><span style="scrollbar-width: thin; background-color: rgb(255, 255, 255);"><span><span style="display: inline !important; background-color: rgb(255, 255, 255);"><span> ERROR (org.apache.coyote.http11.Http11Processor): Error processing request</span><br></span></span></span></span></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span><span style="display: inline !important; background-color: rgb(255, 255, 255);"><span style="scrollbar-width: thin; background-color: rgb(255, 255, 255);"><span><span style="display: inline !important; background-color: rgb(255, 255, 255);"><span>java.lang.IllegalStateException: No current ServletRequestAttributes</span><br></span></span></span></span></span></div></blockquote><div style=""><span><span style="display: inline !important;"><span style="scrollbar-width: thin;"><span><span style="display: inline !important;"><span><br></span></span></span></span></span></span></div><div style=""><span><span style="display: inline !important;"><span style="scrollbar-width: thin;"><span><span style="display: inline !important;"><span>It is the same error as if I would go to any other url that does not exist.</span></span></span></span></span></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Any ideas what could cause this?</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
<div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
<div class="protonmail_signature_block-user">Thanks,</div><div class="protonmail_signature_block-user">Markus</div>
<div class="protonmail_signature_block-proton protonmail_signature_block-empty">
</div>
</div>