External sites sometimes do not load unless Fiddler is running
Hello,
I have an odd scenario that has me stumped. I have several sites running using Geocortex 3.9 and SilverlightViewer 1.5 on 2 different servers. One server is for internal sites and the other is for external sites which are proxied out using Apache (recently upgraded). The internal sites run as expected. The external sites are not always loading properly.
First thing in the morning, I try to view a site, and it fails with the Timeout error. When I reload the site, it errors with the Initialization Error - Request timed out. So I turn on the browser developer tools and try a different site, and it loads. This happens with both secure and unsecure sites and there is no apparent pattern. My next step is to run Fiddler to see what is going on and Reload the sites. Magic....it now works as long as I both reload the site and have Fiddler running. It seems that the external sites work fine as long as Fiddler is running on my machine. From the developer tools, it seems to hang on the request for http://<externaldomain>/Geocortex/Essentials/REST/viewerconfigurations/<product key>?f=xml but then if I reload, it works . Very confusing and frustrating!
My question: Why? Is there a process that Fiddler initiates that is required by external sites to load properly?
Thanks in advance for your help,
Sharon
-
And when you increase the InitializationTimeout? Add the following in the viewer.xml? (time in seconds)
<Site>
<Configuration>
<Site Uri="{SiteUri}" InitializationTimeout="180" />
</Configuration>
</Site>
0 -
For now it is working but I will try again in the morning to see if that solved the issue. Thanks for your suggestion!
0 -
Did you find a solution? I found this article...
http://stackoverflow.com/questions/4801189/httpwebrequest-doesnt-work-except-when-fiddler-is-running
0 -
I changed some Apache proxy settings and now the sites are running smoothly. But I do think that the article explains what was happening to me. I have a proxy and redirects that Fiddler was redirecting and making the sites work internally, but without Fiddler, they would error out. Thanks for the article. I thought I was losing my mind!
Here is a link to a post where I explain the Apache settings that I configured. https://support.geocortex.com/SupportForums/Thread.aspx?pageid=0&mid=2&ItemID=2&thread=57121
Sharon
0
Please sign in to leave a comment.
Comments
4 comments