AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

TCP Problems
 
 

Hi there,

Hoping there are some network gurus out there who might have some insight into this. When I start ChatScript in server mode and then connect using the local client (or over the net), the bot works but I get the following error messages in the user file.

2 Tue Aug 27 13:20:37 2019 in sentence: how are you
  TCP xxx.xxx.xxx.xxx closed connection prematurely
2 Tue Aug 27 13:20:42 2019 in sentence: how are you
  TCP xxx.xxx.xxx.xxx closed connection prematurely
2 Tue Aug 27 13:20:47 2019 in sentence: how are you
  TCP xxx.xxx.xxx.xxx closed connection prematurely
2 Tue Aug 27 13:20:52 2019 in sentence: how are you
  TCP xxx.xxx.xxx.xxx closed connection prematurely
2 Tue Aug 27 13:20:57 2019 in sentence: how are you

They will continue forever, every 5 seconds, even after I have closed the local client. Currently this only happens on my server (Windows Server 2012 R2) and not on my desktop. I have TCP 1024 inbound and outbound open on the Server Firewall but I am not a firewall or server expert so I may have configured that incorrectly.

Any thoughts on why this is happening and how to fix it?

Thanks,

Doug

 

 
  [ # 1 ]

Update:

This behavior occurs as soon as I start ChatScript in server mode or local mode and does not require any inbound connection (or even entering a user name). In the LOGS/bugs.txt and see the following:

Finished 0: heapusedOnEntry: 0 heapUsedNow: 14073800 buffers:0 stackused: 154513816 stackusedNow:171494   -
TCP xxx.xxx.xxx.xxx closed connection prematurely

MinReleaseStackGap 85MB MinHeapAvailable 85MB
MaxBuffers used 2 of 80

Finished 0: heapusedOnEntry: 0 heapUsedNow: 14073800 buffers:0 stackused: 154513816 stackusedNow:171494   -

That repeats over and over.

I also turned off the firewall completely and that had no effect.

Thanks,

Doug

p.s. It has been going on for a while since my original bugs.txt file was 1,458,678 KB grin

 

 
  [ # 2 ]

I have solved this by adding “interface=127.0.0.1” to the server batch startup file. Not really sure what that did but it solved my problem! grin

Doug

 

 
  login or register to react