You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
日志请写于此处
javax.crypto.BadPaddingException: Decryption error
at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:370)
at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:282)
at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:370)
at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:404)
at javax.crypto.Cipher.doFinal(Cipher.java:2168)
at me.chanjar.weixin.cp.util.crypto.WxCpCryptUtil.decryptPriKeyByPKCS1(WxCpCryptUtil.java:105)
at me.chanjar.weixin.cp.util.crypto.WxCpCryptUtil.decryptPriKey(WxCpCryptUtil.java:49)
at me.chanjar.weixin.cp.api.impl.WxCpMsgAuditServiceImpl.decryptChatData(WxCpMsgAuditServiceImpl.java:123)
at me.chanjar.weixin.cp.api.impl.WxCpMsgAuditServiceImpl.getDecryptData(WxCpMsgAuditServiceImpl.java:109)
at com.yngw518.weikong.runable.PullRunnable.run(PullRunnable.java:73)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Activity
0katekate0 commentedon Aug 9, 2022
是指多个cp分布式部署的,还是指多个企业corpid出现的问题?
lifuz commentedon Aug 10, 2022
同一个应用,多个企业corpid,单机的
0katekate0 commentedon Aug 10, 2022
多个企业corpid?WxCpConfiguration你是怎样配置的?我看下怎么根据corpId去调整获取会话存档
lifuz commentedon Aug 10, 2022
根据demo做的,这里的agentid是自己定义的
` public static WxCpService getCpService(Integer agentId) {
return cpServices.get(agentId);
}
0katekate0 commentedon Aug 10, 2022
了解,我这边没有多个企业corpid,进一下钉钉交流2群:32206329,晚点调试下,晚点回复一下
lifuz commentedon Aug 10, 2022
好的,感谢大佬
0katekate0 commentedon Aug 10, 2022
等待回复
0katekate0 commentedon Aug 11, 2022
等待下个版本发布即可