When SEP first starts, it attempts to connect to SEPM without using a proxy. Regardless of the proxy setting the client always attempt to connect without a proxy first. If the client is unable to connect to any servers in its management server list, it will rotate its proxy settings at the end of the heartbeat. The next heartbeat will be attempted with proxy settings (if available). Once SEP is able to connect, it will not change its proxy settings until it is restarted. You could say it ‘locks’ the setting once it connects. This means that if the client connects without proxy, it will never connect via the proxy until it is restarted. If the client connects though the proxy, it will never connect directly to SEPM until it is restarted. Whichever one works first, that is the one the client will always use.
The Three Proxy Settings
Sylink has 3 proxy settings. They are settings 1, 2 and 3.
- Proxy setting 1 mean no proxy. This is the first setting that is tried.
- Proxy settings 2 and 3 both use the proxy. There is a difference in the way the proxy settings are called, but functionally it is very much the same. When the client first starts, it will try to use each proxy setting in turn, starting with setting one, down to setting 3. After that it starts again from setting 1 again.
Log entries are created in the Sylink Log when the client sets the proxy settings. Here are some example of the Sylink Log entries.
There logs appear when the client first starts, before the first heartbeat.
06/02 10:51:34  <Start>Unable to create Session with 'User Proxy' settings - Proxy Server: Error Code: 87
06/02 10:51:34  <Start>Unable to create Session with 'No Proxies' settings - Error Code: 87
In the above log example, no proxy was set, so no proxy settings were detected at startup.
This next sample is taken from a system that does have a proxy set. This is a sample from the end of a failed heartbeat. Here you can see that 'proxy setting 1' failed to connect, so the client is going to try 'proxy setting 2' on the next heartbeat.
06/28 11:47:30  <RegHeartbeatProc>Done, Heartbeat=32seconds
06/28 11:47:30  HeartbeatProcFailed to get profile with proxy setting 1
06/28 11:47:30  HeartbeatProcWill now use proxy setting 2
06/28 11:47:30  <CheckHeartbeatTimer>====== Heartbeat loop stops at 11:47:30 ======