使用如下命令:
java -jar ./target/scala-2.12/diffy-server.jar
-candidate=‘localhost:8000’
-master.primary=‘192.168.1.105:8001’
-master.secondary=‘192.168.1.103:8002’
-responseMode=‘candidate’
-service.protocol=‘http’
-serviceName=‘anyservicename’
-summary.delay=‘1’
-summary.email=‘124862396@qq.com’
-maxHeaderSize=‘32.kilobytes’
-maxResponseSize=‘5.megabytes’
-proxy.port=:8880
-admin.port=:8881
-http.port=:8888
在两个虚拟机上建立primary版和secondary版,本地访问打开服务是没问题的,但是执行命令之后报了错误,
18:08:19.640 [finagle/netty4-2-26] INFO com.twitter.finagle - FailureAccrualFactory marking connection to “diffyproject.appspot.com:443” as dead. Remote Address: Inet(diffyproject.appspot.com/108.160.167.165:443,Map())
能帮忙看下吗?