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

CoiniumServ: Nancyviewbrowser Web Sockets Error #1073

Open
Mentors4EDU opened this issue Oct 16, 2018 · 3 comments
Open

CoiniumServ: Nancyviewbrowser Web Sockets Error #1073

Mentors4EDU opened this issue Oct 16, 2018 · 3 comments

Comments

@Mentors4EDU
Copy link

 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 Mentors4EDU changed the title Nancyviewbrowser Web Sockets Error CoiniumServ: Nancyviewbrowser Web Sockets Error Oct 16, 2018
@Mentors4EDU
Copy link
Author

Mentors4EDU commented Oct 16, 2018

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
Copy link
Author

Mentors4EDU commented Oct 16, 2018

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
Copy link

@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

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