- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of
this repository and believe that this is not a duplicate.
- [ ] I have checked the
[FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository
and believe that this is not a duplicate.
### Environment
* Dubbo version: dubbo-spring-boot-starter 2.7.3 (provider&consumer)
* Operating System version: win7
* Java version: 1.8
### Steps to reproduce this issue
1. when I use redis as register center ,it occurs,when multicast no
2. no exception,return result like this,Result{returnCode=0, msg='null',
data={}}
3. the timestamp of provider&consumer server is approximate, I set them by
myself
4.In most cases,it does not happen
provider service:
@Service(interfaceClass = IAccessService.class, version = "1.0.0", group =
"authorize")
@Component
public class AccessServiceImp implements IAccessService {
@Override
public Result checkAccess(Byte clusterId, String userName, String ip) {
Result result = new Result();
return result;
}
config:
dubbo.application.name=dubbo-provider-authorize
dubbo.registry.address=redis://root:bwda@[email protected]:6379/0
#本地调试地址,有效的多播地址范围是:224.0.0.0-239.255.255.255
#dubbo.registry.address=multicast://224.5.6.8:9090
dubbo.protocol.name=dubbo
dubbo.protocol.port=20880
consumer method:
private IAccessService accessService;
@Reference(version="1.0.0",group ="authorize",timeout = 10000,check=false)
Result result = new Result();
result = accessService.checkAccess(cluster.getClusterid(),
userName, ip);
if(Constants.PolicyAccess.ACCESS_CODE == result.getReturnCode()){
}
config:
dubbo.application.name=dubbo-consumer-httpProxy
dubbo.registry.address=redis://root:bwda@[email protected]:6379/0
#本地调试地址,有效的多播地址范围是:224.0.0.0-239.255.255.255
#dubbo.registry.address=multicast://224.5.6.8:9090?unicast=false
[ Full content available at: https://github.com/apache/dubbo/issues/5792 ]
This message was relayed via gitbox.apache.org for
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]