bonesoul / CoiniumServ

Next-gen crypto currency mining pool software
Other
793 stars 494 forks source link

[Error] [HybridStorage] [Bitcoin] An exception occured while comitting share #788

Open jeong760 opened 7 years ago

jeong760 commented 7 years ago

Dears,

I have the following issue when I running a CoiniumServ on Windows machine with redis-server. How can I solved this error?

23:35:27 [Error] [HybridStorage] [Bitcoin] An exception occured while comitting share: Cannot write to a BufferedStream while the read buffer is not empty if the underlying stream is not seekable. Ensure that the stream underlying this BufferedStream can seek or avoid interleaving read and write operations on this BufferedStream.

Regards, John Ahn

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44194057-error-hybridstorage-bitcoin-an-exception-occured-while-comitting-share?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F401667&utm_medium=issues&utm_source=github).
jeong760 commented 7 years ago

Dears,

This error occurred before above issue came out. Does anyone have same issue like me on Windows 7 or 10?

4/16/2017 23:29:25 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "192.168.1.102:57314" 04/16/2017 23:29:25 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "192.168.1.102:57315" 04/16/2017 23:29:28 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "192.168.1.102:42597" 04/16/2017 23:29:28 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "192.168.1.102:42596" 04/16/2017 23:29:32 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "192.168.1.102:51571" 04/16/2017 23:29:32 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "192.168.1.102:51572" 04/16/2017 23:30:25 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "192.168.1.102:57315" 04/16/2017 23:30:28 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "192.168.1.102:42597" 04/16/2017 23:30:32 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "192.168.1.102:51572" 04/16/2017 23:30:55 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "192.168.1.102:57316" 04/16/2017 23:30:58 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "192.168.1.102:42598" 04/16/2017 23:31:02 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "192.168.1.102:51573" 04/16/2017 23:31:55 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "192.168.1.102:57316" 04/16/2017 23:31:58 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "192.168.1.102:42598" 04/16/2017 23:32:02 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "192.168.1.102:51573" 04/16/2017 23:32:26 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "192.168.1.102:57317" 04/16/2017 23:32:28 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "192.168.1.102:42599" 04/16/2017 23:32:32 +09:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "192.168.1.102:51574" 04/16/2017 17:40:35 +09:00 [Information] [BlockProcessor] [Bitcoin] No pending blocks found 04/16/2017 17:41:12 +09:00 [Information] [JobManager] [Bitcoin] Broadcasted new job 0x4 to 3 subscribers as no new blocks found for last 55 seconds 04/16/2017 17:43:22 +09:00 [Information] [BanManager] [Bitcoin] No expired bans found to be cleared [remaining bans: 0].

04/16/2017 21:03:43 +09:00 [Error] [HybridStorage] [Bitcoin] An exception occured while comitting share: Unexpected response type: MultiBulk (expecting Int)

Regards, John Ahn

jeong760 commented 7 years ago

Dears,

Is following releated with BufferStream error? if I changed to another value then is there anything make an problem on the CoiniumServ server?

CoiniumServ/src/CoiniumServ/Server/Mining/Stratum/Sockets/Connection.cs ///

/// Default buffer size. /// public static readonly int BufferSize = 16 * 1024; // 16 KB

to modify like following? public static readonly int BufferSize = 32 * 1024; // 32 KB

Regards, John Ahn

jeong760 commented 7 years ago

Dears,

Finally, I figure out the cause of root related with asyncBufferSize of CSREDIS of NUGET package. Following I was copied from xml file of csredis. we will need to increase a asyncBufferSize in order to solved this errors.

Create a new RedisClient with specific async concurrency settings Redis server hostname Redis server port Max concurrent threads (default 1000) Async thread buffer size (default 10240 bytes)

bonesoul commented 7 years ago

Create a pull request please so we can apply the fix.

jeong760 commented 7 years ago

Dear Bonesoul, Thank you for replay my reported error.I was create a new pull request as following https://github.com/bonesoul/CoiniumServ/pull/790 Regards,John Ahn-----Original Message----- From: "Hüseyin Uslu"<notifications@github.com> To: "bonesoul/CoiniumServ"<CoiniumServ@noreply.github.com>; Cc: "jeong760"<jeong760@naver.com>; "Author"<author@noreply.github.com>; Sent: 2017-04-17 (월) 20:11:13 Subject: Re: [bonesoul/CoiniumServ] [Error] [HybridStorage] [Bitcoin] An exception occured while comitting share (#788)

Create a pull request please so we can apply the fix.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

jeong760 commented 7 years ago

Dears,

Also when I use a AUTH mode on Redis it shows me following.

22:32:55 [Error] [RedisProvider] [Litecoin] Redis storage initialization failed: 127.0.0.1:6379 - NOAUTH Authentication required.

jeong760 commented 7 years ago

Dears,

I needed more time to the investigation of csredis issues as I mentioned above. because I was changed a BTC stratum diff option on configuration file like following. and after it was not appeared again.

So I was little bits confused why? because I was changed only two things as following

"targetTime": 10,  # it was a 15
 "retargetTime": 25, # it was a 90

Before "stratum": { "enabled": true, "port": 3333, "bind": "0.0.0.0", "diff": 512, "vardiff": { "enabled": true, "minDiff": 256, "maxDiff": 32768, "targetTime": 15, "retargetTime": 90, "variancePercent": 30

After "stratum": { "enabled": true, "port": 3333, "bind": "192.168.111.100", "diff": 512, "vardiff": { "enabled": true, "minDiff": 256, "maxDiff": 32768, "targetTime": 10, "retargetTime": 25, "variancePercent": 30

Regards, John Ahn

jeong760 commented 7 years ago

Dears,

Also, I am not professional programmer and not familiar GitHub so I don't know how to request a PR for only specific modules.

Regards, John Ahn

jeong760 commented 7 years ago

Dears,

Definitely, it caused by CSREDIS connector between CoiniumServ to the Redis-server on Windows PC. I have tested an above configuration around 1 hours and after CoiniumServ goes to display an error message.

Symptoms

[Error] [HybridStorage] [Bitcoin] An exception occurred while committing share: Unexpected response type: MultiBulk (expecting Int)

[Error] [HybridStorage] [Bitcoin] An exception occurred while committing share: Cannot write to a BufferedStream while the read buffer is not empty if the underlying stream is not seekable. Ensure that the stream underlying this BufferedStream can seek or avoid interleaving read and write operations on this BufferedStream.

Solutions

Currently, I am trying to solve this error but there is no way except modification of CSREDIS

Regards, John Ahn

jeong760 commented 7 years ago

Dears,

If I turn off the Redis-server then is there anything problem on CoiniumServ server except the pool information? Why Redis-Server needed?

Regards, John Ahn

bonesoul commented 7 years ago

Redis is used for shares calculation, without it you won't be able to determine your workers profits/shares.

jeong760 commented 7 years ago

Dears,

Does it relate to the following code on VardiffManger.cs?

The _Buffersize on VardiffManger.cs file. var variance = Config.TargetTime ((float)Config.VariancePercent / 100); _Buffersize = Config.RetargetTime / Config.TargetTime 4 _tMin = Config.TargetTime - variance; _tMax = Config.TargetTime +variance;

Because as I mentioned above when I adjustment the following value on default.json. it delayed shows up BufferStream errors for 3 hours later or nothing happen. but if I increase this values then BufferStream Error show up on the screen after bitcoin pool activated.

I was changed a those two values more shorter than original settings. and it does not happen or occurred showed up around 3 hours later.

The configuration values on default.Json for Target and Retarget time. "targetTime": 10, # it was a 15 "retargetTime": 25, # it was a 90

So I think that BufferStream error message related to those values on /pools/*.json file. if I changed _Buffersize value like following what does it affect on CoiniumServ pool for BTC?

_Buffersize = Config.RetargetTime / Config.TargetTime * 8 or more grater values.

Regards, John Ahn

jeong760 commented 7 years ago

Dears,

What is following code on VardiffManger.cs file? Does it set up any buffer size on connected miner in the pool for used for share submission?

if (miner.VardiffBuffer == null) { miner.LastVardiffRetarget = now - Config.RetargetTime / 2; miner.LastVardiffTimestamp = now; miner.VardiffBuffer = new RingBuffer(_bufferSize); return; }

Regards, John Ahn

jeong760 commented 7 years ago

Dears,

That's all I assume that BufferStram errors of CoiniumServ server. I don't have much time to relies on testing for CoiniumServ and check for a code and also I am not a programmer. but I want to solve this issue for other people who want to use a CoiniumServ for their mining pool solution.

Even though, someone wrote that this project was abandoned and only a few programmers remaining and struggle to improve a CoiniumServ.

And I show your question about error messages that The requested feature is not implemented on csredis. you have opened this question on 2014 and end of this question you mentioned it was solved. but I have a Redis connection issue with the same error message on Ubuntu Linux 14.04 and 16.04 LTS version when I running a CoiniumServ.

My issues link here: https://github.com/bonesoul/CoiniumServ/issues/787

So the problem does not solve or it comes again when after you changed to use a csredis on Nuget version.

Link: https://github.com/ctstone/csredis/issues/22

Regards, John Ahn

jeong760 commented 7 years ago

Dears,

Can we available to use following csredis instead current one?

Nuget name: CSRedis .NETCore 1.0.0: https://www.nuget.org/packages/CSRedisCore/ Projectsire on Github: https://github.com/2881099/csredis/tree/master/CSRedis

Regards, John Ahn

jeong760 commented 7 years ago

Dears,

Where can I find a database create format data on CoiniumServ source code? I want to check for database create command data for Redis and Mysql.

Could you possible to give me a short description of each source code folder do(Their Purpose)?

bonesoul commented 7 years ago

https://github.com/bonesoul/CoiniumServ/tree/develop/src/CoiniumServ/Persistance/Layers

jeong760 commented 7 years ago

Dears,

Please refer to the following comment of Streaming Response matter. In order to avoid a large result issues like BULK we should insert a code somewhere in CoiniumServ.

Streaming responses

For large result sizes, it may be preferred to stream the raw bytes from the server rather than allocating large chunks of memory in place. This can be achieved with RedisClient.StreamTo(). Note that this only applies to BULK responses (e.g. GET, HGET, LINDEX, etc). Attempting to stream any other response will result in an InvalidOperationException. Here is an example that stores the response in a MemoryStream 64 bytes at a time. A more useful example might use a FileStream and a larger buffer size.

redis.Set("test", new string('x', 1048576)); // 1MB string using (var ms = new MemoryStream()) { redis.StreamTo(ms, 64, r => r.Get("test")); // read in small 64 byte blocks byte[] bytes = ms.ToArray(); // optional: get the bytes if needed }

jeong760 commented 7 years ago

Currently, when a miner is trying to insert a large result of shares into Redis server it generates following errors. so we need to modification a HybridStorage Redis provider section. but I don't know where...

04/20/2017 11:22:13 +09:00 [Error] [HybridStorage] [Bitcoin] An exception occured while comitting share: Unexpected response type: Bulk (expecting Int) 04/20/2017 11:22:13 +09:00 [Error] [HybridStorage] [Bitcoin] An exception occured while comitting share: Unexpected response type: Int (expecting Bulk)

Redis is handling this large result of shares as InvalidOperationException because there is no for "RedisClient.StreamTo()" code for fast miner trying to insert a large shares result.

Regards, John Ahn

jeong760 commented 7 years ago

Dears,

As you see the following logs CoiniumServ generate a System.InvalidOperationException, which related with Redis result insert of large shares by fast miner generated during initial targeting from 16 until 15 seconds.

The thread 0x3404 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x2474 has exited with code 0 (0x0). The thread 0x3570 has exited with code 0 (0x0). The thread 0x2f0c has exited with code 0 (0x0). The thread 0x20d8 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x2678 has exited with code 0 (0x0). The thread 0xb68 has exited with code 0 (0x0). The thread 0xbf4 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x158 has exited with code 0 (0x0). The thread 0x3274 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x35bc has exited with code 0 (0x0). The thread 0x373c has exited with code 0 (0x0). The thread 0x3184 has exited with code 0 (0x0). The thread 0xb74 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x2634 has exited with code 0 (0x0). The thread 0x2180 has exited with code 0 (0x0). The thread 0xbcc has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x2f0c has exited with code 0 (0x0). The thread 0x21e4 has exited with code 0 (0x0). The thread 0x1698 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x1894 has exited with code 0 (0x0). The thread 0x2c48 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x2758 has exited with code 0 (0x0). The thread 0x2a18 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x31b8 has exited with code 0 (0x0). The thread 0x34e0 has exited with code 0 (0x0). The thread 0xf68 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0xa9c has exited with code 0 (0x0). The thread 0x15dc has exited with code 0 (0x0). The thread 0x2c78 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x2630 has exited with code 0 (0x0). The thread 0x3090 has exited with code 0 (0x0). The thread 0x2160 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x2ee8 has exited with code 0 (0x0). The thread 0x2484 has exited with code 0 (0x0). The thread 0x2664 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x2268 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x2e94 has exited with code 0 (0x0). The thread 0x2aac has exited with code 0 (0x0). The thread 0x24a4 has exited with code 0 (0x0). The thread 0x2b70 has exited with code 0 (0x0). The thread 0x1590 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x2fec has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x2698 has exited with code 0 (0x0). The thread 0x2e20 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x312c has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x3700 has exited with code 0 (0x0). The thread 0xa9c has exited with code 0 (0x0). The thread 0x32b4 has exited with code 0 (0x0). The thread 0x29f0 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe The thread 0x34ac has exited with code 0 (0x0). The thread 0x2f2c has exited with code 0 (0x0).

jeong760 commented 7 years ago

Dears,

Here are Redis XML file contents for the BULK response...

-

Create a new RedisClient

Redis server hostname Redis server port -

Create a new RedisClient with specific async concurrency settings

Redis server hostname Redis server port Max concurrent threads (default 1000) Async thread buffer size (default 10240 bytes) -

Begin buffered pipeline mode (calls return immediately; use EndPipe() to execute batch)

-

Begin buffered pipeline mode within the context of a transaction (calls return immediately; use EndPipe() to excute batch)

+ -<member **name="M:CSRedis.RedisClient.StreamTo1(System.IO.Stream,System.Func{CSRedis.IRedisClient,0})">

Stream a BULK reply from the server using default buffer size Response type

Destination stream Client command to execute (BULK reply only) -

Stream a BULK reply from the server Response type

Destination stream Size of buffer used to write server response Client command to execute (BULK reply only)**

jeong760 commented 7 years ago

'CoiniumServ.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\CoiniumServ.exe'. Symbols loaded. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\Nancy.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\Serilog.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'Anonymously Hosted DynamicMethods Assembly'. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\AustinHarris.JsonRpc.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\Serilog.FullNetFx.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Collections\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Extensions\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Runtime.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Linq\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.IO\v4.0_4.0.0.0b03f5f7f11d50a3a\System.IO.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Globalization\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Globalization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0b03f5f7f11d50a3a\Microsoft.CSharp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\JsonConfig.dll'. Symbols loaded. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\Newtonsoft.Json.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0b77a5c561934e089\System.Numerics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0b77a5c561934e089\System.Runtime.Serialization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0b77a5c561934e089\System.Xml.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0b77a5c561934e089\System.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Dynamic.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Exception thrown: 'System.NotSupportedException' in mscorlib.dll 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\JsonFx.dll'. Module was built without symbols. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Threading\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic.Runtime\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Dynamic.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Linq.Expressions\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Linq.Expressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Reflection\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Reflection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\RestSharp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\Metrics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\MySql.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0b77a5c561934e089\System.Transactions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0b03f5f7f11d50a3a\System.EnterpriseServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Management.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\csredis.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\FluentMigrator.Runner.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\FluentMigrator.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\Nancy.CustomErrors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. The thread 0x614 has exited with code 0 (0x0). The thread 0x1bf8 has exited with code 0 (0x0). The thread 0x2f1c has exited with code 0 (0x0). The thread 0x1cd0 has exited with code 0 (0x0). 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\Gibbed.IO.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\BouncyCastle.Crypto.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Exception thrown: 'System.Net.WebException' in System.dll Exception thrown: 'CoiniumServ.Daemon.Exceptions.RpcErrorException' in CoiniumServ.exe The thread 0x36c0 has exited with code 0 (0x0). Exception thrown: 'System.Net.WebException' in System.dll Exception thrown: 'CoiniumServ.Daemon.Exceptions.RpcErrorException' in CoiniumServ.exe Exception thrown: 'System.Net.WebException' in System.dll Exception thrown: 'CoiniumServ.Daemon.Exceptions.RpcErrorException' in CoiniumServ.exe 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\Dapper.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. The thread 0x1c78 has exited with code 0 (0x0). Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.InvalidOperationException' in CoiniumServ.exe Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\Nancy.Hosting.Self.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\Nancy.Metrics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\Nancy.ViewEngines.Razor.BuildProviders.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\Nancy.ViewEngines.Razor.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0b03f5f7f11d50a3a\System.Web.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\Temp\CoiniumServ-develop\bin\Debug\System.Web.Razor.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'CoiniumServ.exe' (CLR v4.0.30319: CoiniumServ.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. The program '[10872] CoiniumServ.exe' has exited with code -1073741510 (0xc000013a).