Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署后发生 ConnectException 疑问 #1

Closed
FunriLy opened this issue Dec 16, 2018 · 1 comment
Closed

部署后发生 ConnectException 疑问 #1

FunriLy opened this issue Dec 16, 2018 · 1 comment

Comments

@FunriLy
Copy link

FunriLy commented Dec 16, 2018

您好~今天有幸看到您开源的代码,clone下来就行学习
我按照Wiki上介绍将项目打包后,没有修改任何配置并部署到同一台Linux服务器上,这一切都很顺利。当时我发现了访问不了swagger-ui.html页面,同时查看logs日志,发现getway与store均显示ConnectException错误。信息如下:

INFO   | jvm 1    | 2018/12/16 18:09:39 | 2018-12-16 18:09:39 [WARN]-[raft-server-system-partition-1]-[io.atomix.utils.logging.DelegatingLogger.warn(DelegatingLogger.java:230)] RaftServer{system-partition-1}{role=FOLLOWER} - java.net.ConnectException
INFO   | jvm 1    | 2018/12/16 18:09:39 | 2018-12-16 18:09:39 [WARN]-[raft-server-system-partition-1]-[io.atomix.utils.logging.DelegatingLogger.warn(DelegatingLogger.java:230)] RaftServer{system-partition-1}{role=FOLLOWER} - java.net.ConnectException
INFO   | jvm 1    | 2018/12/16 18:09:43 | 2018-12-16 18:09:43 [WARN]-[raft-server-system-partition-1]-[io.atomix.utils.logging.DelegatingLogger.warn(DelegatingLogger.java:230)] RaftServer{system-partition-1}{role=FOLLOWER} - java.net.ConnectException
INFO   | jvm 1    | 2018/12/16 18:09:43 | 2018-12-16 18:09:43 [WARN]-[raft-server-system-partition-1]-[io.atomix.utils.logging.DelegatingLogger.warn(DelegatingLogger.java:230)] RaftServer{system-partition-1}{role=FOLLOWER} - java.net.ConnectException

是否是我需要修改某些配置文件?我将getway与store部署于同一台机器上。
望解答~~~

@FunriLy
Copy link
Author

FunriLy commented Dec 16, 2018

后面想了一下,感觉应该是我没有同时启动三个getway节点导致的,那我的问题变成为启动时该如何指定其配置文件?同时gateway.properties的服务器端口是否设置错误?

@FunriLy FunriLy closed this as completed Dec 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant