h9-dev / chia-miner

The miner for Chia.
https://www.h9.com
225 stars 40 forks source link

1.1.1版本linux客户端websocket异常断开与连接错误 #84

Open frostashe opened 3 years ago

frostashe commented 3 years ago

1.1.1版本linux客户端目前有三个问题,第一个是websocket异常断开与连接错误

time="2021-05-03T14:19:29+08:00" level=error msg="read message fail" error="websocket: close 1006 (abnormal closure): unexpected EOF" f7="{loggers.go,logging.CPrint,156}" f8="{server.go,websocket.(Server).connect.func1,95}" f9="{asm_amd64.s,runtime.goexit,1374}" tid=52 time="2021-05-03T14:19:30+08:00" level=error msg="connect fail" err="dial tcp 39.101.132.210:9031: connect: connection refused" f7="{loggers.go,logging.CPrint,156}" f8="{server.go,websocket.(Server).connect,73}" f9="{server.go,websocket.(Server).check,49}" tid=53 url="ws://chia-hb2.hpool.com:9031/ws" time="2021-05-03T14:19:31+08:00" level=error msg="connect fail" err="dial tcp 39.101.132.210:9031: connect: connection refused" f7="{loggers.go,logging.CPrint,156}" f8="{server.go,websocket.(Server).connect,73}" f9="{server.go,websocket.(*Server).check,49}" tid=53 url="ws://chia-hb2.hpool.com:9031/ws"

另外,在程序开始运行的时候,dns连接也存在错误

time="2021-05-02T03:19:26+08:00" level=info msg="update line fail" error="Get \"https://chia.hpool.com/proxy/wslines\": dial tcp: lookup chia.hpool.com on 192.168.1.1:53: dial udp 192.168.1.1:53: connect: network is unreachable" file=loggers.go func=logging.CPrint line=168 tid=1

另外,昨天夜间linux 主机算力突然全部损失,除了上述异常外,没有看到其他异常信息,重新启动程序后算力恢复,但是在四个小时后再次损失所有算力。其间网络正常,在1.1.0版本虽然存在cpu占用过高,但是没有遇到过上述问题

timmmsn commented 3 years ago

我WIN10也是有遇到同樣問題,1.1.1版本 開啟後,過一段時間,所有礦機全掉線,1.1.0 版本不會這樣,但舊版本 CPU使用率高

h9-dev commented 3 years ago

我们再升级服务器,再观察一下是否还出现这个问题。

frostashe commented 3 years ago

我们再升级服务器,再观察一下是否还出现这个问题。

linux服务器7:51分再次出现损失所有算力的问题,windows服务器没有问题,服务器日志显示正常

trying2016 commented 3 years ago

1、从https://github.com/hpool-dev/chia-miner/releases/tag/v1.1.1重新下载最新版本 2、只是偶尔出现连接错误,这种是正常的,Miner会自动重新连接