miningcore icon indicating copy to clipboard operation
miningcore copied to clipboard

MC not working with XMR v0.18.1.0

Open ei8ht187 opened this issue 2 years ago • 22 comments

Describe the bug It is not possible for me to buy XMR hashpower on nicehash. The poolverficator and even connecting miner to the pool fails. Mining with xmrig works without any problems.

To Reproduce Steps to reproduce the behavior: Set up a pool in nicehash and test it or buy miningpower

Expected behavior The test should pass and mining should shart

Screenshots [2022-02-25 21:27:14.1128] [I] [xmr1] [0HMFOKM7SGDD1] Accepting connection from ::ffff:35.[SNIP].215:31774 ... [2022-02-25 21:27:14.1131] [I] [xmr1] [0HMFOKM7SGDD1] Connection from ::ffff:35.[SNIP].215:31774 accepted on port 4101 [2022-02-25 21:27:14.1131] [D] [xmr1] [0HMFOKM7SGDD1] [NET] Waiting for data ... [2022-02-25 21:27:14.1131] [D] [xmr1] [0HMFOKM7SGDD1] [NET] Received data: {"id":1,"method":"login","params":{"login":"41pj[SNIP]cgKq","pass":"","agent":"NiceHash/1.0.0"}} [2022-02-25 21:27:14.1131] [D] [xmr1] [0HMFOKM7SGDD1] [NET] Waiting for data ... [2022-02-25 21:27:14.1131] [D] [xmr1] [0HMFOKM7SGDD1] [PIPE] Waiting for data ... [2022-02-25 21:27:14.1131] [D] [xmr1] [0HMFOKM7SGDD1] [PIPE] Received data: {"id":1,"method":"login","params":{"login":"41pj[SNIP]cgKq","pass":"","agent":"NiceHash/1.0.0"}} [2022-02-25 21:27:14.1131] [D] [xmr1] [0HMFOKM7SGDD1] Dispatching request 'login' [1] [2022-02-25 21:27:14.1556] [I] [xmr1] [0HMFOKM7SGDD1] Authorized miner 41pj[SNIP]cgKq [2022-02-25 21:27:14.1556] [D] [xmr1] [0HMFOKM7SGDD1] [PIPE] Waiting for data ... [2022-02-25 21:27:14.1616] [D] [xmr1] [0HMFOKM7SGDD1] Sending: {"result":{"id":"0HMFOKM7SGDD1","job":{"job_id":"1","blob":"0e0ea193e59006bb84ead6fcedc8049fa050894e48f0aa96bec85e27f0a012ffea711c5f3cd85a00000000cef6e34df34899236cc70251dfc2759265e2ad6f444931fcb8d8b6e0d81b235c16","target":"8d210000","seed_hash":"9da9e9b13f7c379833b2758bfc397fa0eecfc3a61f199bdbceff8c6a775ecc1a","algo":"rx/0","height":2567432},"status":"OK"},"id":1} [2022-02-25 21:27:44.1137] [D] [xmr1] [0HMFOKM7SGDD1] [PIPE] Received data:
[2022-02-25 21:27:44.1137] [I] [xmr1] [0HMFOKM7SGDD1] Connection closed

This is the redacted debuglog of our pool. The pool uses the following configuration:

    {
        "address": "44hS[SNIP]EmAk",
        "banning": {
            "checkThreshold": 50,
            "enabled": true,
            "invalidPercent": 50,
            "time": 600
        },
        "blockRefreshInterval": 250,
        "clientConnectionTimeout": 600,
        "coin": "monero",
        "daemons": [
            {
                "host": "10.[SNIP].178",
                "password": "",
                "port": 18081,
                "user": ""
            },
            {
                "host": "10.[SNIP].24",
                "password": "",
                "port": 18081,
                "user": ""
            }
        ],
        "enabled": true,
        "id": "xmr1",
        "jobRebroadcastTimeout": 10,
        "paymentProcessing": {
            "enabled": false,
            "minimumPayment": 0.25,
            "minimumPaymentToPaymentId": 1,
            "payoutScheme": "PPLNS",
            "payoutSchemeConfig": {
                "factor": 2
            }
        },
        "ports": {
            "4100": {
                "difficulty": 25000,
                "listenAddress": "0.0.0.0",
                "name": "CPU",
                "tcpProxyProtocol": {
                    "enable": true,
                    "mandatory": false,
                    "proxyAddresses": [
                        "::ffff:192.[SNIP].6",
                        "::ffff:192.[SNIP]72"
                    ]
                },
                "varDiff": {
                    "maxDiff": null,
                    "minDiff": 1000,
                    "retargetTime": 90,
                    "targetTime": 15,
                    "variancePercent": 30
                }
            },
            "4101": {
                "difficulty": 500000,
                "listenAddress": "0.0.0.0",
                "name": "Nicehash",
                "tcpProxyProtocol": {
                    "enable": true,
                    "mandatory": false,
                    "proxyAddresses": [
                        "::ffff:192.[SNIP].6",
                        "::ffff:192.[SNIP].72"
                    ]
                },
                "varDiff": null
            },
            "5100": {
                "difficulty": 25000,
                "listenAddress": "0.0.0.0",
                "name": "CPU",
                "tcpProxyProtocol": {
                    "enable": true,
                    "mandatory": false,
                    "proxyAddresses": [
                        "::ffff:192.[SNIP].6",
                        "::ffff:10.[SNIP].72"
                    ]
                },
                "tls": true,
                "tlsPfxFile": "/app/crt.pfx",
                "tlsPfxPassword": "[SNIP]",
                "varDiff": {
                    "maxDiff": null,
                    "minDiff": 1000,
                    "retargetTime": 90,
                    "targetTime": 15,
                    "variancePercent": 30
                }
            },
            "5101": {
                "difficulty": 500000,
                "listenAddress": "0.0.0.0",
                "name": "Nicehash",
                "tcpProxyProtocol": {
                    "enable": true,
                    "mandatory": false,
                    "proxyAddresses": [
                        "::ffff:192.[SNIP].6",
                        "::ffff:192.[SNIP].72"
                    ]
                },
                "tls": true,
                "tlsPfxFile": "/app/crt.pfx",
                "tlsPfxPassword": "[SNIP]",
                "varDiff": null
            }
        },
        "randomXRealm": "xmr1",
        "randomXVmCount": 1,
        "randomxXFlagsAdd": "RANDOMX_FLAG_FULL_MEM",
        "rewardRecipients": [
            {
                "address": "4Asj[SNIP]DFwn",
                "percentage": 1
            }
        ]
    },

ei8ht187 avatar Feb 25 '22 21:02 ei8ht187

What error message do you get from the pool verification tool?

seperatis avatar Mar 06 '22 11:03 seperatis

Not much information, basically only "unknown message...error" Bildschirmfoto vom 2022-03-07 08-28-55

ei8ht187 avatar Mar 07 '22 07:03 ei8ht187

Would be helpful to see some pool logs showing the pool side of things.

oliverw avatar Mar 07 '22 17:03 oliverw

Would be helpful to see some pool logs showing the pool side of things.

Erm, they are given in the screenshot part of your template: Screenshots [2022-02-25 21:27:14.1128] [I] [xmr1] [0HMFOKM7SGDD1] Accepting connection from ::ffff:35.[SNIP].215:31774 ... [2022-02-25 21:27:14.1131] [I] [xmr1] [0HMFOKM7SGDD1] Connection from ::ffff:35.[SNIP].215:31774 accepted on port 4101 [2022-02-25 21:27:14.1131] [D] [xmr1] [0HMFOKM7SGDD1] [NET] Waiting for data ... [2022-02-25 21:27:14.1131] [D] [xmr1] [0HMFOKM7SGDD1] [NET] Received data: {"id":1,"method":"login","params":{"login":"41pj[SNIP]cgKq","pass":"","agent":"NiceHash/1.0.0"}} [2022-02-25 21:27:14.1131] [D] [xmr1] [0HMFOKM7SGDD1] [NET] Waiting for data ... [2022-02-25 21:27:14.1131] [D] [xmr1] [0HMFOKM7SGDD1] [PIPE] Waiting for data ... [2022-02-25 21:27:14.1131] [D] [xmr1] [0HMFOKM7SGDD1] [PIPE] Received data: {"id":1,"method":"login","params":{"login":"41pj[SNIP]cgKq","pass":"","agent":"NiceHash/1.0.0"}} [2022-02-25 21:27:14.1131] [D] [xmr1] [0HMFOKM7SGDD1] Dispatching request 'login' [1] [2022-02-25 21:27:14.1556] [I] [xmr1] [0HMFOKM7SGDD1] Authorized miner 41pj[SNIP]cgKq [2022-02-25 21:27:14.1556] [D] [xmr1] [0HMFOKM7SGDD1] [PIPE] Waiting for data ... [2022-02-25 21:27:14.1616] [D] [xmr1] [0HMFOKM7SGDD1] Sending: {"result":{"id":"0HMFOKM7SGDD1","job":{"job_id":"1","blob":"0e0ea193e59006bb84ead6fcedc8049fa050894e48f0aa96bec85e27f0a012ffea711c5f3cd85a00000000cef6e34df34899236cc70251dfc2759265e2ad6f444931fcb8d8b6e0d81b235c16","target":"8d210000","seed_hash":"9da9e9b13f7c379833b2758bfc397fa0eecfc3a61f199bdbceff8c6a775ecc1a","algo":"rx/0","height":2567432},"status":"OK"},"id":1} [2022-02-25 21:27:44.1137] [D] [xmr1] [0HMFOKM7SGDD1] [PIPE] Received data: [2022-02-25 21:27:44.1137] [I] [xmr1] [0HMFOKM7SGDD1] Connection closed

ei8ht187 avatar Apr 04 '22 09:04 ei8ht187

Will this be fixed at all?

ei8ht187 avatar Aug 15 '22 16:08 ei8ht187

@ei8ht187

What did you set the difficulty to in your config? For Nicehash it must be set to 262144 or higher for difficulty and minDiff

seperatis avatar Aug 21 '22 14:08 seperatis

minDiff was set to 25000, difficulty itself to 500000. Since the hardfork with Monero 0.18.1.0 there is another problem. No miner can connect at all... Don't have a testenvironment ready at the moment, so can't do debug or trace logs. Maybe someone else can help with that or share a working configuration

ei8ht187 avatar Aug 21 '22 14:08 ei8ht187

@ei8ht187

Like I said, minDiff must be set to 262144 or higher. This is according to Nicehash's Pool Operator Guidelines. The minDiff is a Requirement for compatibility with Nicehash, it is not a recommendation. If you do not set it as they specify, the Pool Verification tool will not work.

So please try setting the minDiff to their specification of at least 262144 or higher & report back.

seperatis avatar Aug 22 '22 14:08 seperatis

@ei8ht187

Like I said, minDiff must be set to 262144 or higher. This is according to Nicehash's Pool Operator Guidelines. The minDiff is a Requirement for compatibility with Nicehash, it is not a recommendation. If you do not set it as they specify, the Pool Verification tool will not work.

So please try setting the minDiff to their specification of at least 262144 or higher & report back.

At the moment, my problem is not nicehash. This will reoccur when XMR works again at all. Then I am really willing to test the proposed setting from you with minDiff higher than 262144, even I don't think this is the problem, because the connection attempt, as shown in the screenshot, fails before the difficultychek. But at the moment it will be completely senseless. For me, even on a completely new installation doesn't work. I can't get XMRig to connect to a XMR Stratum proxy. It just closes the connection. This behaviour is since Monero Version 0.18.1.0, the one with the hardfork.

A tracelog from a testinstallation on my local PC with two polls from the monero RPC and a connection attempt in the middle, looks as following. I used XMRig v6.18.0 for this:

minerd-miningcore-1  | [2022-08-22 16:09:20.9801] [D] [xmr1] Template update 2695254 [POLL] 
minerd-miningcore-1  | [2022-08-22 16:09:21.2061] [T] [xmr1] Sending RPC request to http://moneronode:18081/json_rpc: {"jsonrpc":"2.0","method":"getblocktemplate","params":{"wallet_address":"44[SNIP]EmAk","reserve_size":9},"id":"1661184564"} 
minerd-miningcore-1  | [2022-08-22 16:09:21.2302] [T] [xmr1] Received RPC response: {
minerd-miningcore-1  |   "id": "1661184564",
minerd-miningcore-1  |   "jsonrpc": "2.0",
minerd-miningcore-1  |   "result": {
minerd-miningcore-1  |     "blockhashing_blob": "1010b1d48e9806ad6fdad22ebf75e6a93872763dc06fed672903887bc5096239d7f3c8ff13d2a8000000001cbf5f2ebca632d3ca88594c027280803461f1e8daa45020ec54c1baae2479da4b",
minerd-miningcore-1  |     "blocktemplate_blob": "1010b1d48e9806ad6fdad22ebf75e6a93872763dc06fed672903887bc5096239d7f3c8ff13d2a8000000000292c1a40101ffd6c0a4010180ebe6d3f711038fec65b8d67f15e1c02bbf2bc833ec34352dcf687350a0479125a0cc476bdf26942c01265c4c4926dc9eb346a66ce24378feb68549cfb5109d48fccd025e76e97c530b0209000000000000000000004a2f44c4408604ad5f6c966f88709f8e78d73587de8caca138ef89962d62aa98eb185f1fe15cf6b89a6865e0e9d763ed711c6425bf9497dec453ccc91ea26f539433b93ee1351fa5a7eb35c04045a149c7424b17736a3e2f8f57d66ec7b808f59e133ef78b463f398d4353162735cea226f75197d35e14a4219414355730ba080ccc378b6507fe63d7529c8878e175ecae52e5234d7c24eb7000b137c728e57d1699373c470cd0563918d343baf05630d566673b738a91582f711f9c6f980964ce3eb90d742382468e6a7a051465e464a98a3880933b7a0639e75303c5cd1391b9395449c43661429e342384bab6bc84c6e080d1fa591e813eae1386090f8ae32b35815a2e3c5ceb392ed28ba8bbfc766d4811f7aaf329bf321215e5f3c3d2905fbf888763285261af5d9d14f8c49a390c293cbc59953cb5d0450c44d637a1c0a383a497d58988bc9a0c7ecc6eb74977f12636459954f30c7f5c4c84dac85eb5eeb7c8814191939fc8c3b6d0c1ecb0574830f210ad95fb7c6e2c8bbc6537c863ed72464aff8bbfce7c50934e5eef06a6a08fcbce8c11913daeed435ab12bf3dcce81f4088253eab2995d391f4a67ed47b0e8ee6a7534223e6007e3366c3f59648ea66e6e54fdbc4db4b6361d8fe9a1101c1819cd873a64cae24aeaee2c48b44cec7f1a6b5c34b98002b537764e0516162b7cda7e66337d149b3c0a7e3515b1410095394e8bd812bf957ddda2a68f39c1cfae61b9fe14d1fb29a1efab9f3a0446660a11b3602b07f2c08502cf81ffabe76100d5f648bc885ead8f16250de6aa3bf8b6e2989a1b9c7e812e5d62d5f2afcac9a0ff753125ddd851393466e76d90bbffcb21f68cd1febc77747b76d119af92bd7c44468c5a5105f99002e507ede6777f51607efd985c151778a8698a00f4b8961e25ed70cfb6fad765bad28e7d28364eca6f74d8d86f817d2a6db4dd337acb931f2b33e498bf5dc27da0deb87e0b7c1a9d1eb23daf2e8cfb273927ea7d8f1140bcbd11c3b477ba9d3200cd1b6dd1574f9b3f5af354a6f3e8d87a6e5867ecdada6b3af062d77c17c069a5bbd12ea46a851d92515d37a87dc3abc4d8a7fc6411bbc2803e86dec9deff5dab647bcf91332b4a0dd63ebd8d029feb37b9003293493782eb9099a3ae47e1d5a4e11b92d9bff89000a797d5721393c477eb63122a5fa688ac9d257e14576bf6a5a8de43802865b75356c7ea62c80954139f02853e1eff4105ab0f8775c403669c56a16aa4c8f00d3f475764eb9e42fd912bf66b7231eda8562cc0684d255fb49cd966ae6bb8a824bce24154e8ccb3d8948330659c43d16f53bb31cd7a56fb992d738c458e47621c5f67c6de3df6bfa8320cd1077b3809d29ec800b9d5b97a82722558b10651dc2b66adfee3649c012f3fed9916fe8cdf6f186f7e96ce8298b6ccd40f31ed57e3a22848b644722729cd6350af7cea8b34b66d5e4c30ffe4049b4887940fc786bb815ffedb85bdedebd919c359447aeb4ffdbd6eed18d8df6511e863555b3f0c488b99bd9fc20382d5fafab471c0445a3e2f0f2fc3a0a8ff454db4481f65718fea749c12d83f17a8e57bdb1decf30f70f0af6b660e3a850b0f93cc2c9d97cd760272131102e804c955fb0cfd8fb5aa415d0fe805dd9b7c24ea26433ca478c56e9f49d4c156b91ff784199579fcc34745d5eab452e29618ccfb779f5fc07a1494e1105d4f27cdad283a680314c590d277edd353207f1834c77f184e2f5e8d5d02d9693397960ae30ded5113a36750b4f94a404d02a0b2722f9e13e224e5c717c51f390c71f704fd06592fd4208a67b1e2a5be6bb4f0f6c3583718d8a58b1ef283780505b105baf51c8b797705a877e40a6664e07c4234ccddde27bbce5ffd7cbc9dcf436bbffb739206c79bd9fffd0fa4a2ae865b9f1f9d02931309fe58e6c5480a1e034b61ce84151f0f373bdbfdc092cd2471b39e090e1010a95388630767948038db69f5d0e03d4df3d3897daf957c2ddd01639e197a0089bce24f936c98d9392619600fbf9c79197812a8e8f6e79234070a1d456ba384f50d6ab80a2174e5cd20079b50b6b8f9e0afaefbfad714628d2ac1c0bff91cce40ec0c759384bbcd54ea3e167fff59e540e42091e8182bd5d954ea41c69556461f0f4b4d30a25823d882df94cf4d6fabf2832edf8f34205706077b04de410c9460ef68324448c004b124353d3156169f8f85ea0e68c8ac42a421c6a893900ff9b0f89ca8a42bec51ef2ca7547f15141c85e9af17890cdcc0c14fdd9e7eefea64a72d4ee3ddcc52c2a849136c07cba4503c562371771c81fe2812fccec43318c638c349dbf715f673ffba27d8240ae3fe98fbafae3fe7184a57a93e62a007ad2e19a83843ad4ccd5e659001ce783db7be77955e8f66c099faa89b23fb23bdde83bd2f537d82d23ad19decc08c1a8687ab0bca7e7cfce8e81fbb68e51a03ff1378c910d9a422c76eabb25239b7ae66b1dd549cb9b42f22ff6237c4dcafac613eabb6345e6526062be4f852f73f2bcb7b892edc543713e282876b674be152b41a41633a2401f72c4fbfedd8225fd06ccefca11385eae7ca0aca83bb71b0cebc5eb99e12701203dd1631c2b5ae067c2eb59e3dc023df279961a7302e5aa6c66a4f8c75289743322aca498eb491e22c7fd3d21e7a799d31fcd54b6280210a666ce16d993ad50cb8cc93859c9124f81e110c82bb467479faa71a3c2456235d6dbd2f57378df939381b99929dd18b355e9ffd5b95d861844c37877e37493383a267e7a6d886df800da665a27e7045b989ba6d90c7b9308de7228764ce5d9fa77137d23f22f75b093be17cc534ef42c4fba26b3b9ded02be165a2e26a8882c0a200b985b04330b93ef372841bad8cc0c0f999e73abbe8125b1e67c539e59828dc0f766821f632428f402b576172e8a5c5eeb4d0f58cfd5ab402827247002f8734cfb32ff64de00e00e7e6c57c29f5d09df7e730cdf0367a83813c260e79b022c5ccfbeae3234b9dd9ffea8fa49c6b951d1b1c3955b613642f80d3bb936048e42ada9a3977a9783c406d4693aa8c7d380a3dcb8f2218245c6b59f4aaa4220a99347804e9747d4fe8e5c19860da57913983de0cbc07cddddcb378e015653af761cf84e18c2ea10050309b4ac9fbd47d273e2423150243ca948110ed13d5ec553eb3e87a99009826b6b542ad172c4b1013ef4847b390a33cb263d352fe40101126251a8c840744c90503b5338e33317dd6c8909e6ebea6959c8c03d5cd1e4e52fba3a151c7050d4cc9a4245da1faf40e70b97b4b09495a839134e0994233473a8292f33e83d6e6b7c751f40c3fec5",
minerd-miningcore-1  |     "difficulty": 299781277459,
minerd-miningcore-1  |     "difficulty_top64": 0,
minerd-miningcore-1  |     "expected_reward": 616235120000,
minerd-miningcore-1  |     "height": 2695254,
minerd-miningcore-1  |     "next_seed_hash": "",
minerd-miningcore-1  |     "prev_hash": "ad6fdad22ebf75e6a93872763dc06fed672903887bc5096239d7f3c8ff13d2a8",
minerd-miningcore-1  |     "reserved_offset": 131,
minerd-miningcore-1  |     "seed_hash": "27c1ab0d6a5361b3d5fa5474ec5def027e9122fad4fe76a1d2a915527ec4d14c",
minerd-miningcore-1  |     "seed_height": 2695168,
minerd-miningcore-1  |     "status": "OK",
minerd-miningcore-1  |     "untrusted": false,
minerd-miningcore-1  |     "wide_difficulty": "0x45cc5b4713"
minerd-miningcore-1  |   }
minerd-miningcore-1  | } 
minerd-miningcore-1  | [2022-08-22 16:09:21.2302] [D] [xmr1] Template update 2695254 [POLL] 
**minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [I] [xmr1] [0HMK4B2FM17DP] Accepting connection from ::ffff:10.10.1.108:57400 ... 
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [I] [xmr1] [0HMK4B2FM17DP] Connection from ::ffff:10.10.1.108:57400 accepted on port 4100 
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [D] [xmr1] [0HMK4B2FM17DP] [NET] Waiting for data ... 
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [D] [xmr1] [0HMK4B2FM17DP] [NET] Received data: {"id":1,"jsonrpc":"2.0","method":"login","params":{"login":"41[SNIP]cgKq","pass":"x","agent":"XMRig/6.18.0 (Linux x86_64) libuv/1.44.2 gcc/12.1.0","algo":["cn/1","cn/2","cn/r","cn/fast","cn/half","cn/xao","cn/rto","cn/rwz","cn/zls","cn/double","cn/ccx","cn-lite/1","cn-heavy/0","cn-heavy/tube","cn-heavy/xhv","cn-pico","cn-pico/tlo","cn/upx2","rx/0","rx/wow","rx/arq","rx/graft","rx/sfx","rx/keva","argon2/chukwa","argon2/chukwav2","argon2/ninja","ghostrider"]}}
minerd-miningcore-1  |  
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [D] [xmr1] [0HMK4B2FM17DP] [NET] Waiting for data ... 
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [D] [xmr1] [0HMK4B2FM17DP] [PIPE] Waiting for data ... 
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [D] [xmr1] [0HMK4B2FM17DP] [PIPE] Received data: {"id":1,"jsonrpc":"2.0","method":"login","params":{"login":"41[SNIP]cgKq","pass":"x","agent":"XMRig/6.18.0 (Linux x86_64) libuv/1.44.2 gcc/12.1.0","algo":["cn/1","cn/2","cn/r","cn/fast","cn/half","cn/xao","cn/rto","cn/rwz","cn/zls","cn/double","cn/ccx","cn-lite/1","cn-heavy/0","cn-heavy/tube","cn-heavy/xhv","cn-pico","cn-pico/tlo","cn/upx2","rx/0","rx/wow","rx/arq","rx/graft","rx/sfx","rx/keva","argon2/chukwa","argon2/chukwav2","argon2/ninja","ghostrider"]}}
minerd-miningcore-1  |  
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [D] [xmr1] [0HMK4B2FM17DP] Dispatching request 'login' [1] 
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [I] [xmr1] [0HMK4B2FM17DP] Authorized miner 41[SNIP]cgKq 
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [D] [xmr1] [0HMK4B2FM17DP] [PIPE] Waiting for data ... 
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [D] [xmr1] [0HMK4B2FM17DP] Sending: {"result":{"id":"0HMK4B2FM17DP","job":null,"status":"OK"},"id":1} 
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [D] [xmr1] [0HMK4B2FM17DP] [PIPE] Received data:  
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [D] [xmr1] [0HMK4B2FM17DP] Received EOF 
minerd-miningcore-1  | [2022-08-22 16:09:21.2389] [I] [xmr1] [0HMK4B2FM17DP] Connection closed** 
minerd-miningcore-1  | [2022-08-22 16:09:21.4567] [T] [xmr1] Sending RPC request to http://moneronode:18081/json_rpc: {"jsonrpc":"2.0","method":"getblocktemplate","params":{"wallet_address":"44h[SNIP]mAk","reserve_size":9},"id":"1661184567"} 
minerd-miningcore-1  | [2022-08-22 16:09:21.4815] [T] [xmr1] Received RPC response: {
minerd-miningcore-1  |   "id": "1661184567",
minerd-miningcore-1  |   "jsonrpc": "2.0",
minerd-miningcore-1  |   "result": {
minerd-miningcore-1  |     "blockhashing_blob": "1010b1d48e9806ad6fdad22ebf75e6a93872763dc06fed672903887bc5096239d7f3c8ff13d2a8000000001cbf5f2ebca632d3ca88594c027280803461f1e8daa45020ec54c1baae2479da4b",
minerd-miningcore-1  |     "blocktemplate_blob": "1010b1d48e9806ad6fdad22ebf75e6a93872763dc06fed672903887bc5096239d7f3c8ff13d2a8000000000292c1a40101ffd6c0a4010180ebe6d3f711038fec65b8d67f15e1c02bbf2bc833ec34352dcf687350a0479125a0cc476bdf26942c01265c4c4926dc9eb346a66ce24378feb68549cfb5109d48fccd025e76e97c530b0209000000000000000000004a2f44c4408604ad5f6c966f88709f8e78d73587de8caca138ef89962d62aa98eb185f1fe15cf6b89a6865e0e9d763ed711c6425bf9497dec453ccc91ea26f539433b93ee1351fa5a7eb35c04045a149c7424b17736a3e2f8f57d66ec7b808f59e133ef78b463f398d4353162735cea226f75197d35e14a4219414355730ba080ccc378b6507fe63d7529c8878e175ecae52e5234d7c24eb7000b137c728e57d1699373c470cd0563918d343baf05630d566673b738a91582f711f9c6f980964ce3eb90d742382468e6a7a051465e464a98a3880933b7a0639e75303c5cd1391b9395449c43661429e342384bab6bc84c6e080d1fa591e813eae1386090f8ae32b35815a2e3c5ceb392ed28ba8bbfc766d4811f7aaf329bf321215e5f3c3d2905fbf888763285261af5d9d14f8c49a390c293cbc59953cb5d0450c44d637a1c0a383a497d58988bc9a0c7ecc6eb74977f12636459954f30c7f5c4c84dac85eb5eeb7c8814191939fc8c3b6d0c1ecb0574830f210ad95fb7c6e2c8bbc6537c863ed72464aff8bbfce7c50934e5eef06a6a08fcbce8c11913daeed435ab12bf3dcce81f4088253eab2995d391f4a67ed47b0e8ee6a7534223e6007e3366c3f59648ea66e6e54fdbc4db4b6361d8fe9a1101c1819cd873a64cae24aeaee2c48b44cec7f1a6b5c34b98002b537764e0516162b7cda7e66337d149b3c0a7e3515b1410095394e8bd812bf957ddda2a68f39c1cfae61b9fe14d1fb29a1efab9f3a0446660a11b3602b07f2c08502cf81ffabe76100d5f648bc885ead8f16250de6aa3bf8b6e2989a1b9c7e812e5d62d5f2afcac9a0ff753125ddd851393466e76d90bbffcb21f68cd1febc77747b76d119af92bd7c44468c5a5105f99002e507ede6777f51607efd985c151778a8698a00f4b8961e25ed70cfb6fad765bad28e7d28364eca6f74d8d86f817d2a6db4dd337acb931f2b33e498bf5dc27da0deb87e0b7c1a9d1eb23daf2e8cfb273927ea7d8f1140bcbd11c3b477ba9d3200cd1b6dd1574f9b3f5af354a6f3e8d87a6e5867ecdada6b3af062d77c17c069a5bbd12ea46a851d92515d37a87dc3abc4d8a7fc6411bbc2803e86dec9deff5dab647bcf91332b4a0dd63ebd8d029feb37b9003293493782eb9099a3ae47e1d5a4e11b92d9bff89000a797d5721393c477eb63122a5fa688ac9d257e14576bf6a5a8de43802865b75356c7ea62c80954139f02853e1eff4105ab0f8775c403669c56a16aa4c8f00d3f475764eb9e42fd912bf66b7231eda8562cc0684d255fb49cd966ae6bb8a824bce24154e8ccb3d8948330659c43d16f53bb31cd7a56fb992d738c458e47621c5f67c6de3df6bfa8320cd1077b3809d29ec800b9d5b97a82722558b10651dc2b66adfee3649c012f3fed9916fe8cdf6f186f7e96ce8298b6ccd40f31ed57e3a22848b644722729cd6350af7cea8b34b66d5e4c30ffe4049b4887940fc786bb815ffedb85bdedebd919c359447aeb4ffdbd6eed18d8df6511e863555b3f0c488b99bd9fc20382d5fafab471c0445a3e2f0f2fc3a0a8ff454db4481f65718fea749c12d83f17a8e57bdb1decf30f70f0af6b660e3a850b0f93cc2c9d97cd760272131102e804c955fb0cfd8fb5aa415d0fe805dd9b7c24ea26433ca478c56e9f49d4c156b91ff784199579fcc34745d5eab452e29618ccfb779f5fc07a1494e1105d4f27cdad283a680314c590d277edd353207f1834c77f184e2f5e8d5d02d9693397960ae30ded5113a36750b4f94a404d02a0b2722f9e13e224e5c717c51f390c71f704fd06592fd4208a67b1e2a5be6bb4f0f6c3583718d8a58b1ef283780505b105baf51c8b797705a877e40a6664e07c4234ccddde27bbce5ffd7cbc9dcf436bbffb739206c79bd9fffd0fa4a2ae865b9f1f9d02931309fe58e6c5480a1e034b61ce84151f0f373bdbfdc092cd2471b39e090e1010a95388630767948038db69f5d0e03d4df3d3897daf957c2ddd01639e197a0089bce24f936c98d9392619600fbf9c79197812a8e8f6e79234070a1d456ba384f50d6ab80a2174e5cd20079b50b6b8f9e0afaefbfad714628d2ac1c0bff91cce40ec0c759384bbcd54ea3e167fff59e540e42091e8182bd5d954ea41c69556461f0f4b4d30a25823d882df94cf4d6fabf2832edf8f34205706077b04de410c9460ef68324448c004b124353d3156169f8f85ea0e68c8ac42a421c6a893900ff9b0f89ca8a42bec51ef2ca7547f15141c85e9af17890cdcc0c14fdd9e7eefea64a72d4ee3ddcc52c2a849136c07cba4503c562371771c81fe2812fccec43318c638c349dbf715f673ffba27d8240ae3fe98fbafae3fe7184a57a93e62a007ad2e19a83843ad4ccd5e659001ce783db7be77955e8f66c099faa89b23fb23bdde83bd2f537d82d23ad19decc08c1a8687ab0bca7e7cfce8e81fbb68e51a03ff1378c910d9a422c76eabb25239b7ae66b1dd549cb9b42f22ff6237c4dcafac613eabb6345e6526062be4f852f73f2bcb7b892edc543713e282876b674be152b41a41633a2401f72c4fbfedd8225fd06ccefca11385eae7ca0aca83bb71b0cebc5eb99e12701203dd1631c2b5ae067c2eb59e3dc023df279961a7302e5aa6c66a4f8c75289743322aca498eb491e22c7fd3d21e7a799d31fcd54b6280210a666ce16d993ad50cb8cc93859c9124f81e110c82bb467479faa71a3c2456235d6dbd2f57378df939381b99929dd18b355e9ffd5b95d861844c37877e37493383a267e7a6d886df800da665a27e7045b989ba6d90c7b9308de7228764ce5d9fa77137d23f22f75b093be17cc534ef42c4fba26b3b9ded02be165a2e26a8882c0a200b985b04330b93ef372841bad8cc0c0f999e73abbe8125b1e67c539e59828dc0f766821f632428f402b576172e8a5c5eeb4d0f58cfd5ab402827247002f8734cfb32ff64de00e00e7e6c57c29f5d09df7e730cdf0367a83813c260e79b022c5ccfbeae3234b9dd9ffea8fa49c6b951d1b1c3955b613642f80d3bb936048e42ada9a3977a9783c406d4693aa8c7d380a3dcb8f2218245c6b59f4aaa4220a99347804e9747d4fe8e5c19860da57913983de0cbc07cddddcb378e015653af761cf84e18c2ea10050309b4ac9fbd47d273e2423150243ca948110ed13d5ec553eb3e87a99009826b6b542ad172c4b1013ef4847b390a33cb263d352fe40101126251a8c840744c90503b5338e33317dd6c8909e6ebea6959c8c03d5cd1e4e52fba3a151c7050d4cc9a4245da1faf40e70b97b4b09495a839134e0994233473a8292f33e83d6e6b7c751f40c3fec5",
minerd-miningcore-1  |     "difficulty": 299781277459,
minerd-miningcore-1  |     "difficulty_top64": 0,
minerd-miningcore-1  |     "expected_reward": 616235120000,
minerd-miningcore-1  |     "height": 2695254,
minerd-miningcore-1  |     "next_seed_hash": "",
minerd-miningcore-1  |     "prev_hash": "ad6fdad22ebf75e6a93872763dc06fed672903887bc5096239d7f3c8ff13d2a8",
minerd-miningcore-1  |     "reserved_offset": 131,
minerd-miningcore-1  |     "seed_hash": "27c1ab0d6a5361b3d5fa5474ec5def027e9122fad4fe76a1d2a915527ec4d14c",
minerd-miningcore-1  |     "seed_height": 2695168,
minerd-miningcore-1  |     "status": "OK",
minerd-miningcore-1  |     "untrusted": false,
minerd-miningcore-1  |     "wide_difficulty": "0x45cc5b4713"
minerd-miningcore-1  |   }
minerd-miningcore-1  | } 

Maybe @oliverw this is helpful for you.

ei8ht187 avatar Aug 22 '22 16:08 ei8ht187

Well then you shouldn't have opened an Issue with the Title "XMR Poolverficator from Nicehash fails" b/c when you do that, it makes it sound a whole lot like your issue is with Nicehash Pool Verification.

Your complaint has now changed to "I can't get XMR pool to work at all"? Right?

seperatis avatar Aug 22 '22 16:08 seperatis

@oliverw Do we know if MC is currently compatible with the recent Monero hard fork on 13th August, 2022? That would be Monero v0.18.1.0

seperatis avatar Aug 22 '22 16:08 seperatis

Well then you shouldn't have opened an Issue with the Title "XMR Poolverficator from Nicehash fails" b/c when you do that, it makes it sound a whole lot like your issue is with Nicehash Pool Verification.

Take a look at the age of this issue (opened in April 2022). Then look again when Monero 0.18.1.0 was released (August 2022). Back then when I opend this issue, it was a problem with nicehash. Now the problem has shifted. I could opt to open a new issue or use this one, as I have the feeling that this two problems are somehow related.

Also, I mentioned in my reply yesterday https://github.com/oliverw/miningcore/issues/1175#issuecomment-1221556914 that the problem has shifted.

Your complaint has now changed to "I can't get XMR pool to work at all"? Right?

Totally agree to this.

ei8ht187 avatar Aug 22 '22 17:08 ei8ht187

@ei8ht187

Did you get XMR working?

I'm trying to discern whether you have a config issue or it's some issue being caused from the Monero hard fork on 13th August, 2022.

seperatis avatar Sep 11 '22 20:09 seperatis

@oliverw Do we know if MC is currently compatible with the recent Monero hard fork on 13th August, 2022? That would be Monero v0.18.1.0

I had a conversation with another dev that mentioned that something needs to be changed for the hardfork but he didn't go into specifics. Would love to hear opinions on the current state of XMR in MC.

oliverw avatar Sep 11 '22 20:09 oliverw

@oliverw I'll try to spin up a test installation over the weekend....if I have time :-)

seperatis avatar Sep 11 '22 20:09 seperatis

Did you get XMR working?

I'm trying to discern whether you have a config issue or it's some issue being caused from the Monero hard fork on 13th August, 2022.

Hello, no I didn't. I also spun a testenvironment, local, used our production node. Unable to connect. Connection to the XMR pool were possible, except for Nicehash (remember, the origin of the ticket?) before the hardfork. After hardfork, same config, no adjustments, nothing, and none was able to connect to our XMR pool.

I am really asking myself what the problem could be... the config or the hardfork...

All logs I was able to produce are within this thread.

ei8ht187 avatar Sep 12 '22 11:09 ei8ht187

I had a conversation with another dev that mentioned that something needs to be changed for the hardfork but he didn't go into specifics. Would love to hear opinions on the current state of XMR in MC.

Unable to connect, logs provided 21 days ago, in this thread...

ei8ht187 avatar Sep 12 '22 11:09 ei8ht187

@ei8ht187 Just to be clear, you ran these tests with Monero v0.18.1.0, correct?

seperatis avatar Sep 12 '22 19:09 seperatis

@ei8ht187 Just to be clear, you ran these tests with Monero v0.18.1.0, correct?

Sure I made them with Monero 0.18.1.0. I am really asking myself if you read and understand my posts. Also, please see discussion #1381, I'm not the only one with this problem.

ei8ht187 avatar Sep 12 '22 20:09 ei8ht187

Might want to retest with dev branch.

oliverw avatar Sep 18 '22 14:09 oliverw

Please report back if the problem persists.

oliverw avatar Sep 19 '22 10:09 oliverw

Will do, just bit busy this week. Hope I can test till friday

ei8ht187 avatar Sep 20 '22 21:09 ei8ht187

Please report back if the problem persists.

Connection with "old" Monero addresses startinmg with 4... work again. Many thanks! However, Monero has addresses starting with 8. They get banned:

minerd-miningcore-1  | [2022-09-26 10:08:41.0152] [D] [xmr1] [0HMKVKSB5U4UH] [NET] Received data: {"id":1,"jsonrpc":"2.0","method":"login","params":{"login":"84k5FLcuZeQ9vUmTfRJkpxCxdppVF5wWdPpxhU4SdTZmAD1i1YH81rPf8XRAsbpc7Na4GG7A8xscjQbqMETLZCXZ7Cdfb7X","pass":"x","agent":"XMRig/6.18.0 (Linux x86_64) libuv/1.44.2 gcc/12.1.0","algo":["cn/1","cn/2","cn/r","cn/fast","cn/half","cn/xao","cn/rto","cn/rwz","cn/zls","cn/double","cn/ccx","cn-lite/1","cn-heavy/0","cn-heavy/tube","cn-heavy/xhv","cn-pico","cn-pico/tlo","cn/upx2","rx/0","rx/wow","rx/arq","rx/graft","rx/sfx","rx/keva","argon2/chukwa","argon2/chukwav2","argon2/ninja","ghostrider"]}}
minerd-miningcore-1  | [2022-09-26 10:08:41.0218] [D] [xmr1] [0HMKVKSB5U4UH] [PIPE] Received data: {"id":1,"jsonrpc":"2.0","method":"login","params":{"login":"84k5FLcuZeQ9vUmTfRJkpxCxdppVF5wWdPpxhU4SdTZmAD1i1YH81rPf8XRAsbpc7Na4GG7A8xscjQbqMETLZCXZ7Cdfb7X","pass":"x","agent":"XMRig/6.18.0 (Linux x86_64) libuv/1.44.2 gcc/12.1.0","algo":["cn/1","cn/2","cn/r","cn/fast","cn/half","cn/xao","cn/rto","cn/rwz","cn/zls","cn/double","cn/ccx","cn-lite/1","cn-heavy/0","cn-heavy/tube","cn-heavy/xhv","cn-pico","cn-pico/tlo","cn/upx2","rx/0","rx/wow","rx/arq","rx/graft","rx/sfx","rx/keva","argon2/chukwa","argon2/chukwav2","argon2/ninja","ghostrider"]}}
minerd-miningcore-1  | [2022-09-26 10:08:41.0379] [I] [xmr1] [0HMKVKSB5U4UH] Banning unauthorized worker 84k5FLcuZeQ9vUmTfRJkpxCxdppVF5wWdPpxhU4SdTZmAD1i1YH81rPf8XRAsbpc7Na4GG7A8xscjQbqMETLZCXZ7Cdfb7X for 10 sec 
minerd-miningcore-1  | [2022-09-26 10:08:47.0054] [D] [xmr1] [0HMKVKSB5U4UI] [NET] Received data: {"id":1,"jsonrpc":"2.0","method":"login","params":{"login":"84k5FLcuZeQ9vUmTfRJkpxCxdppVF5wWdPpxhU4SdTZmAD1i1YH81rPf8XRAsbpc7Na4GG7A8xscjQbqMETLZCXZ7Cdfb7X","pass":"x","agent":"XMRig/6.18.0 (Linux x86_64) libuv/1.44.2 gcc/12.1.0","algo":["cn/1","cn/2","cn/r","cn/fast","cn/half","cn/xao","cn/rto","cn/rwz","cn/zls","cn/double","cn/ccx","cn-lite/1","cn-heavy/0","cn-heavy/tube","cn-heavy/xhv","cn-pico","cn-pico/tlo","cn/upx2","rx/0","rx/wow","rx/arq","rx/graft","rx/sfx","rx/keva","argon2/chukwa","argon2/chukwav2","argon2/ninja","ghostrider"]}}
minerd-miningcore-1  | [2022-09-26 10:08:47.0065] [D] [xmr1] [0HMKVKSB5U4UI] [PIPE] Received data: {"id":1,"jsonrpc":"2.0","method":"login","params":{"login":"84k5FLcuZeQ9vUmTfRJkpxCxdppVF5wWdPpxhU4SdTZmAD1i1YH81rPf8XRAsbpc7Na4GG7A8xscjQbqMETLZCXZ7Cdfb7X","pass":"x","agent":"XMRig/6.18.0 (Linux x86_64) libuv/1.44.2 gcc/12.1.0","algo":["cn/1","cn/2","cn/r","cn/fast","cn/half","cn/xao","cn/rto","cn/rwz","cn/zls","cn/double","cn/ccx","cn-lite/1","cn-heavy/0","cn-heavy/tube","cn-heavy/xhv","cn-pico","cn-pico/tlo","cn/upx2","rx/0","rx/wow","rx/arq","rx/graft","rx/sfx","rx/keva","argon2/chukwa","argon2/chukwav2","argon2/ninja","ghostrider"]}}
minerd-miningcore-1  | [2022-09-26 10:08:47.0065] [I] [xmr1] [0HMKVKSB5U4UI] Banning unauthorized worker 84k5FLcuZeQ9vUmTfRJkpxCxdppVF5wWdPpxhU4SdTZmAD1i1YH81rPf8XRAsbpc7Na4GG7A8xscjQbqMETLZCXZ7Cdfb7X for 10 sec 

Didn't test Nicehash as this in on my local machine and not public accessible.

ei8ht187 avatar Sep 26 '22 10:09 ei8ht187

Could you give the latest dev branch a shot? Should be fixed now. Rather embarrassing that this was broken from basically day one 😞

oliverw avatar Sep 26 '22 11:09 oliverw

Done, works! Thanks a lot for your effort.

ei8ht187 avatar Sep 26 '22 12:09 ei8ht187