sp-hash / TeamBlackMiner

Fast and stable mining software for Ethereum POW, Ethereum Classic, Zilliqa, Ravencoin (KAWPOW), Firo (FIROPOW), MEOWPOW, EVRPROGPOW , Vertcoin and Hypra.
92 stars 28 forks source link

Error mining Verthash (SSL) @ ZPool #384

Closed UselessGuru closed 1 year ago

UselessGuru commented 1 year ago

TBMiner.exe --algo verthash --verthash-data ..\..\Cache\VertHash.dat --hostname verthash.eu.mine.zpool.ca --wallet ################################ --ssl --ssl-verify-none --ssl-port 56144 --server-passwd ###############,c=BTC --api --api-version 1.4 --api-port 4007 --cuda-devices [0]

--ssl-verify-none does not make a difference. I still get an SSL error:

00:00:00 [2023-09-22 19:54:43.377]
00:00:00 [2023-09-22 19:54:43.443] OpenCL driver version: 536.99
00:00:00 [2023-09-22 19:54:43.473] Cuda driver version: 12.2
00:00:00 [2023-09-22 19:54:43.473] Cuda runtime API version: 12.0
00:00:00 [2023-09-22 19:54:43.473]
00:00:00 [2023-09-22 19:54:43.473]
00:00:00 [2023-09-22 19:54:43.473]
00:00:00 [2023-09-22 19:54:43.473] Welcome to Team Black Miner 2.00
00:00:00 [2023-09-22 19:54:43.473]
00:00:00 [2023-09-22 19:54:43.473]
00:00:00 [2023-09-22 19:54:43.695] GPU0 NVIDIA GeForce GTX 1660 SUPER 6GB added to miner as Cuda device
00:00:00 [2023-09-22 19:54:43.695] Trying to read verthash data file from disk
00:00:00 [2023-09-22 19:54:43.695] Cannot initialize API server. Port in use. Retrying in 6 secs
00:00:00 [2023-09-22 19:54:44.075] Verthash data file has been loaded succesfully
00:00:00 [2023-09-22 19:54:48.903] Verthash data file has been verified succesfully
00:00:00 [2023-09-22 19:54:48.903] Trying stratum+ssl://verthash.eu.mine.zpool.ca:56144 (verthash)
00:00:00 [2023-09-22 19:54:48.945] verthash.eu.mine.zpool.ca: SSL connection to pool failed with error handshake: certificate verify failed (SSL routines, tls_process_server_certificate) [asio.ssl:337047686]
00:00:00 [2023-09-22 19:54:48.945] verthash.eu.mine.zpool.ca: SSL connection to pool failed with error handshake: certificate verify failed (SSL routines, tls_process_server_certificate) [asio.ssl:337047686]
00:00:00 [2023-09-22 19:54:48.997] Shutting down threads
sp-hash commented 1 year ago

This is working. Not sure why you have problems. Can you test the tbminer_zpool_vtc_ssl.bat please

UselessGuru commented 1 year ago

Tested. ZPool does NOT work, but tbminer_zergpool_vtc_ssl.bat does. So this look like a pool cert issue. I have posted on Zpool@discord. Please follow up directly with Zpool. I cannot support any further.

sp-hash commented 1 year ago

Did you try without --ssl-verify-none, and make sure that the file ca.pem is in the exe folder.

UselessGuru commented 1 year ago

Did you try without --ssl-verify-none

Same error. ca.pem is in the miner folder. BTW: 1.99 has the same issue.

Also new 2.01 does not work with ssl@zpool

crackfoo commented 1 year ago

Can someone test this now? re-issued the certificates and should be v3 now...

openssl x509 -noout -text -in zpool.ca.pem

Certificate: Data: Version: 3 (0x2) Serial Number: 1 (0x1) Signature Algorithm: sha256WithRSAEncryption