Getting timeout after 10 min when working with RAS is Business Objects
We have a customer that is using firewalls between each of our servers on the farm.
We gave the customer specific description on how to configure Business Objects to be firewall friendly (according to the administrator guide) but sadly we still faced a critical error that caused our customer to wait for 10 min (I am serious) until getting timeout when trying to run a report (Error was "Request timed out because there has been no reply from the server in 600000 ms").
After working with the support and also running some port monitor we have found that apparently the dispatch of an action to RAS doesn't return the response on the same connection but rather opens a new connection from the RAS to the client SDK server (The client actually open some port for listening) - this is used as an async operation mechanism between SDK and RAS.
The port that is used by the client is selected out of a range of ports that is configured in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\CER.
The default setting is on my XP are:
- "ConnectionPool"="5"
- "RequestPortLower"=dword:00000000
- "RequestPortUpper"=dword:00010000
- "ConnectionTimeout"="600000"
So you can see that the timeout is 600000 milliseconds = 10 min.
for our customer we set the range to be 5 ports and connection pool of 5 ports
In general don't forget that the first NIC that is used must be the one that is reachable to the RAS or else you could face the same symptom.
Hope that helped you (because I know by fact that this is not documented in Business Objects XI R 2 documentation)
7 comments:
Hello Ran,
Thanks for posting this information.
I am experiencing the same problem with Business Objects. I changed the ConnectionTimeout parameter, as you specified, from 600,000 to 2,400,000 milliseconds but I am still experiencing the same problem.
However, strangely enough, even though I changed the connectiontimeout parameters, and restarted the Win XP server, I still get "The request timed out because there has been no reply from the server for 600,000". So, basically, even though I changed the parameter the server is still seeing 600,000.
Do you have any suggestions?
Thanks in advance for your assistance.
Regards,
Joseph.
Hi Joseph,
I would suggest to do the following (in order):
1. I don't know the topology of your system (Business Object) - but if you are connecting to the infoview of Business Objects on the server than make sure that you update the value on the server and not your XP
2. Do a registry search for the "600000" and see if you find some more occurances (on the relevant server)
3. Check that you don't have firewall / firewall block the specific ports found in the article
Tell me if that works, if it didn't maybe if you want we can do a sharedview and i can help you from remote
Hello Ran,
Thanks for your excellent support. We are using CRS XI installed on Win XP machine. Our problem is that when we try to view a report that takes longer than 10 minutes the following error is displayed: "The request timed out because there has been no reply from the server for 600,000". Basically, we have a Tomcat server (built-in with CRSXI) and we have a web app that displays reports (.rpt) to the client using the Crystal Reports Viewer.
As I am reading in your blog, I changed all the registry entries where the value 600000 was located and replaced that with 2400000. I also changed the 10 minutes timeout found in CRCConfig.xml (timeout tag) and in web.xml of Tomcat (session-timeout tag) but I still keep getting this same error. The request timed out because there has been no reply from the server for 600,000 milliseconds.
I debugged the code and apparently the error is being produced from the line:
ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream) clientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
So, basically if the report that longer than 10 minutes then an error is produced.
Any further ideas would be very appreciated!
Regards,
Joseph.
Joseph,
I am sorry i have no more idea with regards to this specific problem.
Did you check if the object it self has any timeout properties?
Other than that i would suggest to open ticket with the vendor.
Please comment after you find resolution
Ran,
Thanks for everything.
After a whole week or more struggling with this problem I am very happy that I managed to resolve this big problem.
The problem was that the JSP/Java application was pointing to an incorrect clientSDKOptions.xml file. This caused this irritating problem.
Thanks for your help and see you around my friend!
Regards,
Joseph.
I am very happy to hear that, I hope this post and your comment will help others
Please continue sharing these kind of issue with me (and other) :)
Hi Ran,
I am having the same issue. I get "Request timed out because there has been no reply from the server in 600000 ms." in the web server event viewer where the application is hosted. This web server is behind the firewall and the crystal server is in the internal network. I'm not sure what port is getting blocked here. If I should change should i change it in the web server or in the crystal server. Please advice.
Thanks
JJM
Post a Comment