oliverw / miningcore

Miningcore is a high-performance Mining Pool Software for Linux and Windows.
https://store.miningcore.pro
MIT License
717 stars 659 forks source link

Monero doesn't work on Linux #1435

Closed lurchinms closed 1 year ago

lurchinms commented 1 year ago

Ubuntu 20.04

lurchinms commented 1 year ago

The CPU miner disconnects as soon as it logs on to the pool. No error, just closes the connection. Using Linux based XMRigs 6.18.0

./xmrig -a cryptonightR -o stratum+tcp://192.168.1.61:3033 -u 49eJkJiAXzcKvvpTRKb6ZXQZDfdv3ZDnA95t4GFKihJBhrHR96rVysK454eS29fJn7Hi7UD4h7UQRi42WxQA9ADb5VfnuZy -p x

[2022-09-27 21:21:11.7315] [I] [xmr] [0HML0UP796Q2E] Accepting connection from ::ffff:192.168.1.80:38884 ... [2022-09-27 21:21:11.7315] [I] [xmr] [0HML0UP796Q2E] Connection from ::ffff:192.168.1.80:38884 accepted on port 3033 [2022-09-27 21:21:11.7315] [I] [xmr] [0HML0UP796Q2E] Authorized miner 49eJkJiAXzcKvvpTRKb6ZXQZDfdv3ZDnA95t4GFKihJBhrHR96rVysK454eS29fJn7Hi7UD4h7UQRi42WxQA9ADb5VfnuZy [2022-09-27 21:21:11.7315] [I] [xmr] [0HML0UP796Q2E] Connection closed

oliverw commented 1 year ago

I strongly suspect MC crashing in native RandomX code because of invalid mc_randomx_flags_add value in the MC config or insufficient CPU extension support on the target hardware/VM.

snoby commented 1 year ago

Indeed, I found during the build system that some inlining was happening and actually the build failed. This only happened on a Xeon processor not an AMD 3900x

i commented out those libraries from being built as I'm not interested in xmrig, however from some googling it could be that the version of source code that was pulled in has this issue and an updated version may solve the problem.

For reference the cpu in question is : Intel(R) Xeon(R) CPU X5675

cc -DCPU_INTEL -g -std=gnu11 -fPIC -DNDEBUG -Ofast -fno-fast-math -w   -I. -Ixmrig/3rdparty/argon2/include -Ixmrig/3rdparty/argon2/lib -Ixmrig -Ixmrig-override   -c -o xmrig/3rdparty/libethash/keccakf800.o xmrig/3rdparty/libethash/keccakf800.c
In file included from /usr/lib/gcc/x86_64-linux-gnu/9/include/immintrin.h:51,
                 from /usr/lib/gcc/x86_64-linux-gnu/9/include/x86intrin.h:32,
                 from xmrig/crypto/cn/gpu/cn_gpu_avx.cpp:30:
/usr/lib/gcc/x86_64-linux-gnu/9/include/avxintrin.h: In function ‘void prep_dv_avx(__m256i*, __m256i&, __m256&)’:
/usr/lib/gcc/x86_64-linux-gnu/9/include/avxintrin.h:454:1: error: inlining failed in call to always_inline ‘__m256 _mm256_cvtepi32_ps(__m256i)’: target specific option mismatch
  454 | _mm256_cvtepi32_ps (__m256i __A)
      | ^~~~~~~~~~~~~~~~~~
xmrig/crypto/cn/gpu/cn_gpu_avx.cpp:45:29: note: called from here
   45 |     n01 = _mm256_cvtepi32_ps(v);
      |           ~~~~~~~~~~~~~~~~~~^~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/9/include/immintrin.h:51,
                 from /usr/lib/gcc/x86_64-linux-gnu/9/include/x86intrin.h:32,
                 from xmrig/crypto/cn/gpu/cn_gpu_avx.cpp:30:
/usr/lib/gcc/x86_64-linux-gnu/9/include/avxintrin.h:908:1: error: inlining failed in call to always_inline ‘__m256i _mm256_load_si256(const __m256i*)’: target specific option mismatch
  908 | _mm256_load_si256 (__m256i const *__P)
      | ^~~~~~~~~~~~~~~~~
xmrig/crypto/cn/gpu/cn_gpu_avx.cpp:44:26: note: called from here
   44 |     v = _mm256_load_si256(idx);
      |         ~~~~~~~~~~~~~~~~~^~~~~
make: *** [<builtin>: xmrig/crypto/cn/gpu/cn_gpu_avx.o] Error 1
oliverw commented 1 year ago

i commented out those libraries from being built as I'm not interested in xmrig, however from some googling it could be that the version of source code that was pulled in has this issue and an updated version may solve the problem.

Unfortunately, there is no updated version.

blackmennewstyle commented 1 year ago

I'm getting the same issue on GNU/Linux Debian 11.

Miningcore is running on a laptop with a AMD Ryzen 7 5800H:

[2022-11-06 00:08:35.3204] [I] [xmr1] [0HMLVHC63RM0R] Accepting connection from ::ffff:192.168.1.5:49060 ... 
[2022-11-06 00:08:35.3473] [I] [xmr1] [0HMLVHC63RM0R] TLS13-AES256 Connection from ::ffff:192.168.1.5:49060 accepted on port 3345 
[2022-11-06 00:08:35.3930] [I] [xmr1] [0HMLVHC63RM0R] Authorized miner 48W8eVd8EikDRWMgg7qePZgyrCu5hBhobNGkgor38vjxDC21ed7DuUQcDjwJurFWQeA722XTnfhv76Cpr4ECqHaFRoi7A9Q 
[2022-11-06 00:08:35.4398] [I] [xmr1] [0HMLVHC63RM0R] Connection closed

The other laptop where i'm trying to mine from is just displaying that error message Floating point exception

 * ABOUT        XMRig/6.18.1 gcc/5.4.0
 * LIBS         libuv/1.44.1 OpenSSL/1.1.1o hwloc/2.7.1
 * HUGE PAGES   supported
 * 1GB PAGES    supported
 * CPU          Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (1) 64-bit AES
                L2:1.0 MB L3:6.0 MB 4C/8T NUMA:1
 * MEMORY       3.0/15.5 GB (19%)
                DIMM_A0: 16 GB DDR4 @ 2400 MHz M471A2K43CB1-CRC    
                DIMM_B0: <empty>
 * MOTHERBOARD  Micro-Star International Co., Ltd. - MS-16JB
 * DONATE       1%
 * ASSEMBLY     intel
 * POOL #1      monero.cedric-crispin.local:3345 coin Monero
 * COMMANDS     hashrate, pause, resume, results, connection
 * HTTP API     192.168.1.5:3333 
 * OPENCL       disabled
 * CUDA         disabled

Floating point exception

I tried all the suggestions on the README.md but nothing changes. Miningcore won't let me mine.

oliverw commented 1 year ago

Interesting. Please post the log containing the floating point exception.

blackmennewstyle commented 1 year ago

Here all the information i could gather on both sides: Miningcore

[2022-11-06 00:30:58.5095] [I] [Core] Version 73.0.1.0-master [2311784f0eb5e5f6180a5ac12eec2c9a270f9ca5] 
[2022-11-06 00:30:58.5270] [I] [Core] Runtime .NET 6.0.10 on Linux 5.18.0-0.deb11.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1~bpo11+1 (2022-08-12) [X64] 
[2022-11-06 00:30:58.5351] [I] [Core] Prometheus Metrics API listening on http://0.0.0.0:4000/metrics 
[2022-11-06 00:30:58.5351] [I] [Core] WebSocket Events streaming on ws://0.0.0.0:4000/notifications 
[2022-11-06 00:30:58.7683] [D] [Core] Using postgres connection string: Server=127.0.0.1;Port=5432;Database=vertcoin_cedric_crispin_com;User Id=vertcoin_cedric_crispin_com;Password=RdP4b9jKhzgpkFbsW3hkjrCgT;CommandTimeout=300; 
[2022-11-06 00:30:59.2118] [I] [XmlKeyManager] User profile is available. Using '/home/ceedii/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest. 
[2022-11-06 00:30:59.2220] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.AdminNotification: 
[2022-11-06 00:30:59.2340] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockFoundNotification: 
[2022-11-06 00:30:59.2340] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.PaymentNotification: 
[2022-11-06 00:30:59.2620] [I] [ShareRecorder] Online 
[2022-11-06 00:30:59.2620] [D] [MessageBus] Listening to Miningcore.Mining.StratumShare: 
[2022-11-06 00:30:59.2668] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.TelemetryEvent: 
[2022-11-06 00:30:59.2668] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.HashrateNotification: 
[2022-11-06 00:30:59.2720] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.PoolStatusNotification: 
[2022-11-06 00:30:59.2735] [I] [PayoutManager] Online 
[2022-11-06 00:30:59.2735] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.PoolStatusNotification: 
[2022-11-06 00:30:59.2735] [I] [StatsRecorder] Online 
[2022-11-06 00:30:59.3414] [I] [Core] 131 coins loaded from '/home/ceedii/miningcore/build/coins.json' 
[2022-11-06 00:30:59.3537] [I] [xmr1] Starting Pool ... 
[2022-11-06 00:30:59.3583] [I] [xmr1] Starting Job Manager ... 
[2022-11-06 00:30:59.3930] [D] [FileSystemXmlRepository] Reading data from file '/home/ceedii/.aspnet/DataProtection-Keys/key-262c3a11-f488-4a12-a041-99ab0fafc257.xml'. 
[2022-11-06 00:30:59.4023] [D] [XmlKeyManager] Found key {262c3a11-f488-4a12-a041-99ab0fafc257}. 
[2022-11-06 00:30:59.4090] [I] [xmr1] All daemons online 
[2022-11-06 00:30:59.4090] [D] [DefaultKeyResolver] Considering key {262c3a11-f488-4a12-a041-99ab0fafc257} with expiration date 2023-01-21 13:50:53Z as default key. 
[2022-11-06 00:30:59.4090] [D] [TypeForwardingActivator] Forwarded activator type request from Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 to Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60 
[2022-11-06 00:30:59.4128] [D] [ManagedAuthenticatedEncryptorFactory] Using managed symmetric algorithm 'System.Security.Cryptography.Aes'. 
[2022-11-06 00:30:59.4128] [D] [ManagedAuthenticatedEncryptorFactory] Using managed keyed hash algorithm 'System.Security.Cryptography.HMACSHA256'. 
[2022-11-06 00:30:59.4128] [D] [KeyRingProvider] Using key {262c3a11-f488-4a12-a041-99ab0fafc257} as the default key. 
[2022-11-06 00:30:59.4128] [D] [DataProtectionHostedService] Key ring with default key {262c3a11-f488-4a12-a041-99ab0fafc257} was loaded during application startup. 
[2022-11-06 00:30:59.4180] [I] [Core] API Access to /api/admin restricted to 127.0.0.1,::1,::ffff:127.0.0.1 
[2022-11-06 00:30:59.4180] [I] [Core] API Access to /metrics restricted to 127.0.0.1,::1,::ffff:127.0.0.1 
[2022-11-06 00:30:59.4180] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockFoundNotification: 
[2022-11-06 00:30:59.4209] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockUnlockedNotification: 
[2022-11-06 00:30:59.4209] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockConfirmationProgressNotification: 
[2022-11-06 00:30:59.4209] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.NewChainHeightNotification: 
[2022-11-06 00:30:59.4209] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.PaymentNotification: 
[2022-11-06 00:30:59.4209] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.HashrateNotification: 
[2022-11-06 00:30:59.4357] [I] [xmr1] All daemons synched with blockchain 
[2022-11-06 00:30:59.4379] [D] [ModelBinderFactory] Registered model binder providers, in the following order: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider 
[2022-11-06 00:30:59.4446] [D] [DefaultViewCompiler] Initializing Razor view compiler with no compiled views. 
[2022-11-06 00:30:59.4569] [I] [xmr1] Job Manager Online 
[2022-11-06 00:30:59.4735] [I] [Core] API access limited to 30 requests per 1s, except from 192.168.1.4 
[2022-11-06 00:30:59.4800] [I] [Lifetime] Now listening on: http://0.0.0.0:4000 
[2022-11-06 00:30:59.4800] [D] [Diagnostics] Loaded hosting startup assembly Miningcore 
[2022-11-06 00:30:59.4800] [I] [Lifetime] Application started. Press Ctrl+C to shut down. 
[2022-11-06 00:30:59.4800] [I] [Lifetime] Hosting environment: Production 
[2022-11-06 00:30:59.4800] [I] [Lifetime] Content root path: /home/ceedii/miningcore/build/ 
[2022-11-06 00:30:59.8942] [I] [xmr1] Detected new block 2749492 [POLL] 
[2022-11-06 00:30:59.8942] [I] [xmr1] Detected new seed hash 758c3c212274e654f41abe93a7909eb0b48fddbc2a0af8f5d620c02477d581bb starting @ height 2749492 
[2022-11-06 00:30:59.9046] [I] [RandomX] Creating VM xmr1@1 [RANDOMX_FLAG_HARD_AES, RANDOMX_FLAG_FULL_MEM, RANDOMX_FLAG_JIT, RANDOMX_FLAG_ARGON2], hash 758c3c212274e654f41abe93a7909eb0b48fddbc2a0af8f5d620c02477d581bb ... 
[2022-11-06 00:31:14.2855] [I] [StatsRecorder] Performing Stats GC 
[2022-11-06 00:31:14.2969] [I] [StatsRecorder] Stats GC complete 
[2022-11-06 00:31:23.1427] [I] [RandomX] Created VM xmr1@1 in 00:00:23.2380643 
[2022-11-06 00:31:23.1477] [I] [xmr1] Broadcasting jobs 
[2022-11-06 00:31:23.1583] [D] [xmr1] Loading pool stats 
[2022-11-06 00:31:23.1888] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1888] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1888] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1888] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1888] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1888] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1888] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1928] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1928] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1928] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1928] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1928] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1928] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1928] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1928] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1928] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1965] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1965] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1965] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1965] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1965] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1965] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1965] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1965] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1965] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1965] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.1965] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2008] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2008] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2008] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2008] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2008] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2008] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2008] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2008] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2008] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2046] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2046] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2046] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2046] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2046] [I] [xmr1] Pool Online 
[2022-11-06 00:31:23.2046] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2046] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2046] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2046] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2046] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2046] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2046] [I] [xmr1] 

Mining Pool:            xmr1
Coin Type:              XMR [XMR]
Network Connected:      Main
Detected Reward Type:   POW
Current Block Height:   2749492
Current Connect Peers:  25
Network Difficulty:     353.49G
Network Hash Rate:      2.74 GH/s
Stratum Port(s):        3344, 3345
Pool Fee:               0.1%

[2022-11-06 00:31:23.2046] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2112] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2112] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2112] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2126] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2126] [I] [xmr1] Stratum ports 0.0.0.0:3344, 0.0.0.0:3345 online 
[2022-11-06 00:31:23.2126] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2126] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2126] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2126] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2126] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2126] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.2126] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.4989] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:23.8998] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:24.3016] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:24.7268] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:25.1035] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:25.5044] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:25.9053] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:26.3063] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:26.7072] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:27.1078] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:27.5087] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:27.9096] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:28.3104] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:28.7111] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:29.1122] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:29.5144] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:29.9157] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:30.3170] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:30.7178] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:31.1186] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:31.5192] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:31.9203] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:32.3207] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:32.7220] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:33.1221] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:33.5232] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:33.9239] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:34.3245] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:34.7255] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:35.1265] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:35.5270] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:35.9269] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:36.3279] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:36.7282] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:37.1291] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:37.5297] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:37.9309] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:38.3313] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:38.7321] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:39.1327] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:39.5329] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:39.9338] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:40.3346] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:40.7343] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:41.1361] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:41.5366] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:41.9379] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:42.3388] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:42.7395] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:43.1398] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:43.5408] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:43.9405] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:44.3398] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:44.7406] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:45.1415] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:45.5421] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:45.9427] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:46.3427] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:46.7438] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:47.1445] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:47.5452] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:47.9459] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:48.3467] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:48.7475] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:49.1488] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:49.5501] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:49.9509] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:50.3517] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:50.7526] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:51.1530] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:51.5542] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:51.9550] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:52.3560] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:52.7569] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:53.1579] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:53.2231] [D] [xmr1] Vardiff Idle Update pass begins 
[2022-11-06 00:31:53.2231] [D] [xmr1] Vardiff Idle Update pass ends 
[2022-11-06 00:31:53.5597] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:53.9606] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:54.3599] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:54.7585] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:55.1591] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:55.5599] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:55.9609] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:56.3612] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:56.7616] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:57.1625] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:57.5628] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:57.9644] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:58.3653] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:58.7660] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:59.1670] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:59.2823] [I] [PayoutManager] Processing payments for pool xmr1 
[2022-11-06 00:31:59.3135] [I] [PayoutManager] No updated blocks for pool xmr1 
[2022-11-06 00:31:59.3230] [I] [PayoutManager] No balances over configured minimum payout for pool xmr1 
[2022-11-06 00:31:59.5671] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:31:59.9691] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:00.3700] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:00.7711] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:01.1717] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:01.5724] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:01.9732] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:02.3741] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:02.7752] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:03.1761] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:03.5772] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:03.9779] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:04.3792] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:04.7801] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:05.1814] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:05.5821] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:05.9831] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:06.3839] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:06.7846] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:07.1852] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:07.5861] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:07.9868] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:08.3874] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:08.7881] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:09.1891] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:09.5880] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:09.9868] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:10.3889] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:10.7871] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:11.1881] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:11.5865] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:11.9875] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:12.3885] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:12.7892] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:13.1901] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:13.5909] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:13.9919] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:14.3896] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:14.7920] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:15.1929] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:15.5937] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:15.9945] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:16.3951] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:16.7956] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:17.2166] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:17.3636] [I] [xmr1] [0HMLVHPDTJJ8B] Accepting connection from ::ffff:192.168.1.5:47728 ... 
[2022-11-06 00:32:17.5291] [I] [xmr1] [0HMLVHPDTJJ8B] TLS13-AES256 Connection from ::ffff:192.168.1.5:47728 accepted on port 3345 
[2022-11-06 00:32:17.5291] [D] [xmr1] [0HMLVHPDTJJ8B] [NET] Waiting for data ... 
[2022-11-06 00:32:17.5291] [D] [xmr1] [0HMLVHPDTJJ8B] [NET] Received data: {"id":1,"jsonrpc":"2.0","method":"login","params":{"login":"48W8eVd8EikDRWMgg7qePZgyrCu5hBhobNGkgor38vjxDC21ed7DuUQcDjwJurFWQeA722XTnfhv76Cpr4ECqHaFRoi7A9Q","pass":"ganymede","agent":"XMRig/6.18.1 (Linux x86_64) libuv/1.44.1 gcc/5.4.0","algo":["rx/0","cn/1","cn/2","cn/r","cn/fast","cn/half","cn/xao","cn/rto","cn/rwz","cn/zls","cn/double","cn/ccx","cn-lite/0","cn-lite/1","cn-heavy/0","cn-heavy/tube","cn-heavy/xhv","cn-pico","cn-pico/tlo","cn/upx2","cn/0","rx/wow","rx/arq","rx/graft","rx/sfx","rx/keva","argon2/chukwa","argon2/chukwav2","argon2/ninja","ghostrider"]}}

[2022-11-06 00:32:17.5291] [D] [xmr1] [0HMLVHPDTJJ8B] [NET] Waiting for data ... 
[2022-11-06 00:32:17.5388] [D] [xmr1] [0HMLVHPDTJJ8B] [PIPE] Waiting for data ... 
[2022-11-06 00:32:17.5388] [D] [xmr1] [0HMLVHPDTJJ8B] [PIPE] Received data: {"id":1,"jsonrpc":"2.0","method":"login","params":{"login":"48W8eVd8EikDRWMgg7qePZgyrCu5hBhobNGkgor38vjxDC21ed7DuUQcDjwJurFWQeA722XTnfhv76Cpr4ECqHaFRoi7A9Q","pass":"ganymede","agent":"XMRig/6.18.1 (Linux x86_64) libuv/1.44.1 gcc/5.4.0","algo":["rx/0","cn/1","cn/2","cn/r","cn/fast","cn/half","cn/xao","cn/rto","cn/rwz","cn/zls","cn/double","cn/ccx","cn-lite/0","cn-lite/1","cn-heavy/0","cn-heavy/tube","cn-heavy/xhv","cn-pico","cn-pico/tlo","cn/upx2","cn/0","rx/wow","rx/arq","rx/graft","rx/sfx","rx/keva","argon2/chukwa","argon2/chukwav2","argon2/ninja","ghostrider"]}}

[2022-11-06 00:32:17.5479] [D] [xmr1] [0HMLVHPDTJJ8B] Dispatching request 'login' [1] 
[2022-11-06 00:32:17.5796] [I] [xmr1] [0HMLVHPDTJJ8B] Authorized miner 48W8eVd8EikDRWMgg7qePZgyrCu5hBhobNGkgor38vjxDC21ed7DuUQcDjwJurFWQeA722XTnfhv76Cpr4ECqHaFRoi7A9Q 
[2022-11-06 00:32:17.5824] [D] [xmr1] [0HMLVHPDTJJ8B] [PIPE] Waiting for data ... 
[2022-11-06 00:32:17.5916] [D] [xmr1] [0HMLVHPDTJJ8B] Sending: {"result":{"id":"0HMLVHPDTJJ8B","job":{"job_id":"1","blob":"1010c3809c9b06fe2b6cbe95e529ec14c449f0c488b134c5e3a94ce4aa28b41fdb43b88a6756f60000000020523fc271efde5a7f402c6c823e90a20149a1da25a432daa528afdb4b48e56a36","target":"00000000","seed_hash":"758c3c212274e654f41abe93a7909eb0b48fddbc2a0af8f5d620c02477d581bb","algo":"rx/0","height":2749492},"status":"OK"},"id":1} 
[2022-11-06 00:32:17.5971] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:17.5971] [D] [xmr1] [0HMLVHPDTJJ8B] Received EOF 
[2022-11-06 00:32:17.6027] [I] [xmr1] [0HMLVHPDTJJ8B] Connection closed 
[2022-11-06 00:32:17.9983] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:18.3987] [D] [xmr1] Template update 2749492 [POLL] 
[2022-11-06 00:32:18.7994] [D] [xmr1] Template update 2749492 [POLL] 

XMRig does not say much when i tried to record its log:

 * ABOUT        XMRig/6.18.1 gcc/5.4.0
 * LIBS         libuv/1.44.1 OpenSSL/1.1.1o hwloc/2.7.1
 * HUGE PAGES   supported
 * 1GB PAGES    supported
 * CPU          Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (1) 64-bit AES
                L2:1.0 MB L3:6.0 MB 4C/8T NUMA:1
 * MEMORY       3.0/15.5 GB (19%)
                DIMM_A0: 16 GB DDR4 @ 2400 MHz M471A2K43CB1-CRC
                DIMM_B0: <empty>
 * MOTHERBOARD  Micro-Star International Co., Ltd. - MS-16JB
 * DONATE       1%
 * ASSEMBLY     intel
 * POOL #1      monero.cedric-crispin.local:3345 coin Monero
 * COMMANDS     hashrate, pause, resume, results, connection
 * HTTP API     192.168.1.5:3333
 * OPENCL       disabled
 * CUDA         disabled
oliverw commented 1 year ago

[2022-11-06 00:32:17.5971] [D] [xmr1] [0HMLVHPDTJJ8B] Received EOF

This indicates the miner closed the connection. Not the pool.

blackmennewstyle commented 1 year ago

[2022-11-06 00:32:17.5971] [D] [xmr1] [0HMLVHPDTJJ8B] Received EOF

This indicates the miner closed the connection. Not the pool.

I posted the issue on XMRig just in case but i generally never get any answer when i post anything there.

If i change the URL to mine on another pool like supportxmr.com the computer can mine without any issue. I will try a different mining software and report my findings.

blackmennewstyle commented 1 year ago

OK. I tried a different mining software and the problem is still there. However, SRBMiner-Multi software is giving a different error but it might be the same one with XMRIG

CPU0 : Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz [L3:   6144 KB][L2:  1024 KB][L1:  128 KB][PU:   8]

======================================================================
SRBMiner-MULTI 1.1.1

Press 's' to display stats
Press 'h' to display hashrate
Press 'p' to switch to the next pool
Press 'o' to switch to the previous pool
======================================================================

Algorithm/s         : randomx [0.85% fee]
Gpu mining          : disabled
Cpu mining          : enabled
Watchdog            : enabled
Huge-pages          : available
HW-Aes              : available

[2022-11-06 11:13:52] MSR tweaking enabled
[2022-11-06 11:13:52] Algorithm 0 available values for --cpu-threads-intensity : 1
[2022-11-06 11:13:56] 4 CPU core/s - 8 thread/s detected
[2022-11-06 11:13:56] Using 8 thread/s for CPU mining
[2022-11-06 11:13:57] SSL/TLS connection established with monero.cedric-crispin.local:3345 [TLS_AES_256_GCM_SHA384]
[2022-11-06 11:13:57] PARSE error: Pool sent a malformed rpc2 job [couldn't decode] [randomx]
[2022-11-06 11:13:57] Reconnecting to monero.cedric-crispin.local:3345 in 5 seconds [randomx]
[2022-11-06 11:14:02] SSL/TLS connection established with monero.cedric-crispin.local:3345 [TLS_AES_256_GCM_SHA384]
[2022-11-06 11:14:02] PARSE error: Pool sent a malformed rpc2 job [couldn't decode] [randomx]
[2022-11-06 11:14:02] Reconnecting to monero.cedric-crispin.local:3345 in 5 seconds [randomx]
[2022-11-06 11:14:07] SSL/TLS connection established with monero.cedric-crispin.local:3345 [TLS_AES_256_GCM_SHA384]
[2022-11-06 11:14:07] PARSE error: Pool sent a malformed rpc2 job [couldn't decode] [randomx]
[2022-11-06 11:14:07] Reconnecting to monero.cedric-crispin.local:3345 in 5 seconds [randomx]
[2022-11-06 11:14:12] SSL/TLS connection established with monero.cedric-crispin.local:3345 [TLS_AES_256_GCM_SHA384]
[2022-11-06 11:14:12] PARSE error: Pool sent a malformed rpc2 job [couldn't decode] [randomx]
[2022-11-06 11:14:12] Reconnecting to monero.cedric-crispin.local:3345 in 5 seconds [randomx]
[2022-11-06 11:14:17] SSL/TLS connection established with monero.cedric-crispin.local:3345 [TLS_AES_256_GCM_SHA384]
[2022-11-06 11:14:17] PARSE error: Pool sent a malformed rpc2 job [couldn't decode] [randomx]
[2022-11-06 11:14:17] Reconnecting to monero.cedric-crispin.local:3345 in 5 seconds [randomx]

The software is saying that it is receiving a malformed RPC2 job

Miningcore has exactly the same behavior when i used XMRig

[2022-11-06 11:20:06.6253] [I] [xmr1] [0HMLVT3DRNQ5M] Accepting connection from ::ffff:192.168.1.5:49582 ... 
[2022-11-06 11:20:06.7124] [I] [xmr1] [0HMLVT3DRNQ5M] TLS13-AES256 Connection from ::ffff:192.168.1.5:49582 accepted on port 3345 
[2022-11-06 11:20:06.7150] [D] [xmr1] [0HMLVT3DRNQ5M] [NET] Waiting for data ... 
[2022-11-06 11:20:06.7150] [D] [xmr1] [0HMLVT3DRNQ5M] [NET] Received data: {"id":1,"jsonrpc":"2.0","method":"login","params":{"login":"48W8eVd8EikDRWMgg7qePZgyrCu5hBhobNGkgor38vjxDC21ed7DuUQcDjwJurFWQeA722XTnfhv76Cpr4ECqHaFRoi7A9Q.ganymede","pass":"ganymede","agent":"SRBMiner-MULTI/1.1.1"}}

[2022-11-06 11:20:06.7150] [D] [xmr1] [0HMLVT3DRNQ5M] [NET] Waiting for data ... 
[2022-11-06 11:20:06.7216] [D] [xmr1] [0HMLVT3DRNQ5M] [PIPE] Waiting for data ... 
[2022-11-06 11:20:06.7216] [D] [xmr1] [0HMLVT3DRNQ5M] [PIPE] Received data: {"id":1,"jsonrpc":"2.0","method":"login","params":{"login":"48W8eVd8EikDRWMgg7qePZgyrCu5hBhobNGkgor38vjxDC21ed7DuUQcDjwJurFWQeA722XTnfhv76Cpr4ECqHaFRoi7A9Q.ganymede","pass":"ganymede","agent":"SRBMiner-MULTI/1.1.1"}}

[2022-11-06 11:20:06.7371] [D] [xmr1] [0HMLVT3DRNQ5M] Dispatching request 'login' [1] 
[2022-11-06 11:20:06.7836] [I] [xmr1] [0HMLVT3DRNQ5M] Authorized worker ganymede@48W8eVd8EikDRWMgg7qePZgyrCu5hBhobNGkgor38vjxDC21ed7DuUQcDjwJurFWQeA722XTnfhv76Cpr4ECqHaFRoi7A9Q 
[2022-11-06 11:20:06.7866] [D] [xmr1] [0HMLVT3DRNQ5M] [PIPE] Waiting for data ... 
[2022-11-06 11:20:06.7974] [D] [xmr1] [0HMLVT3DRNQ5M] Sending: {"result":{"id":"0HMLVT3DRNQ5M","job":{"job_id":"1","blob":"1010c6b09e9b061ba4698aeb9cffc33e4b986c3d1e7ab011e23d8ad629652b91ce34396678440500000000916fddd57c5e3b41782f00adb2633fea5b9e63494d17601f8e5ae18fe329322a1f","target":"00000000","seed_hash":"758c3c212274e654f41abe93a7909eb0b48fddbc2a0af8f5d620c02477d581bb","algo":"rx/0","height":2749783},"status":"OK"},"id":1} 
[2022-11-06 11:20:06.8034] [D] [xmr1] [0HMLVT3DRNQ5M] Received EOF 
[2022-11-06 11:20:06.8104] [I] [xmr1] [0HMLVT3DRNQ5M] Connection closed

So the problem is probably there, Miningcore is sending something wrong to both miners.

snoby commented 1 year ago

@blackmennewstyle - do you have TLS enabled on that stratum port? If you do try disabling it and try mining without TLS and see what happens.

blackmennewstyle commented 1 year ago

@blackmennewstyle - do you have TLS enabled on that stratum port? If you do try disabling it and try mining without TLS and see what happens.

Yes i have SSL enabled on that stratum and i also have a regular one without it. I tried to mine as well on that stratum. The mining software is saying exactly the same thing with and without SSL:

/home/ceedii/SRBMiner-Multi-1-1-1/SRBMiner-MULTI --api-enable --api-port 4442 --api-rig-name ganymede --algorithm randomx --pool stratum+tcp://monero.cedric-crispin.local:3344 --wallet 48W8eVd8EikDRWMgg7qePZgyrCu5hBhobNGkgor38vjxDC21ed7DuUQcDjwJurFWQeA722XTnfhv76Cpr4ECqHaFRoi7A9Q.ganymede --password ganymede --disable-gpu --cpu-threads 8

CPU0 : Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz [L3:   6144 KB][L2:  1024 KB][L1:  128 KB][PU:   8]

======================================================================
SRBMiner-MULTI 1.1.1

Press 's' to display stats
Press 'h' to display hashrate
Press 'p' to switch to the next pool
Press 'o' to switch to the previous pool
======================================================================

Algorithm/s         : randomx [0.85% fee]
Gpu mining          : disabled
Cpu mining          : enabled
Watchdog            : enabled
Huge-pages          : available
HW-Aes              : available

[2022-11-06 23:52:50] MSR tweaking enabled
[2022-11-06 23:52:50] Algorithm 0 available values for --cpu-threads-intensity : 1
[2022-11-06 23:52:53] 4 CPU core/s - 8 thread/s detected
[2022-11-06 23:52:53] Using 8 thread/s for CPU mining
[2022-11-06 23:52:54] PARSE error: Pool sent a malformed rpc2 job [couldn't decode] [randomx]
[2022-11-06 23:52:54] Reconnecting to monero.cedric-crispin.local:3344 in 5 seconds [randomx]
[2022-11-06 23:52:59] PARSE error: Pool sent a malformed rpc2 job [couldn't decode] [randomx]
[2022-11-06 23:52:59] Reconnecting to monero.cedric-crispin.local:3344 in 5 seconds [randomx]
[2022-11-06 23:53:04] PARSE error: Pool sent a malformed rpc2 job [couldn't decode] [randomx]
[2022-11-06 23:53:04] Reconnecting to monero.cedric-crispin.local:3344 in 5 seconds [randomx]

PARSE error: Pool sent a malformed rpc2 job [couldn't decode] [randomx] Miningcore same behavior as always:

[2022-11-06 23:53:04.2949] [I] [xmr1] [0HMM0A82UKRO2] Accepting connection from ::ffff:192.168.1.5:53988 ... 
[2022-11-06 23:53:04.2949] [I] [xmr1] [0HMM0A82UKRO2] Connection from ::ffff:192.168.1.5:53988 accepted on port 3344 
[2022-11-06 23:53:04.2949] [D] [xmr1] [0HMM0A82UKRO2] [NET] Waiting for data ... 
[2022-11-06 23:53:04.2949] [D] [xmr1] [0HMM0A82UKRO2] [PIPE] Waiting for data ... 
[2022-11-06 23:53:04.2949] [D] [xmr1] [0HMM0A82UKRO2] [NET] Received data: {"id":1,"jsonrpc":"2.0","method":"login","params":{"login":"48W8eVd8EikDRWMgg7qePZgyrCu5hBhobNGkgor38vjxDC21ed7DuUQcDjwJurFWQeA722XTnfhv76Cpr4ECqHaFRoi7A9Q.ganymede","pass":"ganymede","agent":"SRBMiner-MULTI/1.1.1"}}

[2022-11-06 23:53:04.2949] [D] [xmr1] [0HMM0A82UKRO2] [NET] Waiting for data ... 
[2022-11-06 23:53:04.2949] [D] [xmr1] [0HMM0A82UKRO2] [PIPE] Received data: {"id":1,"jsonrpc":"2.0","method":"login","params":{"login":"48W8eVd8EikDRWMgg7qePZgyrCu5hBhobNGkgor38vjxDC21ed7DuUQcDjwJurFWQeA722XTnfhv76Cpr4ECqHaFRoi7A9Q.ganymede","pass":"ganymede","agent":"SRBMiner-MULTI/1.1.1"}}

[2022-11-06 23:53:04.2949] [D] [xmr1] [0HMM0A82UKRO2] Dispatching request 'login' [1] 
[2022-11-06 23:53:04.2949] [I] [xmr1] [0HMM0A82UKRO2] Authorized worker ganymede@48W8eVd8EikDRWMgg7qePZgyrCu5hBhobNGkgor38vjxDC21ed7DuUQcDjwJurFWQeA722XTnfhv76Cpr4ECqHaFRoi7A9Q 
[2022-11-06 23:53:04.2949] [D] [xmr1] [0HMM0A82UKRO2] [PIPE] Waiting for data ... 
[2022-11-06 23:53:04.2973] [D] [xmr1] [0HMM0A82UKRO2] Sending: {"result":{"id":"0HMM0A82UKRO2","job":{"job_id":"3","blob":"1010b791a19b066199db0d4b999ba5de535838c8b3838e6898aa64a0903a4ffbd8e75084ad6d5f0000000065b4a12a5190b502cf9e214590d163c5b7cc0941e52f25036a88a22dacb23fd103","target":"00000000","seed_hash":"758c3c212274e654f41abe93a7909eb0b48fddbc2a0af8f5d620c02477d581bb","algo":"rx/0","height":2750154},"status":"OK"},"id":1} 
[2022-11-06 23:53:04.2973] [D] [xmr1] [0HMM0A82UKRO2] [PIPE] Received data:  
[2022-11-06 23:53:04.2973] [D] [xmr1] [0HMM0A82UKRO2] Received EOF 
[2022-11-06 23:53:04.2973] [I] [xmr1] [0HMM0A82UKRO2] Connection closed 
blackmennewstyle commented 1 year ago

Good news guys, i fixed it :D

I actually found out there was a pool example available for monero, called monero_pool.json and i noticed there were some differences with my current config.json

I added this option: "randomXRealm": "xmr1", I also modified that option "blockRefreshInterval": 500, I then noticed that my difficulty values were way off compared to that file. I modified "difficulty": 7500, and "minDiff": 1000,.

And voilà, I'm finally able to mine:

CPU0 : Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz [L3:   6144 KB][L2:  1024 KB][L1:  128 KB][PU:   8]

======================================================================
SRBMiner-MULTI 1.1.1

Press 's' to display stats
Press 'h' to display hashrate
Press 'p' to switch to the next pool
Press 'o' to switch to the previous pool
======================================================================

Algorithm/s         : randomx [0.85% fee]
Gpu mining          : disabled
Cpu mining          : enabled
Watchdog            : enabled
Huge-pages          : available
HW-Aes              : available

[2022-11-07 14:28:22] MSR tweaking enabled
[2022-11-07 14:28:22] Algorithm 0 available values for --cpu-threads-intensity : 1
[2022-11-07 14:28:25] 4 CPU core/s - 8 thread/s detected
[2022-11-07 14:28:25] Using 8 thread/s for CPU mining
[2022-11-07 14:28:26] SSL/TLS connection established with monero.cedric-crispin.local:3345 [TLS_AES_256_GCM_SHA384]
[2022-11-07 14:28:27] Connected to monero.cedric-crispin.local:3345 [randomx]
[2022-11-07 14:28:27] Difficulty 7500.0000000000 [randomx][0]
[2022-11-07 14:28:32] RX Cache   initialized on node 0 [HP] [randomx]
[2022-11-07 14:28:32] RX Dataset initialized on node 0 [HP] [randomx]
[2022-11-07 14:28:32] RX Initialization time on node 0 : 4822 ms [randomx]
[2022-11-07 14:28:32] CPU result accepted      [  165ms] [randomx][0]
[2022-11-07 14:28:32] CPU result accepted      [  204ms] [randomx][0]
[2022-11-07 14:28:34] CPU result accepted      [   59ms] [randomx][0]
[2022-11-07 14:28:40] CPU result accepted      [   13ms] [randomx][0]
[2022-11-07 14:28:41] CPU result accepted      [   11ms] [randomx][0]
[2022-11-07 14:28:46] CPU result accepted      [  186ms] [randomx][0]
[2022-11-07 14:28:47] CPU result accepted      [   29ms] [randomx][0]
[2022-11-07 14:28:48] CPU result accepted      [   20ms] [randomx][0]
[2022-11-07 14:28:55] CPU result accepted      [  209ms] [randomx][0]
[2022-11-07 14:28:55] CPU result accepted      [   16ms] [randomx][0]
[2022-11-07 14:28:55] CPU result accepted      [   30ms] [randomx][0]
[2022-11-07 14:28:57] CPU result accepted      [   13ms] [randomx][0]
[2022-11-07 14:28:57] CPU result accepted      [   11ms] [randomx][0]
[2022-11-07 14:29:27] CPU result accepted      [    8ms] [randomx][0]
[2022-11-07 14:29:38] CPU result accepted      [   28ms] [randomx][0]
[2022-11-07 14:29:40] CPU result accepted      [   59ms] [randomx][0]
[2022-11-07 14:29:54] CPU result accepted      [   71ms] [randomx][0]
[2022-11-07 14:29:55] ==========================================================
[2022-11-07 14:29:55] [0]    [randomx]
[2022-11-07 14:29:55] CPU  : 1241.08 H/s
[2022-11-07 14:29:55] Total: 1241.08 H/s
[2022-11-07 14:29:55] ==========================================================
[2022-11-07 14:29:57] CPU result accepted      [    9ms] [randomx][0]
[2022-11-07 14:29:59] CPU result accepted      [   58ms] [randomx][0]
[2022-11-07 14:30:03] Job received [2] block height 2750620 [randomx][0]
[2022-11-07 14:30:05] CPU result accepted      [   20ms] [randomx][0]
[2022-11-07 14:30:05] Difficulty 8000.0000000000 [randomx][0]
[2022-11-07 14:30:07] CPU result accepted      [    9ms] [randomx][0]
[2022-11-07 14:30:10] CPU result accepted      [  364ms] [randomx][0]
[2022-11-07 14:30:28] CPU result accepted      [   77ms] [randomx][0]
[2022-11-07 14:30:29] CPU result accepted      [   26ms] [randomx][0]
[2022-11-07 14:30:34] CPU result accepted      [    9ms] [randomx][0]
[2022-11-07 14:30:43] CPU result accepted      [   11ms] [randomx][0]
[2022-11-07 14:30:56] CPU result accepted      [   27ms] [randomx][0]
[2022-11-07 14:31:02] CPU result accepted      [    7ms] [randomx][0]
[2022-11-07 14:31:08] CPU result accepted      [   10ms] [randomx][0]
[2022-11-07 14:31:09] CPU result accepted      [   65ms] [randomx][0]
[2022-11-07 14:31:25] ==========================================================
[2022-11-07 14:31:25] [0]    [randomx]
[2022-11-07 14:31:25] CPU  : 1135.20 H/s
[2022-11-07 14:31:25] Total: 1135.20 H/s
[2022-11-07 14:31:25] ==========================================================
[2022-11-07 14:31:30] CPU result accepted      [   18ms] [randomx][0]
[2022-11-07 14:31:35] CPU result accepted      [   98ms] [randomx][0]
[2022-11-07 14:31:35] Difficulty 8500.0000000000 [randomx][0]
[2022-11-07 14:31:35] Job received [4] block height 2750620 [randomx][0]
[2022-11-07 14:31:38] CPU result accepted      [    9ms] [randomx][0]
[2022-11-07 14:31:50] CPU result accepted      [   11ms] [randomx][0]
[2022-11-07 14:31:53] CPU result accepted      [  184ms] [randomx][0]
[2022-11-07 14:31:53] CPU result accepted      [  121ms] [randomx][0]
[2022-11-07 14:31:56] CPU result accepted      [   53ms] [randomx][0]
[2022-11-07 14:32:01] CPU result accepted      [   29ms] [randomx][0]
[2022-11-07 14:32:06] CPU result accepted      [  207ms] [randomx][0]
[2022-11-07 14:32:25] CPU result accepted      [    9ms] [randomx][0]
[2022-11-07 14:32:27] CPU result accepted      [  215ms] [randomx][0]
[2022-11-07 14:32:29] CPU result accepted      [    6ms] [randomx][0]
[2022-11-07 14:32:32] CPU result accepted      [  182ms] [randomx][0]
[2022-11-07 14:32:48] CPU result accepted      [    9ms] [randomx][0]
[2022-11-07 14:32:51] CPU result accepted      [   45ms] [randomx][0]
[2022-11-07 14:32:55] ==========================================================
[2022-11-07 14:32:55] [0]    [randomx]
[2022-11-07 14:32:55] CPU  : 1090.24 H/s
[2022-11-07 14:32:55] Total: 1090.24 H/s
[2022-11-07 14:32:55] ==========================================================
[2022-11-07 14:32:59] CPU result accepted      [    8ms] [randomx][0]
[2022-11-07 14:33:12] CPU result accepted      [   10ms] [randomx][0]

:fire: :rocket:

snoby commented 1 year ago

Very cool, glad you got that worked out. I'm working on setting up a Monero fork-ish right now so this is helpful!

blackmennewstyle commented 1 year ago

Very cool, glad you got that worked out. I'm working on setting up a Monero fork-ish right now so this is helpful!

Nice. Good luck.

I tried to narrow down which parameters are actually making the real differences and it seems to be only these two:

"blockRefreshInterval": 500, - Don't go under 500, you will have all your shares rejected as bad hashes

"difficulty": 7500 - Don't go under 7500, you won't be able to mine and you will get the same weird errors Floating point exception and PARSE error: Pool sent a malformed rpc2 job [couldn't decode] [randomx]

With these parameters, i'm still getting from time to time:

[2022-11-08 06:07:59.240]  cpu      rejected (44/6) diff 9000 "bad hash" (40 ms)

Miningcore

[2022-11-08 06:07:59.2340] [D] [xmr1] [0HMM19R80RFLR] [NET] Received data: {"id":51,"jsonrpc":"2.0","method":"submit","params":{"id":"0HMM19R80RFLR","job_id":"8","nonce":"d6890100","result":"588f0a1262dac833e3435a25687719ab9e231896f6a9eee5cecb594367c80100"}}

[2022-11-08 06:07:59.2340] [D] [xmr1] [0HMM19R80RFLR] [NET] Waiting for data ... 
[2022-11-08 06:07:59.2340] [D] [xmr1] [0HMM19R80RFLR] [PIPE] Received data: {"id":51,"jsonrpc":"2.0","method":"submit","params":{"id":"0HMM19R80RFLR","job_id":"8","nonce":"d6890100","result":"588f0a1262dac833e3435a25687719ab9e231896f6a9eee5cecb594367c80100"}}

[2022-11-08 06:07:59.2340] [D] [xmr1] [0HMM19R80RFLR] Dispatching request 'submit' [51] 
[2022-11-08 06:07:59.2407] [I] [xmr1] [0HMM19R80RFLR] Share rejected: bad hash [XMRig/6.18.1 (Linux x86_64) libuv/1.44.1 gcc/9.3.0] 
[2022-11-08 06:07:59.2411] [D] [xmr1] [0HMM19R80RFLR] [PIPE] Waiting for data ... 
[2022-11-08 06:07:59.2411] [D] [xmr1] [0HMM19R80RFLR] Sending: {"result":false,"error":{"code":-1,"message":"bad hash","data":null},"id":51} 
[2022-11-08 06:07:59.6713] [D] [xmr1] Template update 2751055 [POLL] 
[2022-11-08 06:07:59.7460] [D] [xmr1] [0HMM19R80RFLR] [NET] Received data: {"id":52,"jsonrpc":"2.0","method":"submit","params":{"id":"0HMM19R80RFLR","job_id":"8","nonce":"100a0100","result":"d4d95ae8d9548f314e7a3677ee790890bebefd578ff98dcd31bbeb0dae810500"}}

Is there any documentation or any input about these two parameters blockRefreshInterval and difficulty?

oliverw commented 1 year ago

blockRefreshInterval is the interval in ms for polling the monero node for new work. After all these years monero still does not support push notifications for new work.

difficulty is the starting difficulty for work sent to the miner.

Closing.

xmr-dev commented 1 year ago

@oliverw Monero has the --block- notify. The argument which you can pass is a (bash) script. This XMR mining pool has the --block-notify implementation https://github.com/jtgrassie/monero-pool