There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-61885fdc-e19a-4006-8357-d4a0cb814ab8 XWIKI-24240 Open

500 Error during registration caused by CAPTHCA store size limitation

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-a68e3e12-7ec6-4219-8c9b-546b1b803bcb slauriere on 11/May/26 18:28
 

The default captcha service is initialized with a maximum store size of 100k and a garbage collection trigger set at 75k (reference:CaptchaServiceManager.java{}). There is no reason for the store size to grow that large under normal usage, which suggests that the fix may lie in blocking invalid requests either at XWiki or at HTTP server levels.

 
cid:jira-generated-image-avatar-a68e3e12-7ec6-4219-8c9b-546b1b803bcb slauriere on 11/May/26 18:28
 
The default captcha service is initialized with a maximum store size of 100k and a garbage collection trigger set at 75k (reference:[CaptchaServiceManager.java|https://github.com/xwiki/xwiki-platform/blob/3e8e6ed34588bc4d54c465455714f28228846670/xwiki-platform-core/xwiki-platform-captcha/xwiki-platform-captcha-jcaptcha/xwiki-platform-captcha-jcaptcha-api/src/main/java/org/xwiki/captcha/internal/CaptchaServiceManager.java] {{{}{}}} ). There is no reason for the store size to grow that large under normal usage, which suggests that the fix may lie in blocking invalid requests either at XWiki or at HTTP server levels.