Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Ethereum pool issue #1070

Closed
konstiantyn opened this issue Jan 6, 2022 · 7 comments
Closed

Ethereum pool issue #1070

konstiantyn opened this issue Jan 6, 2022 · 7 comments

Comments

@konstiantyn
Copy link
Contributor

[2022-01-06 11:41:02.1969] [W] [Core] Running as root is discouraged!
[2022-01-06 11:41:02.2035] [I] [Core] Prometheus Metrics 127.0.0.1:4000/metrics
[2022-01-06 11:41:02.2035] [I] [Core] WebSocket notifications streaming 127.0.0.1:4000/notifications
[2022-01-06 11:41:03.0683] [I] [ShareRecorder] Online
[2022-01-06 11:41:03.1008] [I] [PayoutManager] Online
[2022-01-06 11:41:03.1023] [I] [StatsRecorder] Online
[2022-01-06 11:41:03.1718] [I] [Core] 59 coins loaded from '/home/dev/miningcore/build/coins.json'
[2022-01-06 11:41:03.1948] [I] [Core] API Access to /api/admin restricted to 127.0.0.1,::1,::ffff:127.0.0.1
[2022-01-06 11:41:03.1948] [I] [Core] API Access to /metrics restricted to 127.0.0.1,::1,::ffff:127.0.0.1
[2022-01-06 11:41:03.2072] [I] [eth] Starting Pool ...
[2022-01-06 11:41:03.2111] [I] [eth] ExtraNonceProvider using 4 bits for instance id, 12 bits for 4095 values, instance id = 0xF
[2022-01-06 11:41:03.2271] [I] [eth] Starting Job Manager ...
[2022-01-06 11:41:03.3054] [E] [Host] BackgroundService failed System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Mining.StatsRecorder.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/StatsRecorder.cs:line 373
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Mining.StatsRecorder.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/StatsRecorder.cs:line 373
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 11:41:03.3103] [I] [eth] Waiting for daemons to come online ...
[2022-01-06 11:41:03.3158] [F] [Host] The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Mining.StatsRecorder.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/StatsRecorder.cs:line 373
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Mining.StatsRecorder.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/StatsRecorder.cs:line 373
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 11:41:03.3158] [I] [Lifetime] Application is shutting down...
[2022-01-06 11:41:03.3158] [E] [Host] BackgroundService failed System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Blockchain.JobManagerBase1.StartDaemonAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 46 at Miningcore.Blockchain.JobManagerBase1.StartAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 108
at Miningcore.Blockchain.Ethereum.EthereumPool.SetupJobManager(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/Ethereum/EthereumPool.cs:line 353
at Miningcore.Mining.PoolBase.RunAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/PoolBase.cs:line 371
at Miningcore.Program.<>c__DisplayClass17_0.<b__0>d.MoveNext() in /home/dev/miningcore/src/Miningcore/Program.cs:line 379
--- End of stack trace from previous location ---
at Miningcore.Program.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Program.cs:line 354
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Blockchain.JobManagerBase1.StartDaemonAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 46 at Miningcore.Blockchain.JobManagerBase1.StartAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 108
at Miningcore.Blockchain.Ethereum.EthereumPool.SetupJobManager(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/Ethereum/EthereumPool.cs:line 353
at Miningcore.Mining.PoolBase.RunAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/PoolBase.cs:line 371
at Miningcore.Program.<>c__DisplayClass17_0.<b__0>d.MoveNext() in /home/dev/miningcore/src/Miningcore/Program.cs:line 379
--- End of stack trace from previous location ---
at Miningcore.Program.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Program.cs:line 354
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 11:41:03.3201] [F] [Host] The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Blockchain.JobManagerBase1.StartDaemonAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 46 at Miningcore.Blockchain.JobManagerBase1.StartAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 108
at Miningcore.Blockchain.Ethereum.EthereumPool.SetupJobManager(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/Ethereum/EthereumPool.cs:line 353
at Miningcore.Mining.PoolBase.RunAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/PoolBase.cs:line 371
at Miningcore.Program.<>c__DisplayClass17_0.<b__0>d.MoveNext() in /home/dev/miningcore/src/Miningcore/Program.cs:line 379
--- End of stack trace from previous location ---
at Miningcore.Program.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Program.cs:line 354
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Blockchain.JobManagerBase1.StartDaemonAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 46 at Miningcore.Blockchain.JobManagerBase1.StartAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 108
at Miningcore.Blockchain.Ethereum.EthereumPool.SetupJobManager(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/Ethereum/EthereumPool.cs:line 353
at Miningcore.Mining.PoolBase.RunAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/PoolBase.cs:line 371
at Miningcore.Program.<>c__DisplayClass17_0.<b__0>d.MoveNext() in /home/dev/miningcore/src/Miningcore/Program.cs:line 379
--- End of stack trace from previous location ---
at Miningcore.Program.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Program.cs:line 354
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 11:41:03.3158] [E] [Host] BackgroundService failed System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Payments.PayoutManager.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Payments/PayoutManager.cs:line 261
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Payments.PayoutManager.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Payments/PayoutManager.cs:line 261
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 11:41:03.3296] [F] [Host] The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Payments.PayoutManager.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Payments/PayoutManager.cs:line 261
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Payments.PayoutManager.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Payments/PayoutManager.cs:line 261
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 11:41:03.3312] [E] [Host] BackgroundService failed System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 11:41:03.3312] [F] [Host] The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 11:41:03.3312] [E] [Host] BackgroundService failed System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 11:41:03.3312] [F] [Host] The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
root@inodeva:/home/dev/miningcore#

@oliverw
Copy link
Owner

oliverw commented Jan 6, 2022

You have cut off the version information from the top of the logs 😸

@konstiantyn
Copy link
Contributor Author

Using configuration file 'src/Miningcore/config.json'

[2022-01-06 12:15:08.5328] [I] [Core] Version 66.0.1.0-patch-1 [7877a70]
[2022-01-06 12:15:08.5452] [I] [Core] Runtime .NET 6.0.1 on Linux 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 [X64]
[2022-01-06 12:15:08.5452] [W] [Core] Running as root is discouraged!
[2022-01-06 12:15:08.5500] [I] [Core] Prometheus Metrics 0.0.0.0:4000/metrics
[2022-01-06 12:15:08.5500] [I] [Core] WebSocket notifications streaming 0.0.0.0:4000/notifications
[2022-01-06 12:15:09.3489] [I] [XmlKeyManager] User profile is available. Using '/root/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
[2022-01-06 12:15:09.3743] [I] [ShareRecorder] Online
[2022-01-06 12:15:09.4068] [I] [PayoutManager] Online
[2022-01-06 12:15:09.4068] [I] [StatsRecorder] Online
[2022-01-06 12:15:09.4742] [I] [Core] 59 coins loaded from '/home/dev/miningcore/build/coins.json'
[2022-01-06 12:15:09.4890] [I] [eth] Starting Pool ...
[2022-01-06 12:15:09.4914] [I] [eth] ExtraNonceProvider using 4 bits for instance id, 12 bits for 4095 values, instance id = 0xC
[2022-01-06 12:15:09.4914] [I] [Core] API Access to /api/admin restricted to 127.0.0.1,::1,::ffff:127.0.0.1
[2022-01-06 12:15:09.4914] [I] [Core] API Access to /metrics restricted to 127.0.0.1,::1,::ffff:127.0.0.1
[2022-01-06 12:15:09.4961] [I] [eth] Starting Job Manager ...
[2022-01-06 12:15:09.5657] [E] [Host] BackgroundService failed System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Mining.StatsRecorder.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/StatsRecorder.cs:line 373
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Mining.StatsRecorder.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/StatsRecorder.cs:line 373
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)

@oliverw
Copy link
Owner

oliverw commented Jan 6, 2022

Anything related in /var/log/syslog ?

@konstiantyn
Copy link
Contributor Author

I don't think so

@konstiantyn
Copy link
Contributor Author

konstiantyn commented Jan 6, 2022

Jan 6 00:00:17 systemd[1]: logrotate.service: Succeeded.
Jan 6 00:00:17 systemd[1]: Finished Rotate log files.
Jan 6 00:00:17 systemd[1]: man-db.service: Succeeded.
Jan 6 00:00:17 systemd[1]: Finished Daily man-db regeneration.
Jan 6 00:17:01 CRON[97924]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 00:20:09 systemd[1]: Started Session 402 of user dev.
Jan 6 00:20:39 systemd[1]: session-402.scope: Succeeded.
Jan 6 00:21:55 systemd[1]: Started Session 403 of user dev.
Jan 6 00:22:10 systemd[1]: Starting Ubuntu Advantage Timer for running repeated jobs...
Jan 6 00:22:11 systemd[1]: ua-timer.service: Succeeded.
Jan 6 00:22:11 systemd[1]: Finished Ubuntu Advantage Timer for running repeated jobs.
Jan 6 00:29:25 systemd[1]: Started Session 404 of user dev.
Jan 6 00:35:21 systemd[1]: Started Session 405 of user dev.
Jan 6 00:39:00 systemd[1]: Started Session 406 of user dev.
Jan 6 00:41:27 systemd[1]: Started Session 407 of user dev.
Jan 6 00:43:11 systemd[1]: Started Session 408 of user dev.
Jan 6 00:46:33 snapd[10884]: storehelpers.go:710: cannot refresh: snap has no updates available: "core18", "core20", "lxd", "snapd"
Jan 6 00:46:33 snapd[10884]: autorefresh.go:536: auto-refresh: all snaps are up-to-date
Jan 6 01:17:01 CRON[98958]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 02:17:01 CRON[99093]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 02:28:16 systemd[1]: session-391.scope: Succeeded.
Jan 6 03:10:01 CRON[99216]: (root) CMD (test -e /run/systemd/system || SERVICE_MODE=1 /sbin/e2scrub_all -A -r)
Jan 6 03:17:01 CRON[99230]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 04:17:01 CRON[99348]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 05:17:01 CRON[99558]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 05:45:17 systemd[1]: Starting Refresh fwupd metadata and update motd...
Jan 6 05:45:17 dbus-daemon[957]: [system] Activating via systemd: service name='org.freedesktop.fwupd' unit='fwupd.service' requested by ':1.260' (uid=62803 pid=99637 comm="/usr/bin/fwupdmgr refresh " label="unconfined")
Jan 6 05:45:17 systemd[1]: Starting Firmware update daemon...
Jan 6 05:45:17 fwupd[99650]: ERROR:esys:src/tss2-esys/esys_context.c:69:Esys_Initialize() Initialize default tcti. ErrorCode (0x000a000a)
Jan 6 05:45:17 dbus-daemon[957]: [system] Successfully activated service 'org.freedesktop.fwupd'
Jan 6 05:45:17 systemd[1]: Started Firmware update daemon.
Jan 6 05:45:17 fwupd[99650]: 05:45:17:0509 FuPluginPciMei ME family not supported for 0:0.0.0.0
Jan 6 05:45:17 systemd[1]: fwupd-refresh.service: Succeeded.
Jan 6 05:45:17 systemd[1]: Finished Refresh fwupd metadata and update motd.
Jan 6 06:15:51 systemd[1]: Starting Daily apt upgrade and clean activities...
Jan 6 06:16:21 systemd-networkd-wait-online[99775]: Event loop failed: Connection timed out
Jan 6 06:16:21 apt-helper[99760]: E: Sub-process /lib/systemd/systemd-networkd-wait-online returned an error code (1)
Jan 6 06:16:23 systemd[1]: apt-daily-upgrade.service: Succeeded.
Jan 6 06:16:23 systemd[1]: Finished Daily apt upgrade and clean activities.
Jan 6 06:17:01 CRON[99875]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 06:25:01 CRON[99895]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Jan 6 06:29:51 systemd[1]: Starting Refresh fwupd metadata and update motd...
Jan 6 06:29:51 systemd[1]: fwupd-refresh.service: Succeeded.
Jan 6 06:29:51 systemd[1]: Finished Refresh fwupd metadata and update motd.
Jan 6 06:40:17 systemd[1]: Starting Ubuntu Advantage Timer for running repeated jobs...
Jan 6 06:40:17 systemd[1]: ua-timer.service: Succeeded.
Jan 6 06:40:17 systemd[1]: Finished Ubuntu Advantage Timer for running repeated jobs.
Jan 6 07:17:01 CRON[100184]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 07:46:33 snapd[10884]: storehelpers.go:710: cannot refresh: snap has no updates available: "core18", "core20", "lxd", "snapd"
Jan 6 07:46:33 snapd[10884]: autorefresh.go:536: auto-refresh: all snaps are up-to-date
Jan 6 07:52:51 systemd[1]: Starting Message of the Day...
Jan 6 07:53:22 50-motd-news[100308]: * Super-optimized for small spaces - read how we shrank the memory
Jan 6 07:53:22 50-motd-news[100308]: footprint of MicroK8s to make it the smallest full K8s around.
Jan 6 07:53:22 50-motd-news[100308]: https://ubuntu.com/blog/microk8s-memory-optimisation
Jan 6 07:53:22 systemd[1]: motd-news.service: Succeeded.
Jan 6 07:53:22 systemd[1]: Finished Message of the Day.
Jan 6 08:04:01 CRON[100333]: (root) CMD ( test -x /etc/cron.daily/popularity-contest && /etc/cron.daily/popularity-contest --crond)
Jan 6 08:04:41 systemd[1]: session-406.scope: Succeeded.
Jan 6 08:17:01 CRON[100377]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 08:29:51 systemd[1]: fwupd.service: Succeeded.
Jan 6 09:17:01 CRON[100531]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 09:24:14 systemd[1]: Started Session 421 of user dev.
Jan 6 09:25:10 dbus-daemon[957]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.267' (uid=0 pid=101339 comm="/usr/bin/gdbus call --system --dest org.freedes>
Jan 6 09:25:10 systemd[1]: Starting PackageKit Daemon...
Jan 6 09:25:10 PackageKit: daemon start
Jan 6 09:25:10 dbus-daemon[957]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Jan 6 09:25:10 systemd[1]: Started PackageKit Daemon.
Jan 6 09:25:32 systemd[1]: Reloading.
Jan 6 09:25:32 systemd[1]: Reloading.
Jan 6 09:25:33 systemd[1]: Reloading.
Jan 6 09:25:36 systemd[1]: message repeated 6 times: [ Reloading.]
Jan 6 09:25:36 systemd[1]: Starting Daily apt download activities...
Jan 6 09:25:36 systemd[1]: Created slice system-postgresql.slice.
Jan 6 09:25:36 systemd[1]: Starting PostgreSQL Cluster 12-main...
Jan 6 09:25:38 systemd[1]: Started PostgreSQL Cluster 12-main.
Jan 6 09:25:38 systemd[1]: Starting PostgreSQL RDBMS...
Jan 6 09:25:38 systemd[1]: Finished PostgreSQL RDBMS.
Jan 6 09:25:38 systemd[1]: Reloading.
Jan 6 09:26:06 systemd-networkd-wait-online[103416]: Event loop failed: Connection timed out
Jan 6 09:26:06 apt-helper[103413]: E: Sub-process /lib/systemd/systemd-networkd-wait-online returned an error code (1)
Jan 6 09:26:09 systemd[1]: apt-daily.service: Succeeded.
Jan 6 09:26:09 systemd[1]: Finished Daily apt download activities.
Jan 6 09:29:28 systemd[1]: Started Session 422 of user dev.
Jan 6 09:31:10 PackageKit: daemon quit
Jan 6 09:31:10 systemd[1]: packagekit.service: Succeeded.
Jan 6 09:35:01 CRON[105388]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 09:45:01 CRON[105518]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 09:48:06 dbus-daemon[957]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.276' (uid=0 pid=106086 comm="/usr/bin/gdbus call --system --dest org.freedes>
Jan 6 09:48:06 systemd[1]: Starting PackageKit Daemon...
Jan 6 09:48:06 PackageKit: daemon start
Jan 6 09:48:06 dbus-daemon[957]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Jan 6 09:48:06 systemd[1]: Started PackageKit Daemon.
Jan 6 09:55:01 CRON[115243]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 09:56:31 PackageKit: daemon quit
Jan 6 09:56:31 systemd[1]: packagekit.service: Succeeded.
Jan 6 10:05:01 CRON[115303]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 10:15:01 CRON[115352]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 10:17:01 CRON[115369]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 10:22:05 systemd[1]: Started Session 429 of user dev.
Jan 6 10:25:01 CRON[115493]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 10:35:01 CRON[115552]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 10:38:29 systemd[1]: session-422.scope: Succeeded.
Jan 6 10:45:01 CRON[115646]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 10:55:01 CRON[115828]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 11:05:01 CRON[115874]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 11:14:09 systemd[1]: Started Session 435 of user dev.
Jan 6 11:15:01 CRON[116062]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 11:17:01 CRON[116088]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 11:25:01 CRON[117287]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 11:35:01 CRON[117452]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 11:45:01 CRON[118650]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 11:55:01 CRON[118704]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 12:05:01 CRON[118943]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 12:15:01 CRON[119128]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 12:17:01 CRON[119170]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 6 12:25:01 CRON[119451]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 12:33:23 systemd[1]: session-421.scope: Succeeded.
Jan 6 12:35:01 CRON[120814]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 12:45:01 CRON[121031]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 6 12:46:33 snapd[10884]: storehelpers.go:710: cannot refresh: snap has no updates available: "core18", "core20", "lxd", "snapd"
Jan 6 12:46:33 snapd[10884]: autorefresh.go:536: auto-refresh: all snaps are up-to-date

This is syslog.
And I synced geth goerli testnet. OS is ubuntu 20.04

@oliverw
Copy link
Owner

oliverw commented Jan 6, 2022

No idea what's going wrong at the moment. Try running with debug log level.

@konstiantyn
Copy link
Contributor Author

[2022-01-06 13:10:44.3787] [I] [Core] Version 66.0.0.0-master [f5a7f1a]
[2022-01-06 13:10:44.3961] [I] [Core] Runtime .NET 6.0.1 on Linux 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 [X64]
[2022-01-06 13:10:44.3961] [W] [Core] Running as root is discouraged!
[2022-01-06 13:10:44.4044] [I] [Core] Prometheus Metrics 0.0.0.0:4000/metrics
[2022-01-06 13:10:44.4044] [I] [Core] WebSocket notifications streaming 0.0.0.0:4000/notifications
[2022-01-06 13:10:45.2673] [D] [Host] Hosting starting
[2022-01-06 13:10:45.3072] [I] [XmlKeyManager] User profile is available. Using '/root/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
[2022-01-06 13:10:45.3335] [I] [ShareRecorder] Online
[2022-01-06 13:10:45.3343] [D] [MessageBus] Listening to Miningcore.Mining.StratumShare:
[2022-01-06 13:10:45.3727] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.TelemetryEvent:
[2022-01-06 13:10:45.3780] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.PoolStatusNotification:
[2022-01-06 13:10:45.3803] [I] [PayoutManager] Online
[2022-01-06 13:10:45.3803] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.PoolStatusNotification:
[2022-01-06 13:10:45.3824] [I] [StatsRecorder] Online
[2022-01-06 13:10:45.4694] [I] [Core] 59 coins loaded from '/home/dev/miningcore/build/coins.json'
[2022-01-06 13:10:45.4972] [D] [FileSystemXmlRepository] Reading data from file '/root/.aspnet/DataProtection-Keys/key-c9ed3146-6a1f-4376-9495-5047a909d6cd.xml'.
[2022-01-06 13:10:45.5034] [D] [XmlKeyManager] Found key {c9ed3146-6a1f-4376-9495-5047a909d6cd}.
[2022-01-06 13:10:45.5132] [D] [DefaultKeyResolver] Considering key {c9ed3146-6a1f-4376-9495-5047a909d6cd} with expiration date 2022-04-06 11:22:57Z as default key.
[2022-01-06 13:10:45.5034] [I] [eth] Starting Pool ...
[2022-01-06 13:10:45.5169] [I] [eth] ExtraNonceProvider using 4 bits for instance id, 12 bits for 4095 values, instance id = 0xA
[2022-01-06 13:10:45.5238] [I] [eth] Starting Job Manager ...
[2022-01-06 13:10:45.5238] [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-01-06 13:10:45.5275] [D] [ManagedAuthenticatedEncryptorFactory] Using managed symmetric algorithm 'System.Security.Cryptography.Aes'.
[2022-01-06 13:10:45.5275] [D] [ManagedAuthenticatedEncryptorFactory] Using managed keyed hash algorithm 'System.Security.Cryptography.HMACSHA256'.
[2022-01-06 13:10:45.5363] [D] [KeyRingProvider] Using key {c9ed3146-6a1f-4376-9495-5047a909d6cd} as the default key.
[2022-01-06 13:10:45.5363] [D] [DataProtectionHostedService] Key ring with default key {c9ed3146-6a1f-4376-9495-5047a909d6cd} was loaded during application startup.
[2022-01-06 13:10:45.5411] [I] [Core] API Access to /api/admin restricted to 127.0.0.1,::1,::ffff:127.0.0.1
[2022-01-06 13:10:45.5411] [I] [Core] API Access to /metrics restricted to 127.0.0.1,::1,::ffff:127.0.0.1
[2022-01-06 13:10:45.5446] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockFoundNotification:
[2022-01-06 13:10:45.5324] [D] [eth] ExecuteAsync(eth_getBlockByNumber)
[2022-01-06 13:10:45.5595] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockUnlockedNotification:
[2022-01-06 13:10:45.5595] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockConfirmationProgressNotification:
[2022-01-06 13:10:45.5595] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.NewChainHeightNotification:
[2022-01-06 13:10:45.5595] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.PaymentNotification:
[2022-01-06 13:10:45.5622] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.HashrateNotification:
[2022-01-06 13:10:45.5989] [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-01-06 13:10:45.6268] [D] [DefaultViewCompiler] Initializing Razor view compiler with no compiled views.
[2022-01-06 13:10:45.7423] [I] [eth] All daemons online
[2022-01-06 13:10:45.7423] [D] [eth] ExecuteAsync(net_peerCount)
[2022-01-06 13:10:45.7545] [E] [Host] BackgroundService failed System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Mining.StatsRecorder.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/StatsRecorder.cs:line 373
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Mining.StatsRecorder.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/StatsRecorder.cs:line 373
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 13:10:45.7746] [I] [eth] Waiting for daemons to connect to peers ...
[2022-01-06 13:10:45.7889] [F] [Host] The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Mining.StatsRecorder.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/StatsRecorder.cs:line 373
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Mining.StatsRecorder.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/StatsRecorder.cs:line 373
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 13:10:45.7889] [I] [Lifetime] Application is shutting down...
[2022-01-06 13:10:45.7889] [E] [Host] BackgroundService failed System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Payments.PayoutManager.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Payments/PayoutManager.cs:line 261
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Payments.PayoutManager.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Payments/PayoutManager.cs:line 261
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 13:10:45.7904] [F] [Host] The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Payments.PayoutManager.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Payments/PayoutManager.cs:line 261
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Payments.PayoutManager.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Payments/PayoutManager.cs:line 261
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 13:10:45.7904] [E] [Host] BackgroundService failed System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Blockchain.JobManagerBase1.StartDaemonAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 55 at Miningcore.Blockchain.JobManagerBase1.StartAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 108
at Miningcore.Blockchain.Ethereum.EthereumPool.SetupJobManager(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/Ethereum/EthereumPool.cs:line 353
at Miningcore.Mining.PoolBase.RunAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/PoolBase.cs:line 371
at Miningcore.Program.<>c__DisplayClass17_0.<b__0>d.MoveNext() in /home/dev/miningcore/src/Miningcore/Program.cs:line 379
--- End of stack trace from previous location ---
at Miningcore.Program.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Program.cs:line 354
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Blockchain.JobManagerBase1.StartDaemonAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 55 at Miningcore.Blockchain.JobManagerBase1.StartAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 108
at Miningcore.Blockchain.Ethereum.EthereumPool.SetupJobManager(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/Ethereum/EthereumPool.cs:line 353
at Miningcore.Mining.PoolBase.RunAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/PoolBase.cs:line 371
at Miningcore.Program.<>c__DisplayClass17_0.<b__0>d.MoveNext() in /home/dev/miningcore/src/Miningcore/Program.cs:line 379
--- End of stack trace from previous location ---
at Miningcore.Program.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Program.cs:line 354
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 13:10:45.7904] [F] [Host] The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Miningcore.Blockchain.JobManagerBase1.StartDaemonAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 55 at Miningcore.Blockchain.JobManagerBase1.StartAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 108
at Miningcore.Blockchain.Ethereum.EthereumPool.SetupJobManager(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/Ethereum/EthereumPool.cs:line 353
at Miningcore.Mining.PoolBase.RunAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/PoolBase.cs:line 371
at Miningcore.Program.<>c__DisplayClass17_0.<b__0>d.MoveNext() in /home/dev/miningcore/src/Miningcore/Program.cs:line 379
--- End of stack trace from previous location ---
at Miningcore.Program.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Program.cs:line 354
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Miningcore.Blockchain.JobManagerBase1.StartDaemonAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 55 at Miningcore.Blockchain.JobManagerBase1.StartAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/JobManagerBase.cs:line 108
at Miningcore.Blockchain.Ethereum.EthereumPool.SetupJobManager(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Blockchain/Ethereum/EthereumPool.cs:line 353
at Miningcore.Mining.PoolBase.RunAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Mining/PoolBase.cs:line 371
at Miningcore.Program.<>c__DisplayClass17_0.<b__0>d.MoveNext() in /home/dev/miningcore/src/Miningcore/Program.cs:line 379
--- End of stack trace from previous location ---
at Miningcore.Program.ExecuteAsync(CancellationToken ct) in /home/dev/miningcore/src/Miningcore/Program.cs:line 354
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 13:10:45.7904] [E] [Host] BackgroundService failed System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 13:10:45.7904] [F] [Host] The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 13:10:45.7904] [E] [Host] BackgroundService failed System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
[2022-01-06 13:10:45.7904] [F] [Host] The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)

@oliverw oliverw closed this as completed Jan 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants