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

2018/01/16--Elasticsearch报错出现乱码 #7

Open
lq920320 opened this issue Jan 16, 2018 · 0 comments
Open

2018/01/16--Elasticsearch报错出现乱码 #7

lq920320 opened this issue Jan 16, 2018 · 0 comments

Comments

@lq920320
Copy link
Owner

lq920320 commented Jan 16, 2018

参考:https://elasticsearch.cn/question/974
_20180116165932

将elasticsearch 目录下的 config/jvm.options 文件里把“-Dfile.encoding=UTF-8”改为“-Dfile.encoding=GBK”
然后重启 Elasticsearch 即可,修改之后报错原因为:

[2018-01-16T16:55:18,564][WARN ][o.e.t.n.Netty4Transport  ] [node-1] exception caught on transport layer [org.elasticsearch.transport.netty4.NettyTcpChannel@1ff4527f], closing connection
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
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