Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception #15

Open
Raizen9 opened this issue Dec 21, 2022 · 2 comments
Open

Unhandled exception #15

Raizen9 opened this issue Dec 21, 2022 · 2 comments

Comments

@Raizen9
Copy link

Raizen9 commented Dec 21, 2022

The faucet was running on Ubuntu 20.04.5 LTS inside a VM

Unhandled exception. MessagePack.MessagePackSerializationException: Failed to deserialize Miner.Models.Reward value.
 ---> MessagePack.MessagePackSerializationException: Unexpected msgpack code 0 (positive fixint) encountered.
   at MessagePack.MessagePackReader.ThrowInvalidCode(Byte code)
   at MessagePack.MessagePackReader.TryGetBytesLength(Int32& length)
   at MessagePack.MessagePackReader.GetBytesLength()
   at MessagePack.MessagePackReader.ReadBytes()
   at MessagePack.Formatters.Miner_Models_RewardFormatter2.Deserialize(MessagePackReader& reader, MessagePackSerializerOptions options)
   at MessagePack.MessagePackSerializer.Deserialize[T](MessagePackReader& reader, MessagePackSerializerOptions options)
   --- End of inner exception stack trace ---
   at MessagePack.MessagePackSerializer.Deserialize[T](MessagePackReader& reader, MessagePackSerializerOptions options)
   at MessagePack.MessagePackSerializer.Deserialize[T](ReadOnlyMemory`1 buffer, MessagePackSerializerOptions options, CancellationToken cancellationToken)
   at Miner.ViewModels.MinerViewModel.<Connect>b__46_1() in /home/runner/work/faucet.miner/faucet.miner/miner/ViewModels/MinerViewModel.cs:line 197
   at Miner.Helper.AsyncHelper.RunSync[TResult](Func`1 func) in /home/runner/work/faucet.miner/faucet.miner/miner/Helper/AsyncHelper.cs:line 25
   at Miner.ViewModels.MinerViewModel.<Connect>b__46_0(HubConnectionState x) in /home/runner/work/faucet.miner/faucet.miner/miner/ViewModels/MinerViewModel.cs:line 191
   at System.Reactive.AnonymousSafeObserver`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:line 43
   at System.Reactive.Concurrency.Scheduler.<>c__67`1.<SchedulePeriodic>b__67_0(ValueTuple`2 t) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Services.Emulation.cs:line 79
   at System.Reactive.Concurrency.DefaultScheduler.PeriodicallyScheduledWorkItem`1.<>c.<Tick>b__5_0(PeriodicallyScheduledWorkItem`1 closureWorkItem) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/DefaultScheduler.cs:line 127
   at System.Reactive.Concurrency.AsyncLock.Wait(Object state, Delegate delegate, Action`2 action) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/AsyncLock.cs:line 93
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
   at System.Threading.TimerQueue.FireNextTimers()
Abandon (core dumped)
@Prusias
Copy link

Prusias commented Dec 21, 2022

I ran into the same issue, Ubuntu 18.04.6 LTS on bare metal.

Unhandled exception. MessagePack.MessagePackSerializationException: Failed to deserialize Miner.Models.Reward value.
 ---> MessagePack.MessagePackSerializationException: Unexpected msgpack code 0 (positive fixint) encountered.
   at MessagePack.MessagePackReader.ThrowInvalidCode(Byte code)
   at MessagePack.MessagePackReader.TryGetBytesLength(Int32& length)
   at MessagePack.MessagePackReader.GetBytesLength()
   at MessagePack.MessagePackReader.ReadBytes()
   at MessagePack.Formatters.Miner_Models_RewardFormatter2.Deserialize(MessagePackReader& reader, MessagePackSerializerOptions options)
   at MessagePack.MessagePackSerializer.Deserialize[T](MessagePackReader& reader, MessagePackSerializerOptions options)
   --- End of inner exception stack trace ---
   at MessagePack.MessagePackSerializer.Deserialize[T](MessagePackReader& reader, MessagePackSerializerOptions options)
   at Miner.ViewModels.MinerViewModel.<Connect>b__46_1() in /home/runner/work/faucet.miner/faucet.miner/miner/ViewModels/MinerViewModel.cs:line 200
   at Miner.Helper.AsyncHelper.RunSync[TResult](Func`1 func) in /home/runner/work/faucet.miner/faucet.miner/miner/Helper/AsyncHelper.cs:line 25
   at Miner.ViewModels.MinerViewModel.<Connect>b__46_0(HubConnectionState x) in /home/runner/work/faucet.miner/faucet.miner/miner/ViewModels/MinerViewModel.cs:line 202
   at System.Reactive.AnonymousSafeObserver`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:line 54
   at System.Reactive.Concurrency.Scheduler.<>c__67`1.<SchedulePeriodic>b__67_0(ValueTuple`2 t) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/Scheduler.Services.Emulation.cs:line 79
   at System.Reactive.Concurrency.DefaultScheduler.PeriodicallyScheduledWorkItem`1.<>c.<Tick>b__5_0(PeriodicallyScheduledWorkItem`1 closureWorkItem) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/DefaultScheduler.cs:line 127
   at System.Reactive.Concurrency.AsyncLock.Wait(Object state, Delegate delegate, Action`2 action) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/AsyncLock.cs:line 93
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
   at System.Threading.TimerQueue.FireNextTimers()
[1]    12294 abort (core dumped)

@Prusias
Copy link

Prusias commented Dec 23, 2022

Still occurring on 0.0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants