Bitcoin Forum
July 04, 2024, 09:34:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Problem with setting up Nomp - "No new blocks for 55 seconds" error  (Read 2828 times)
Decagrog (OP)
Sr. Member
****
Offline Offline

Activity: 289
Merit: 251



View Profile
June 12, 2014, 06:06:22 AM
 #1

I'm trying to setup a private pool with nomp https://github.com/zone117x/node-open-mining-portal


I've managed to go through the installation and config setup, miners can connect to the pool and apparently mine at it, however don't receive any payment

Looking to the nomp output I get :

...
2014-06-12 07:53:28 [Payments]  [limecoinx] Finished interval - time spent: 6ms total, 1ms redis, 5ms daemon RPC
2014-06-12 07:53:38 [Pool]      [365coin] (Thread 1) Block notification via RPC polling
2014-06-12 07:53:38 [Pool]      [365coin] (Thread 2) Block notification via RPC polling
2014-06-12 07:53:39 [Pool]      [limecoinx] (Thread 1) No new blocks for 55 seconds - updating transactions & rebroadcasting work
2014-06-12 07:53:39 [Pool]      [limecoinx] (Thread 2) No new blocks for 55 seconds - updating transactions & rebroadcasting work



Those "no new blocks for 55 seconds" message could means that nomp can't connect to the wallet?
But still the limecoin daemon is running and the rpcport as user and password parameters are setted on the limecoinx.json configuration file in /pool_configs/


What should I look ?


Decagrog (OP)
Sr. Member
****
Offline Offline

Activity: 289
Merit: 251



View Profile
June 12, 2014, 07:10:19 PM
 #2

Here the various conf files, someone can spot any issue?  Roll Eyes

limecoinx.conf  (daemon .conf)

rpcallowip=*
rpcthreads=10
rpcuser=user
rpcpassword=pass
rpcport=3950
port=3949
server=1
daemon=1
listen=1

limecoinx.conf (coin configuration)
{
    "name": "Limecoinx",
    "symbol": "LIM",
    "algorithm": "x11",
    "mposDiffMultiplier": 256
}



limecoinx.json ( pool configuration )

{
    "enabled": true,
    "coin": "limecoinx.json",

    "address": "iP6CDueUxNe8yuE8o3WmLnMfiWKbAqx8p4",

    "rewardRecipients": {

        "n37vuNFkXfk15uFnGoVyHZ6PYQxppD3QqK": 0,
        "22851477d63a085dbc2398c8430af1c09e7343f6": 0
  },

    "paymentProcessing": {
        "enabled": true,
        "paymentInterval": 20,
        "minimumPayment": 70,
        "daemon": {
            "host": "127.0.0.1",
            "port": 3950,
            "user": "user",
            "password": "pass"
        }
    },

    "ports": {

        "3951": {
            "diff": 8
        }
,
        "3952": {
            "diff": 32,
            "varDiff": {
                "minDiff": 8,
                "maxDiff": 512,
                "targetTime": 15,
                "retargetTime": 90,
                "variancePercent": 30
            }
        },
        "3953": {
            "diff": 256
        }

 },


    "daemons": [
        {
            "host": "127.0.0.1",
            "port": 3950,
            "user": "user",
            "password": "pass"
        }
    ],

    "p2p": {
        "enabled": false,
        "host": "127.0.0.1",
        "port": 3949,
          "disableTransactions": true
    },

    "mposMode": {
        "enabled": false,
        "host": "127.0.0.1",
        "port": 3306,
        "user": "me",
        "password": "mypass",
        "database": "ltc",
        "checkPassword": true,
        "autoCreateWorker": false
    }








Decagrog (OP)
Sr. Member
****
Offline Offline

Activity: 289
Merit: 251



View Profile
June 12, 2014, 08:30:17 PM
 #3

Got a reply on the irc, I'm testing with just a single card and the diff setted was simply too high  Grin

m3
Sr. Member
****
Offline Offline

Activity: 460
Merit: 250


View Profile WWW
July 18, 2014, 02:54:53 PM
 #4

I was having the exact problem and as the OP said the diff was too high. Just for future reference if anybody is getting the same issue and you are using an X13 coin make sure to set the difficulty to 0.002 and see if the miner submits shares and the stats should update within a couple seconds.

utahjohn
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500


View Profile
August 07, 2014, 12:19:31 PM
 #5

I'm having trouble setting up NOMP

Here is output from node init.js

Code:
2014-08-07 05:40:57 [POSIX]     [Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection) 

limit was not raised
2014-08-07 05:40:57 [Master]    [CLI] CLI listening on port 17117
2014-08-07 05:40:58 [Master]    [PoolSpawner] Spawned 1 pool(s) on 2 thread(s)
2014-08-07 05:41:00 [Payments]  [diamondcoin] Payment processing setup to run every 600 second(s) with daemon

(bogus@127.0.0.1:17772) and redis (127.0.0.1:6379)                                                                           

                                         
2014-08-07 05:41:00 [Payments]  [diamondcoin] Finished interval - time spent: 17ms total, 5ms redis, 10ms daemon RPC
2014-08-07 05:41:00 [Switching] [Setup] (Thread 1) Loading last proxy state from redis
2014-08-07 05:41:00 [Pool]      [diamondcoin] (Thread 1) Share processing setup with redis (127.0.0.1:6379)
2014-08-07 05:41:00 [Switching] [Setup] (Thread 1) Switching "switch1" listening for groestl on port 3333 into diamondcoin
2014-08-07 05:41:00 [Website]   [Server] Website started on 127.0.0.1:8080
2014-08-07 05:41:00 [Stats]     [Global] error with getting global stats [{},{}]
2014-08-07 05:41:00 [Stats]     [Global] error getting all stats[{},{}]
2014-08-07 05:41:00 [Pool]      [diamondcoin] (Thread 1) Stratum Pool Server Started for diamondcoin [DMD] {groestl}
2014-08-07 05:41:00 [Switching] [Setup] (groestl) Setting proxy difficulties after pool start
2014-08-07 05:41:00 [Switching] [Setup] (Thread 2) Loading last proxy state from redis
2014-08-07 05:41:00 [Pool]      [diamondcoin] (Thread 2) Share processing setup with redis (127.0.0.1:6379)
2014-08-07 05:41:00 [Switching] [Setup] (Thread 2) Switching "switch1" listening for groestl on port 3333 into diamondcoin
2014-08-07 05:41:00 [Pool]      [diamondcoin] (Thread 2) Stratum Pool Server Started for diamondcoin [DMD] {groestl}
2014-08-07 05:41:00 [Switching] [Setup] (groestl) Setting proxy difficulties after pool start
2014-08-07 05:41:30 [Pool]      [diamondcoin] (Thread 1) Authorized dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg:x [10.42.0.99]
2014-08-07 05:41:55 [Pool]      [diamondcoin] (Thread 1) No new blocks for 55 seconds - updating transactions &

rebroadcasting work
2014-08-07 05:41:55 [Pool]      [diamondcoin] (Thread 2) No new blocks for 55 seconds - updating transactions &

rebroadcasting work
2014-08-07 05:41:58 [Stats]     [Global] error with getting global stats [{},{}]
2014-08-07 05:41:58 [Stats]     [Global] error getting all stats[{},{}]
2014-08-07 05:42:05 [Pool]      [diamondcoin] (Thread 2) Block notification via RPC polling
2014-08-07 05:42:05 [Pool]      [diamondcoin] (Thread 1) Block notification via RPC polling
2014-08-07 05:42:50 [Pool]      [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/2.42240273 by

dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:50 [Pool]      [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:42:55 [Pool]      [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/2.59897940 by

dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:55 [Pool]      [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:42:55 [Pool]      [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/20.79394799 by

dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:55 [Pool]      [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:42:56 [Pool]      [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/1.06624046 by

dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:56 [Pool]      [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:42:56 [Pool]      [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/18.78279015 by

dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:56 [Pool]      [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:42:57 [Pool]      [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/1.00480109 by

dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:57 [Pool]      [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:42:58 [Stats]     [Global] error with getting global stats [{},{}]
2014-08-07 05:42:58 [Stats]     [Global] error getting all stats[{},{}]
2014-08-07 05:42:59 [Pool]      [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/1.63783715 by

dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:42:59 [Pool]      [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:43:00 [Pool]      [diamondcoin] (Thread 1) No new blocks for 55 seconds - updating transactions &

rebroadcasting work
2014-08-07 05:43:00 [Pool]      [diamondcoin] (Thread 2) No new blocks for 55 seconds - updating transactions &

rebroadcasting work
2014-08-07 05:43:00 [Pool]      [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/1.37537113 by

dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:43:00 [Pool]      [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:43:00 [Pool]      [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/2.09557893 by

dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:43:00 [Pool]      [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:43:04 [Pool]      [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/1.46301492 by

dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:43:04 [Pool]      [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:43:05 [Pool]      [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/1.25386032 by

dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:43:05 [Pool]      [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]
2014-08-07 05:43:06 [Pool]      [diamondcoin] (Thread 1) Share accepted at diff 0.00390625/156.97057046 by

dE1xgAEwfA3BsxEpXSBTrqiYbrEUyZwwKg [10.42.0.99]
2014-08-07 05:43:06 [Pool]      [diamondcoin] (Thread 1) Error with share processor multi [{},{},{},{}]

Here is config.json
Code:
{
    "logLevel": "debug",
    "logColors": true,

    "cliPort": 17117,

    "clustering": {
        "enabled": true,
        "forks": "auto"
    },

    "defaultPoolConfigs": {
        "blockRefreshInterval": 1000,
        "jobRebroadcastTimeout": 55,
        "connectionTimeout": 600,
        "emitInvalidBlockHashes": false,
        "validateWorkerUsername": true,
        "tcpProxyProtocol": false,
        "banning": {
            "enabled": true,
            "time": 600,
            "invalidPercent": 50,
            "checkThreshold": 500,
            "purgeInterval": 300
        },
        "redis": {
            "host": "127.0.0.1",
            "port": 6379
        }
    },

    "website": {
        "enabled": true,
        "host": "127.0.0.1",
        "port": 8080,
        "stratumHost": "bogus.ddns.net",
        "stats": {
            "updateInterval": 60,
            "historicalRetention": 43200,
            "hashrateWindow": 300
        },
        "adminCenter": {
            "enabled": true,
            "password": "password1bogus"
        }
    },

    "redis": {
        "host": "127.0.0.1",
        "port": 6379
    },

    "switching": {
        "switch1": {
            "enabled": true,
            "algorithm": "groestl",
            "ports": {
                "3333": {
                    "diff": 0.00390625,
                    "varDiff": {
                        "minDiff": 0.00390625,
                        "maxDiff": 4,
                        "targetTime": 15,
                        "retargetTime": 90,
                        "variancePercent": 30
                    }
                }
            }
        },
        "switch2": {
            "enabled": false,
            "algorithm": "scrypt",
            "ports": {
                "4444": {
                    "diff": 10,
                    "varDiff": {
                        "minDiff": 16,
                        "maxDiff": 512,
                        "targetTime": 15,
                        "retargetTime": 90,
                        "variancePercent": 30
                    }
                }
            }
        },
        "switch3": {
            "enabled": false,
            "algorithm": "x11",
            "ports": {
                "5555": {
                    "diff": 0.001,
                    "varDiff": {
                        "minDiff": 0.001,
                        "maxDiff": 1,
                        "targetTime": 15,
                        "retargetTime": 60,
                        "variancePercent": 30
                    }
                }
            }
   
        }

    },

    "profitSwitch": {
        "enabled": false,
        "updateInterval": 600,
        "depth": 0.90,
        "usePoloniex": true,
        "useCryptsy": true,
        "useMintpal": true,
        "useBittrex": true
    }
}

Here is coins/diamondcoin.json
Code:
{
    "name": "Diamondcoin",
    "symbol": "DMD",
    "algorithm": "groestl",
    "txMessages": false,
    "normalHashing" : true,
    "peerMagic" : "e4e8dbfd",
    "peerMagicTestnet" : "edf2c0ef"
}

Here is pool_configs/diamond.json
Code:
{
    "enabled": true,
    "coin": "diamondcoin.json",

    "address": "dQKbYwJFpq9MDojuwE99D3MHihEkEW6aqk",

    "rewardRecipients": {
        "dZi9hpA5nBC6tSAbPSsiMjb6HeQTprcWHz" : 4.76190477,
        "dEdj7aH7Pgt3oVAeEFmA46sXCDcZYeiQjP" : 0.95238095
    },

    "paymentProcessing": {
        "enabled": true,
        "paymentInterval": 600,
        "minimumPayment": 1,
        "daemon": {
            "host": "127.0.0.1",
            "port": 17772,
            "user": "bogususer",
            "password": "boguspass"
        }
    },

    "ports": {
        "3333": {
            "diff": 0.008,
            "varDiff": {
                "minDiff": 0.00390625,
                "maxDiff": 8,
                "targetTime": 15,
                "retargetTime": 90,
                "variancePercent": 30
            }
        }
    },

    "daemons": [
        {
            "host": "127.0.0.1",
            "port": 17772,
            "user": "bogususer",
            "password": "boguspass"
        }
    ],

    "p2p": {
        "enabled": false,
        "host": "127.0.0.1",
        "port": 17772,
        "disableTransactions": true
    },

    "mposMode": {
        "enabled": false,
        "host": "127.0.0.1",
        "port": 3306,
        "user": "dmdpool",
        "password": "boguspass",
        "database": "dmd",
        "checkPassword": true,
        "autoCreateWorker": false
    }

}

edric
Hero Member
*****
Offline Offline

Activity: 546
Merit: 501



View Profile
September 06, 2014, 04:11:15 PM
 #6

Here the various conf files, someone can spot any issue?  Roll Eyes

limecoinx.conf  (daemon .conf)

rpcallowip=*
rpcthreads=10
rpcuser=user
rpcpassword=pass
rpcport=3950
port=3949
server=1
daemon=1
listen=1

Don't ever do this!

RPC username and password can easily be sniffed, especially if you're running off digitalocean or something like that, and with rpcallowip=* it enables any computer on the planet to connect and rob you blind!

rpcallowip=127.0.0.1 if the pool software and wallet are on the same server. If you need to be able to connect via RPC from home, also add rpcallowip=your.home.ip.here

You can have more than one allowed IP, just don't ever wildcard it!

Old thread, I know, but a very important detail. Smiley

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!