apache / apache/incubator-seata-samples

macos 不能启动测试业务用例

Open
#63 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

macos 启动不了业务系统,已经对其进行ipv4设置,`-Djava.net.preferIPv4Stack=true`,一直说找不到storge,但是server端已经有相应的服务,
![image](https://user-images.githubusercontent.com/27673005/54798423-a98cef00-4c93-11e9-9023-6434fe103f76.png)
报错如下:
DEBUG com.alibaba.fescar.core.context.RootContext - unbind null
Exception in thread "main" org.apache.dubbo.rpc.RpcException: Failed to invoke the method deduct in the service com.alibaba.fescar.samples.dubbo.service.StorageService. No provider available for the service com.alibaba.fescar.samples.dubbo.service.StorageService from registry 224.5.6.7:1234 on the consumer 10.211.55.2 using the dubbo version 2.7.0. Please check if the providers have been started and registered.

Contributor guide

Open the contributing guide

Research direction

Start at the StorageService.deduct consumer call and verify that the provider is registered at 224.5.6.7:1234 and reachable from the macOS consumer at 10.211.55.2. Compare the server and consumer startup configuration, including the IPv4 setting. Done means the consumer discovers the StorageService provider and the business test case completes without the no-provider error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.