phprpc Can't find the key for decryption 解决方案

昨天下午遇到一个问题,突然phprpc遇到 Can't find the key for decryption 这个问题。

经过查找发现服务端没有采用加密,而客户端之前加密时没有问题的。


从rpc的文档上看,加密存的是session,如果session改变的话,则发生异常。


后面我将客户端的代码去掉了加密方式,这样客户端和服务端都没有加密方式,处理完毕。

Meet so Meet. C plusplus I-PLUS....
原文地址:https://www.cnblogs.com/iplus/p/4489945.html