Red Hat 3scale APIcast is failing with the error message "document fails length limit"
Issue
APIcast is on the CrashLoopBackOff
state with the following message on its logs:
ERROR: /usr/local/share/lua/5.1/liquid.lua:2643: document fails length limit. length limit:100000
stack traceback:
/usr/local/share/lua/5.1/liquid.lua:2643: in function 'check_length'
/usr/local/share/lua/5.1/liquid.lua:2243: in function 'visit'
/usr/local/share/lua/5.1/liquid.lua:1975: in function 'render'
/opt/app-root/src/src/apicast/cli/command/start.lua:56: in function 'nginx_config'
/opt/app-root/src/src/apicast/cli/command/start.lua:157: in function 'start'
/opt/app-root/src/src/apicast/cli.lua:49: in function </opt/app-root/src/src/apicast/cli.lua:29>
/tmp/q75Tc0UpE6:60: in function 'file_gen'
init_worker_by_lua:51: in function <init_worker_by_lua:49>
[C]: in function 'xpcall'
init_worker_by_lua:58: in function <init_worker_by_lua:56>
loading staging environment configuration: /opt/app-root/src/config/staging.lua
Environment
- Red Hat 3scale API Management
- 2.X On-premises
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.