Dart Home | PowerTCP WebServer for ActiveX | Custom Development | Reply | PowerTCP WebServer for ActiveX Topics | Forums |
Author | Forum: PowerTCP WebServer for ActiveX Topic: Program Locks up on WebServer.Stop or WebServer.Pause |
lyve2ryde From: USA Posts: 25 Member Since: 02/25/15 |
posted August 29, 2018 2:53 PM We have recently been experiencing a program Lock-Up, on some of our remote systems during a WebServer.Stop, and from 1 test, it also repeated following a WebServer.Pause. We were using a much older version of the WebServer ActiveX. So we purchased an Upgrade. But the problem still exists. I can't duplicate the issue locally. and can only attribute this issue is related to some sort of internet attack on the web server. with my most recent change. I am setting a Boolean to "True" before performing the WebServer.Stop. and all of the WebServer Events are checking this Boolean, and if True, the Event is then immediately exited. But still the program locks up. Any help with this issue would be appreciated. Thanks, Tim Snelling |
Nick B (Admin) From: Utica, NY USA Posts: 619 Member Since: 05/25/10 Extra Support Options Custom Application Development |
posted August 29, 2018 3:23 PM Hello, We haven't received any other reports of this and have no idea what might be occurring; if you can provide us with a means of reproduction, we can look into this. |
lyve2ryde From: USA Posts: 25 Member Since: 02/25/15 |
posted August 30, 2018 7:31 AM I have no way of replicating this, but I can demo it occurring, if you could be available for a remote connection. Thanks, Tim Snelling |
Nick B (Admin) From: Utica, NY USA Posts: 619 Member Since: 05/25/10 Extra Support Options Custom Application Development |
posted August 30, 2018 11:50 AM Hello, Unfortunately just observing it occur wouldn't help us. We'd need to know the cause (such as by providing the request that's causing the lockup), and then we'd start investigating why it's causing such behavior in our code. You might be able to examine the incoming requests via wireshark to identify the cause? |
lyve2ryde From: USA Posts: 25 Member Since: 02/25/15 |
posted August 30, 2018 3:46 PM I am running the wireshark program now, monitoring only port 80. If I save the capture to a file, would you be able to help us analyze the data? |
Nick B (Admin) From: Utica, NY USA Posts: 619 Member Since: 05/25/10 Extra Support Options Custom Application Development |
posted August 30, 2018 4:54 PM Hello, We can take a look at it but we can't guarantee anything. If you manage to identify the request or series of requests that causes this, and that you can reproduce the issue when sending the request to our WebServer component, yes. |
lyve2ryde From: USA Posts: 25 Member Since: 02/25/15 |
posted August 31, 2018 6:50 AM Can I do a Sessions.Remove within the SessionInit Event? see code below. Is there any code I can place in the other WebServer Events, that may help prevent the Lockup issue with the WebServer Control during a WebServer.Stop? Thanks. Private Sub WebServer1_SessionInit(ByVal Session As DartWebServerCtl.ISession) On Error GoTo ErrHand If (ShutdownInProgress = True) Or (nStatus = SERVER_STATUS_OFF) Then WebServer.WebServer1.Sessions.Remove Session.Id Else Session.Variables("StartTime") = CStr(Now) Session.Variables("AccessLevel") = vbNullString Session.Variables("LogonName") = vbNullString Session.Variables("LoginAttempts") = "0" Session.Variables("BlockSession") = vbNullString End If ErrHand: End Sub |
Jamie Powell (Admin) From: Rome, NY USA Posts: 448 Member Since: 03/13/07 Extra Support Options Custom Application Development |
posted September 5, 2018 4:56 PM Thank you for your reply. A reply to this message was sent directly to your email address August 31, 2018. Please let me know if you did not receive that message and I will be happy to resend. If you did receive the message and have additional questions or problems, please reply to that directly and offline will be the best way to proceed. Regards, Jamie |
Reply | PowerTCP WebServer for ActiveX Topics | Forums |
This site is powered by PowerTCP WebServer for ActiveX |