(本文档仅供参考)
问题现象
引擎不断抛出以下日志错误信息:
2024-11-06 17:22:31.321 [18] ERROR restful.AuthenticateFilter.doFilter:104 [] - Authentication failed,path:/api/v1/agents/register
2024-11-06 17:22:46.319 [15] ERROR restful.AuthenticateFilter.doFilter:98 [] - Encryption or decryption failed, please check the log for specific errors!
java.lang.Exception: Encryption or decryption failed, please check the log for specific errors!
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
处理方案
此报错信息为引擎跟代理器的版本不是匹配导致。导致交互校验时抛出的错误信息。可检查数据挖掘配置【引擎设置】,并点击绑定引擎。并需要把执行引擎部署目录/conf/engine.key 文件拷贝到代理器计算节点相应的位置下。参考:绑定引擎 - Smartbi Insight V11帮助中心 -
注:容器部署时,以其启动命令挂载的路径为准!