Hello,
I refer to
THIS topic.
because I'm in stuck with strange behaviours.
I have a usual architecture service on server / vcl application of client. One server, about 80 clients.
Client OS are different, from Windows XP to Windows 7 to Windows 8. Not yet Windows 10.
Client PCs stay turned on for entire weeks.
Client application include a datamodule and a form, and stay in tray area.
On datamodule there are two RtcHttpClient, one for send data from client to server, and one to request data from server to client.
It could seems strange, I decide to use this configuration because timing of send data and request data are different, and to avoid "collision" between send and request. Timing are ruled by two timers.
Plus, I have another application that uses a third RtcHttpClient on the same server address, but requests from this application are few during the day.
Clients have a proxy set through a registry settings on HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\AutoConfigURL.
I don't know any further details about it.
Actually, settings of RtcHttpClient are:
UseProxy=True
UseWinHTTP=False
UseSSL=False
ReconnectOn=ConnectLost
UserLogin completely empty
The point is: if the service on server is online, all works well without problems.
If the service goes offline for a variety of reasons (phisical server restart, database is unavailable etc...), some clients hangs and stop communicate. Not all clients, not the same clients on different days.
"Hang" means that timers events on client application are no longer execute, even if GUI seem active, since I'm able to click in the tray area and exit from it.
I'm unable to figure out where is the trouble, so I appreciate any suggestion.
Thanks in advice and best regards
Giuseppe Garzotto