We upgraded to XE6 + 8.0.81 Remobjects + new powerful workstations. Since that moment we do run into
EIPSocketError with message 'Cannot accept connection’
when I destroy the RO-Server components.
It’s a silent crash in a WorkThread but always shown in my Delphi Debugger.
For me it seems to be a timing problem as it does not occur all the time.
I prepared a very simple app that reproduces the problem (at least on our very fast new workstations).
Just send me a notice where I shall upload the sample.
procedure TWebServiceServer.StopServer; // called within the destroy
begin
if Assigned(FROHTTPServer) then
FROHTTPServer.Active:= False;
FreeAndNil(FROHTTPServer);
should destroy
but I can’t reproduce this issue.
I attached a new version including a loop … just press the button about 3 times (each does fire 20 tests). If you do not run into the problem than let me know - we would then setup a WebEx session that you can debug within our environment.
Was this ever solved? I’ve noticed that, when running inside the IDE, I also get this exception and message when shutting down the server. Only appears in the IDE and doesn’t cause any harm so not really important, just found this thread and wondered if there was any solution?
#69350 isn’t solved yet
you can try to use other http server (TROIndyHTTPServer or TROWinHttpServer) if this case (stopping server after it was started) can be applied to your case