Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 28 total
Thread 1107 The session ID 4 is no longer present on the server
Wed, Dec 30 2015 10:51 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

In the background email part of my app I'm getting this occasionally (less than once a month on average). I'm not sure what's doing it (I suspect AV software).

This app uses two sessions both with pinging.

I decided to write an OnRemoteReconect handler. My question is how do I know what's triggered the event - I only need to bother about the 1107 error, anything else it can just sort itself out.

Roy Lambert
Wed, Dec 30 2015 4:00 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< In the background email part of my app I'm getting this occasionally (less than once a month on average). I'm not sure what's doing it (I suspect AV software).

This app uses two sessions both with pinging. >>

Well, the pinging thread won't tell anyone if it can't ping the server for any reason because it's running in a thread and really has no way of notifying the main UI thread in a coherent manner because it doesn't know if it exists. So, there could very well be a connection issue that is present that the pinging won't be able to help with.

<< I decided to write an OnRemoteReconect handler. My question is how do I know what's triggered the event - I only need to bother about the 1107 error, anything else it can just sort itself out. >>

Are you actually sure that the connection is dropping and not timing out or something else ?  What does the logged events for the EDB Server indicate in terms of when these sessions are disconnected/removed, and why ?  It will give timestamps of when the session is disconnected/removed, as well as whether the session was removed because the EDB Server considered it to be "dead".

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Dec 31 2015 4:02 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim


Having just had a flash of inspiration to filter the log down to the machine with the server on it I think I'm getting

Close Session 9999 Access violation at address 00403F5E in module 'edbsrvr.exe'. Read of address 04204B8C 2015-12-29 23:52:29.102

followed by

Connect Session 2015-12-29 23:53:30.882

followed by lots like

Reconnect Session 1107 The session ID 4 is no longer present on the server 2015-12-29 23:53:35.872

Looking at the log file (still learning) I can see that I'm using teh 2.18 server so I'll bring that up to 2.20

The AV and 1107s are in session LogManager sessionid 1 which I presume is one of yours.


Roy Lambert
Thu, Dec 31 2015 10:25 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Having just had a flash of inspiration to filter the log down to the machine with the server on it I think I'm getting

Close Session 9999 Access violation at address 00403F5E in module 'edbsrvr.exe'. Read of address 04204B8C 2015-12-29 23:52:29.102 >>

How often does that appear ?

The only issue that is 2.18 or higher that may apply is this one:

http://www.elevatesoft.com/incident?action=viewrep&category=edb&release=2.19&incident=4245

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Jan 1 2016 4:09 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

><< Having just had a flash of inspiration to filter the log down to the machine with the server on it I think I'm getting
>
>Close Session 9999 Access violation at address 00403F5E in module 'edbsrvr.exe'. Read of address 04204B8C 2015-12-29 23:52:29.102 >>
>
>How often does that appear ?

I had two of them in the log, but the email server can run for weeks without a problem so its one of those wonderful easy to find problems Frown

I've switched the server to 2.20 and cleared the log. I'll create another thread is I have more problems.

>The only issue that is 2.18 or higher that may apply is this one:

Don't think so. I do have a few UDFs but they are all registered. I do clone some to my in-memory database but that is on the main app and I've never seen a delay for that loading.


I assume since you haven't told me one there isn't a way to find out why the OnRemoteReconect is called.

Roy Lambert
Mon, Jan 4 2016 9:43 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I've switched the server to 2.20 and cleared the log. I'll create another thread is I have more problems. >>

Yes, especially if you see that error with 2.20.

<< I assume since you haven't told me one there isn't a way to find out why the OnRemoteReconect is called. >>

Sorry, I thought that was self-evident:  it gets called when the remote session needs to send something to the EDB Server and the connection has been dropped for some reason (the send fails with an error, so the remote session disconnects and then re-connects).

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Jan 4 2016 10:23 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim


I've had a new one

202 An error occurred with the module nlhFunctions (Access violation at address 04104B8C. Read of address 04104B8C)

The bit that really baffles me is the logout from the background session. The only thing I can find where the session is closed is if I terminate the thread. If I've done that why is it trying to load the module?

Roy Lambert





Attachments: log.jpg
Mon, Jan 4 2016 10:24 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

><< I've switched the server to 2.20 and cleared the log. I'll create another thread is I have more problems. >>

Woops - posted to this thread again Smile

>Yes, especially if you see that error with 2.20.

Different cause - I think. Now I'm going to revert to f/s and see what happens

><< I assume since you haven't told me one there isn't a way to find out why the OnRemoteReconect is called. >>
>
>Sorry, I thought that was self-evident: it gets called when the remote session needs to send something to the EDB Server and the connection has been dropped for some reason (the send fails with an error, so the remote session disconnects and then re-connects).

OK question clarification - how do I find out the error number so I decide how I want to react?

Roy Lambert

Tue, Jan 5 2016 10:33 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I've had a new one

202 An error occurred with the module nlhFunctions (Access violation at address 04104B8C. Read of address 04104B8C)

The bit that really baffles me is the logout from the background session. The only thing I can find where the session is closed is if I terminate the thread. If I've done that why is it trying to load the module? >>

Okay, you'll need to give me some information here.   Where is the background session being created, in your external module ?  If so, then there may be an issue with your code in the module.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Jan 5 2016 10:34 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< OK question clarification - how do I find out the error number so I decide how I want to react? >>

Error number for what, exactly ?  The Winsock send/receive error ?

Tim Young
Elevate Software
www.elevatesoft.com
Page 1 of 3Next Page »
Jump to Page:  1 2 3
Image