Posted: 12 May 2009, 13:12
Thanks for the detailed report.
As regards this line:
as you correctly pointed out, this way the policy will be request on port 443 which is SFS. The fact that it takes that long (3 secs) to grab the policy makes me suspicious that there's some other network problem.
SFS serves the policy instantaneously under "regular" network conditions, you can check it in a local/test environment.
One possible reason for that delay could be a DNS problem, since you are not using the server IP address but it's name. I would probably recommend to avoid DNS resolution to speed up the process.
Also, I would double check the delay problem by telnetting SFS:
telnet sfs-ip-address 443
You should get the response within milliseconds.
I would leave the Policy Server questions apart until I get a clearer picture of this delay issue
Let me know
As regards this line:
Code: Select all
Security.loadPolicyFile("xmlsocket://myserver.domain.com:443"); SFS serves the policy instantaneously under "regular" network conditions, you can check it in a local/test environment.
One possible reason for that delay could be a DNS problem, since you are not using the server IP address but it's name. I would probably recommend to avoid DNS resolution to speed up the process.
Also, I would double check the delay problem by telnetting SFS:
telnet sfs-ip-address 443
You should get the response within milliseconds.
I would leave the Policy Server questions apart until I get a clearer picture of this delay issue
Let me know