Open PSLLSP opened 2 years ago
Retested with version 3.8.5 (file nanominer-linux-3.8.5.tar.gz), issue still not fixed, nanominer
still ignores method client.reconnect... :-(
For a reference, SRBminer
knows how to handle method client.reconnect
:
$ cat ./start_VRSC-test1.sh
#!/bin/sh
POOL="eu-01.miningrigrentals.com:3333"
WALLET="droidMiner.217232"
PASS="TESTBOX3"
OPTS="--disable-gpu"
./SRBMiner-MULTI --algorithm verushash --pool "$POOL" --wallet "$WALLET" --password "$PASS" $OPTS $@
$ ./start_VRSC-test1.sh
CPU0 : Intel(R) Xeon(R) CPU E3-1265L v3 @ 2.50GHz [L3: 8192 KB][L2: 1024 KB][L1: 128 KB][PU: 8]
======================================================================
SRBMiner-MULTI 2.3.5
Press 's' to display stats
Press 'p' to switch to the next pool
Press 'o' to switch to the previous pool
======================================================================
Algorithm/s : verushash [0.85% fee]
Gpu mining : disabled
Cpu mining : enabled
Watchdog : enabled
Huge-pages : available
HW-Aes : available
[2023-08-25 20:24:04] Run miner as administrator/root to enable MSR tweaks
[2023-08-25 20:24:04] Algorithm 0 available values for --cpu-threads-intensity : 1
[2023-08-25 20:24:05] 4 CPU core/s - 8 thread/s detected
[2023-08-25 20:24:05] Using 8 thread/s for CPU mining
[2023-08-25 20:24:07] Connected to eu-01.miningrigrentals.com:3333 [verushash]
[2023-08-25 20:24:07] Pool requested a reconnect to eu-01.miningrigrentals.com:50361 [verushash]
[2023-08-25 20:24:07] Pool unexpectedly closed the connection [verushash]
[2023-08-25 20:24:08] Reconnecting to eu-01.miningrigrentals.com:50361 in 5 seconds [verushash]
[2023-08-25 20:24:12] Connected to eu-01.miningrigrentals.com:50361 [verushash]
[2023-08-25 20:24:12] Difficulty 0.0572195859 [verushash][0]
[2023-08-25 20:24:40] Job received [6f304f ] [verushash][0]
[2023-08-25 20:24:54] CPU result accepted [ 80ms] [verushash][0]
[2023-08-25 20:25:02] CPU result accepted [ 87ms] [verushash][0]
[2023-08-25 20:25:35] ================================================================
[2023-08-25 20:25:35] [0] [verushash]
[2023-08-25 20:25:35] CPU : 5227.44 kH/s [ 2| 0|
[2023-08-25 20:25:35] Total: 5227.44 kH/s
[2023-08-25 20:25:35] ================================================================
[2023-08-25 20:25:37] Job received [6f30c2 ] [verushash][0]
I ignore nanominer
because it ignores stratum method client.reconnect...
$ ./nanominer --version
2023/11/05 18:43:42 Error: INIReader: LOAD: empty key name: =
_
_ __ __ _ _ __ ___ _ __ ___ (_)_ __ ___ _ __
| '_ \ / _` | '_ \ / _ \| '_ ` _ \| | '_ \ / _ \ '__|
| | | | (_| | | | | (_) | | | | | | | | | | __/ |
|_| |_|\__,_|_| |_|\___/|_| |_| |_|_|_| |_|\___|_|
Version 3.8.5-linux
2023-Nov-05 18:43:42: Load error
2023-Nov-05 18:43:42: Minimal configuration file for Ethereum mining is "wallet=<your Ethereum wallet>".
2023-Nov-05 18:43:42: Minimal command line options for Ethereum mining is "-wallet <your Ethereum wallet>".
2023-Nov-05 18:43:42: See ReadMe document for detailed information.
Config file to test KawPow algo, it doesn't work because nanominer
ignores stratum method client.reconnect
$ cat mrr-kawpow-test.ini
;restarts=0
[kawpow]
wallet = droidMiner.294955
rigPassword = NM-TEST1
pool1 = eu-de01.miningrigrentals.com:3333
rigName = NM-TEST1
$ ./nanominer mrr-kawpow-test.ini
_
_ __ __ _ _ __ ___ _ __ ___ (_)_ __ ___ _ __
| '_ \ / _` | '_ \ / _ \| '_ ` _ \| | '_ \ / _ \ '__|
| | | | (_| | | | | (_) | | | | | | | | | | __/ |
|_| |_|\__,_|_| |_|\___/|_| |_| |_|_|_| |_|\___|_|
Version 3.8.5-linux
2023-Nov-05 18:48:17: Started EthMan server on port 3333 without a password (read-only mode).
2023-Nov-05 18:48:17: Started web interface on port 9090 without a password.
2023-Nov-05 18:48:17: NVIDIA driver version: 470.182.03 (11.4)
Single device detected
GPU 0 PCI 01:00.0, Platform: CUDA, Name: NVIDIA GeForce GTX 750 Ti, 2000 MB available
-------------------Kawpow:------------------
Currency: Raven
Wallet: droidMiner.294955
Rig name: NM-TEST1
Email was not set.
Rig password: NM-TEST1
Hashrate threshold to restart miner is not set
Number of rejected shares per hour to restart miner is not set
Added pool: eu-de01.miningrigrentals.com:3333
Auto pool sorting is disabled
Using all GPU devices
-------------Common parameters:-------------
Log path: ./logs/
Log is written to file
GPU watchdog is enabled
Never calling reboot.sh (always restarting the miner in case of errors).
2023-Nov-05 18:48:17: Setting up algorithm: Kawpow
2023-Nov-05 18:48:17: Connecting to pools...
2023-Nov-05 18:48:18: Connected to pool: eu-de01.miningrigrentals.com:3333 | IP: 188.166.161.62
2023-Nov-05 18:48:18: Connection was closed.
2023-Nov-05 18:48:18: Connecting to pools...
2023-Nov-05 18:48:18: Reconnected to pool: eu-de01.miningrigrentals.com:3333 | IP: 188.166.161.62
2023-Nov-05 18:48:19: Connection was closed.
2023-Nov-05 18:48:19: Connecting to pools...
2023-Nov-05 18:48:20: Reconnected to pool: eu-de01.miningrigrentals.com:3333 | IP: 188.166.161.62
2023-Nov-05 18:48:20: Connection was closed.
2023-Nov-05 18:48:20: Connecting to pools...
2023-Nov-05 18:48:21: Reconnected to pool: eu-de01.miningrigrentals.com:3333 | IP: 188.166.161.62
2023-Nov-05 18:48:21: Connection was closed.
...
You can use gminer
to verify that configuration is correct, that miner supports method client.reconnect and can connect to TCP port 3333 at MRR. gminer
had similar issue but they already fixed it...
When I manually modify TCP port, (I replace port 3333 with 53899 that was dynamically allocated by MRR) nanominer
can connect and mine.
...
2023-Nov-06 00:57:56: Setting up algorithm: Kawpow
2023-Nov-06 00:57:56: Connecting to pools...
2023-Nov-06 00:57:56: Connected to pool: eu-de01.miningrigrentals.com:53899 | IP: 188.166.161.62
2023-Nov-06 00:57:56: New job from eu-de01.miningrigrentals.com:53899 | share difficulty = 4 GH, epoch 38 (1327 MB)
2023-Nov-06 00:58:31: GPU0: 1327 MB DAG generated in 32.99 seconds
...
BTW, It is difficult to troubleshoot connection issues with nanominer
, I cannot find any support for "protocol dump" or "debug mode"... I did a mistake an hour ago, I entered wrong TCP port (50175) and it was really difficult to find why nanominer
is rejected from the pool... There is even no message about request to reconnect to different URL, so it is difficult to find correct TCP port for reconfiguration (that is why I entered wrong TCP port...)
Here is a reference command for gminer
, it connects to TCP port 3333 and just works:
./gminer -a kawpow --server stratum+tcp://eu-de01.miningrigrentals.com:3333 --user droidMiner.294955 --pass TEST7
nanominer-linux-3.4.6-cuda11.tar.gz
I tried to connect
nanominer
to miningrigrentals.com but it doesn't work, some compatibility issue... It looks like nanominer doesn't support client.reconnect.This config doesn't work (issue):
This config works, it is a workaround:
nanonominer
cannot connect to MRR pool (port 3333):Just for your reference,
nheqminer
from https://github.com/VerusCoin/nheqminer/releases works fine, the same configuration, no issue...