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

no connection #89

Open
strannik37 opened this issue Sep 24, 2023 · 5 comments
Open

no connection #89

strannik37 opened this issue Sep 24, 2023 · 5 comments

Comments

@strannik37
Copy link

Antminer KS3
please help me there is no connection of this miner through the bridge
discord for communication for logs and errors strannik38

@strannik37
Copy link
Author

{"level":"info","ts":"2023-09-24T22:55:10+03:00","msg":"hosting prom stats on :2114/metrics","server":"prometheus"}
{"level":"info","ts":"2023-09-24T22:55:10+03:00","msg":"checking kaspad sync state","component":"kaspaapi:localhost:16110"}
{"level":"info","ts":"2023-09-24T22:55:10+03:00","msg":"kaspad synced, starting server","component":"kaspaapi:localhost:16110"}
{"level":"info","ts":"2023-09-24T22:55:52+03:00","msg":"new client connecting - 192.168.0.108","component":"stratum","address":":8051"}
{"level":"info","ts":"2023-09-24T22:55:52+03:00","msg":"client subscribed ","component":"stratum","address":":8051","client":"192.168.0.108","client_id":1,"context":"{"RemoteAddr":"192.168.0.108","WalletAddr":"","WorkerName":"","RemoteApp":"GodMiner/2.0.0","Id":1,"Logger":{},"State":{"Jobs":{},"JobLock":{}},"Extranonce":"000000"}"}
{"level":"warn","ts":"2023-09-24T22:56:12+03:00","msg":"client misconfigured, no miner address specified - disconnecting","component":"stratum","address":":8051","client":"192.168.0.108","client_id":1,"client":"{"RemoteAddr":"192.168.0.108","WalletAddr":"","WorkerName":"","RemoteApp":"GodMiner/2.0.0","Id":1,"Logger":{},"State":{"Jobs":{},"JobLock":{}},"Extranonce":"000000"}"}
{"level":"info","ts":"2023-09-24T22:56:12+03:00","msg":"disconnecting","component":"stratum","address":":8051","client":"192.168.0.108","client_id":1}
{"level":"info","ts":"2023-09-24T22:56:12+03:00","msg":"client disconnecting - 192.168.0.108","component":"stratum","address":":8051"}
{"level":"error","ts":"2023-09-24T22:56:12+03:00","msg":"error reading from socket","component":"stratum","address":":8051","client":"192.168.0.108","client_id":1,"error":"error reading from connection: read tcp 192.168.0.102:8051->192.168.0.108:52314: use of closed network connection","errorVerbose":"read tcp 192.168.0.102:8051->192.168.0.108:52314: use of closed network connection\nerror reading from connection\ngithub.com/onemorebsmith/kaspastratum/src/gostratum.readFromConnection\n\t/tmp/kaspa-stratum-bridge/src/gostratum/stratum_client.go:54\ngithub.com/onemorebsmith/kaspastratum/src/gostratum.spawnClientListener\n\t/tmp/kaspa-stratum-bridge/src/gostratum/stratum_client.go:19\nruntime.goexit\n\t/usr/lib/go-1.18/src/runtime/asm_amd64.s:1571"}
{"level":"info","ts":"2023-09-24T22:56:12+03:00","msg":"removing client 1"}
{"level":"info","ts":"2023-09-24T22:56:12+03:00","msg":"removed client 1"}

@strannik37
Copy link
Author

logs miner
time="2023-09-24 19:55:52" level=error pid=1206 msg="Failed to get extranonce2_size"
time="2023-09-24 19:55:52" level=notice pid=1206 msg="no need to parse extranonce"
time="2023-09-24 19:56:12" level=error pid=1206 msg="stratum login failed"
time="2023-09-24 19:56:12" level=error pid=1206 msg="Sweep error string = N0:1"
time="2023-09-24 19:56:20" level=notice pid=1206 msg="set_miner_start_time total_tv_start_sys=3713 total_tv_end_sys=3714"
time="2023-09-24 19:56:20" level=error pid=1206 msg="error pool input"
time="2023-09-24 19:56:20" level=error pid=1206 msg="pool0, url = stratum+tcp://192.168.0.102:8051, user = kaspa:qz5s28v6mhaxkcdvcqk53f6mfr6llcek2l7hslkmz22u29xvyc5mxpu86jn6k, pass = x"
time="2023-09-24 19:56:20" level=error pid=1206 msg="pool1, url = , user = , pass = x"
time="2023-09-24 19:56:20" level=error pid=1206 msg="pool2, url = , user = , pass = x"

@rdugan
Copy link
Contributor

rdugan commented Oct 23, 2023

@strannik37 try bitmain branch. let me know if it works. kaspa discord is better for feedback

@KolbiOne
Copy link

KolbiOne commented Nov 21, 2023

Hello, I have the same problem with Bitmain KS3 9.4TH. When I want to log in to the ks-bridge, the ks bridge says "client misconfigured, no miner address specified - disconnecting" in response. It works with ks0 (there are a few of them) and, as I can see, with all Iceriver devices. Does it work for anyone with Bitmain? Can anyone find a solution to this? Is there another stratum server that works with it and can be used to view statistics? The pools on which Bitmain asics work, what stratum do they use? (I'm on 2miners, for example) Please, if anyone has any information or a solution in this regard, please write. I want to mine my own pool. Thanks! (attached is the error from docker-desktop on Macintosh)
Képernyőkép 2023-11-23 220410

@colbyg333
Copy link

Hey I know this is a very old thread, but I'm having some issues with my BM KS5Pro connecting with my stratum bridge. My IR KS5M has no issues at all, but the BM ASIC will show up multiple instances in the bridge, each with a different port number, and each with 0 hashrate. I see some errors in the BM logs that seem to be related to nonce...but I have the version (v1.2.2) of the bridge that is supposed to be able to account for the differences between IR and BM ASICs.

Anyone had this happen to them? I managed to get it working once, when I first got the KS5Pro, I ran into this same exact problem and somehow fixed it...I just can't remember what I did! So if anyone actually sees this, and knows the solution, please help a fellow miner out. Thanks in advance!

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

4 participants