cancel
Showing results for 
Search instead for 
Did you mean: 

Closed connection

skuvvv
New Contributor
Hello,
I started getting the following error:
"Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host."
My application based on C#, 
server is KDB+ 3.5 64bit.
Both application and server launched on same machine with Win10.

Communication between them going using qSharp(latest version).

StackTrace:
 System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
  qSharp.QWriter.Write(Object obj, MessageType msgType)
  qSharp.QBasicConnection.Query(MessageType msgType, String query, Object[] parameters)
  qSharp.QBasicConnection.Async(String query, Object[] parameters)
   KDBS.Core.EmitNewL12(L1Record l1) //my application

The problem appeared suddenly, my environment worked fine for the years until this.

How can I get details from the server side(KDB+)?

1 REPLY 1

Mochalin_Igor
New Contributor
Hi Vadim, 
Try to add debug info  to .z.pc
more info is here (.z namespace) https://code.kx.com/wiki/Reference


пт, 4 янв. 2019 г. в 17:55, Vadim Skubilin <skuvvv@gmail.com>:
Hello,
I started getting the following error:
"Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host."
My application based on C#, 
server is KDB+ 3.5 64bit.
Both application and server launched on same machine with Win10.

Communication between them going using qSharp(latest version).

StackTrace:
 System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
  qSharp.QWriter.Write(Object obj, MessageType msgType)
  qSharp.QBasicConnection.Query(MessageType msgType, String query, Object[] parameters)
  qSharp.QBasicConnection.Async(String query, Object[] parameters)
   KDBS.Core.EmitNewL12(L1Record l1) //my application

The problem appeared suddenly, my environment worked fine for the years until this.

How can I get details from the server side(KDB+)?

--
You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to personal-kdbplus+unsubscribe@googlegroups.com.
To post to this group, send email to personal-kdbplus@googlegroups.com.
Visit this group at https://groups.google.com/group/personal-kdbplus.
For more options, visit https://groups.google.com/d/optout.


--
Best regards, 
Igor. LinkedIn