bonesoul / CoiniumServ

Next-gen crypto currency mining pool software
Other
788 stars 498 forks source link

CoiniumServ: Nancyviewbrowser Web Sockets Error #1073

Open Mentors4EDU opened 5 years ago

Mentors4EDU commented 5 years ago
 Unhandled web-server exception: System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x000cf] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.IO.Stream.InternalCopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0000e] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at System.IO.Stream.CopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0009d] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at Nancy.Responses.GenericFileResponse+<>c__DisplayClass1.<GetFileContent>b__0 (System.IO.Stream stream) [0x0000c] in <bb3027f50b35411088f45475912cc2ff>:0 
  at Nancy.Hosting.Self.NancyHost.OutputWithDefaultTransferEncoding (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x0000d] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.ConvertNancyResponseToResponse (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x000c8] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.Process (System.Net.HttpListenerContext ctx) [0x00027] in <e8787200efe84e41bf54905d0d49151d>:0 
Mentors4EDU commented 5 years ago

Fixed when I closed another program. Problem is my pool configs were part of this program, probably will change ports.

Update, still ran into this, not fixed --->

 Unhandled web-server exception: System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x000cf] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.IO.Stream.InternalCopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0000e] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at System.IO.Stream.CopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0009d] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at Nancy.Responses.GenericFileResponse+<>c__DisplayClass1.<GetFileContent>b__0 (System.IO.Stream stream) [0x0000c] in <bb3027f50b35411088f45475912cc2ff>:0 
  at Nancy.Hosting.Self.NancyHost.OutputWithDefaultTransferEncoding (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x0000d] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.ConvertNancyResponseToResponse (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x000c8] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.Process (System.Net.HttpListenerContext ctx) [0x00027] in <e8787200efe84e41bf54905d0d49151d>:0 
14:54:00 [Error] [WebServer] [global] Unhandled web-server exception: System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x000cf] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.IO.Stream.InternalCopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0000e] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at System.IO.Stream.CopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0009d] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at Nancy.Responses.GenericFileResponse+<>c__DisplayClass1.<GetFileContent>b__0 (System.IO.Stream stream) [0x0000c] in <bb3027f50b35411088f45475912cc2ff>:0 
  at Nancy.Hosting.Self.NancyHost.OutputWithDefaultTransferEncoding (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x0000d] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.ConvertNancyResponseToResponse (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x000c8] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.Process (System.Net.HttpListenerContext ctx) [0x00027] in <e8787200efe84e41bf54905d0d49151d>:0 
Mentors4EDU commented 5 years ago

Tried updating --> https://github.com/bonesoul/CoiniumServ/blob/9d49d62aaff9813b8ca2948e07a5bc5574b33979/src/CoiniumServ/Persistance/Layers/Hybrid/HybridStorage.Statistics.cs

But still same problem after rebuild:

] Unhandled web-server exception: System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x000cf] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.IO.Stream.InternalCopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0000e] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at System.IO.Stream.CopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0009d] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at Nancy.Responses.GenericFileResponse+<>c__DisplayClass1.<GetFileContent>b__0 (System.IO.Stream stream) [0x0000c] in <bb3027f50b35411088f45475912cc2ff>:0 
  at Nancy.Hosting.Self.NancyHost.OutputWithDefaultTransferEncoding (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x0000d] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.ConvertNancyResponseToResponse (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x000c8] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.Process (System.Net.HttpListenerContext ctx) [0x00027] in <e8787200efe84e41bf54905d0d49151d>:0 
15:13:51 [Error] [WebServer] [global] Unhandled web-server exception: System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x000cf] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.IO.Stream.InternalCopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0000e] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at System.IO.Stream.CopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0009d] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at Nancy.Responses.GenericFileResponse+<>c__DisplayClass1.<GetFileContent>b__0 (System.IO.Stream stream) [0x0000c] in <bb3027f50b35411088f45475912cc2ff>:0 
  at Nancy.Hosting.Self.NancyHost.OutputWithDefaultTransferEncoding (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x0000d] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.ConvertNancyResponseToResponse (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x000c8] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.Process (System.Net.HttpListenerContext ctx) [0x00027] in <e8787200efe84e41bf54905d0d49151d>:0 
15:13:57 [Error] [WebServer] [global] Unhandled web-server exception: System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x000cf] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.IO.Stream.InternalCopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0000e] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at System.IO.Stream.CopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0009d] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at Nancy.Responses.GenericFileResponse+<>c__DisplayClass1.<GetFileContent>b__0 (System.IO.Stream stream) [0x0000c] in <bb3027f50b35411088f45475912cc2ff>:0 
  at Nancy.Hosting.Self.NancyHost.OutputWithDefaultTransferEncoding (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x0000d] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.ConvertNancyResponseToResponse (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x000c8] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.Process (System.Net.HttpListenerContext ctx) [0x00027] in <e8787200efe84e41bf54905d0d49151d>:0 
15:14:14 [Error] [WebServer] [global] Unhandled web-server exception: System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.InternalWrite (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x0001b] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.Net.ResponseStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x000cf] in <9b672a45b19f4d52b5f28f32c0c91d97>:0 
  at System.IO.Stream.InternalCopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0000e] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at System.IO.Stream.CopyTo (System.IO.Stream destination, System.Int32 bufferSize) [0x0009d] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at Nancy.Responses.GenericFileResponse+<>c__DisplayClass1.<GetFileContent>b__0 (System.IO.Stream stream) [0x0000c] in <bb3027f50b35411088f45475912cc2ff>:0 
  at Nancy.Hosting.Self.NancyHost.OutputWithDefaultTransferEncoding (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x0000d] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.ConvertNancyResponseToResponse (Nancy.Response nancyResponse, System.Net.HttpListenerResponse response) [0x000c8] in <e8787200efe84e41bf54905d0d49151d>:0 
  at Nancy.Hosting.Self.NancyHost.Process (System.Net.HttpListenerContext ctx) [0x00027] in <e8787200efe84e41bf54905d0d49151d>:0 
YLXTechnologies commented 5 years ago

@bonesoul do you know how to fix this? I having same issue.

On ubuntu: screenshot from 2018-10-24 18-26-24

On windows: screenshot from 2018-10-23 19-23-04