Geocortex Application Errors notifications?
Specifically, " Exception has been thrown by the target of an invocation. The generate token request returned an invalid response that contains HTML content." OR "Failed to initialize site. The error was: Exception has been thrown by the target of an invocation. The generate token request returned an invalid response that contains HTML content."
-
Richard - I'm experiencing the same error. How did you resolve this? 0 -
Hi Richard (& Kari) 0 -
We get this error occasionally as well. A server restart has fixed it in the past, but I don't know what the actual issue/fix is. Right now we're experiencing it again, but only on some of our sites.
0 -
@Chelsea Rozek? Hi Chelsea, I'd suggest submitting a support case regarding this issue. We can assist with troubleshooting the GVH viewer error. Please send us (support@geocortex.com) a description of the problem you're seeing and we'll take it from there.
0 -
From this post Site Initialization Error when Map Service Down (geocortex.com), I tried just recycling the app pools and that worked to fix the issue instead of restarting the whole server. @Gareth Evans? I can put in a ticket if it happens on our dev sites. If not, I need to do the quick fix so our sites are back up for users.
0 -
@Chelsea Rozek? oh curious, so that implies it's something to do with the way Essentials is interacting (caching?) with a specific map service. So, you've got a temporary workaround of restarting the app pool, though I'd suggest either way we'd find the cause there.
It may be worth looking at your Essentials SYSTEM logs to see if there are errors around a specific map service to troubleshoot.
In terms of Analytics, if there's a map service down, we should be giving you an error if there's a specific map service offline.
0 -
Hello, I work with Richard who started this thread. We are still getting this error and it is happening more regularly. Which app pools do I need to recycle and how often have you set the recycling to? This only seems to happen to us on production sites not development. It must be related to use since they are configured the same.
0 -
Hi @Lara Rector?, it's been a while since I've needed to do it, so I'm not 100% sure which app pool was the key. I think I just did all the Geocortex/Essentials ones. I didn't alter the schedule, just recycled manually when the issue arose. Please let me know if you discover anything more about this issue.
0 -
Hi @Lara Rector? it would the EssentialsAppPool4 one that controls the viewer application. Please submit a support case to support@geocortex.com and we can help troubleshoot this issue.
0 -
@Gareth Evans? We are having this issue too and Analytics does not even indicate the site is down making it impossible to take action prior to a customer running into an issue.
0 -
@Gareth Evans? Would love to Gareth but I'm in Australia and I have a feeling there is not going to be a straightforward solution. Thanks for replying to this thread. I have seen this issue before when I worked at council. It happened after we configured Analytics and I was quite sure it was Analytics that was causing the issue. It was an older version (maybe even before 1.4) and I thought upgrading it fixed the issue, but we did also recycle the app pools more often.
0 -
@Lara Rector? , now that is an interesting hypothesis. We have Analytics installed as well configured in a relay fashion running v1.7.2.
@Chelsea Rozek? , do you have analytics installed as well?
0 -
@John Spence? Nope, we do not
0 -
@John Spence? Hi John, it may be that you are seeing an issue we have documented as GE-6685. A couple thoughts:
- Which error message are you seeing - is it "Exception has been thrown by the target of an invocation. The generate token request returned an invalid response that contains HTML content"
- This implies we are getting a response from the AGS that we are not expecting.
- If it's a different error string, this may be different scenario.
A couple options:
- Open a support case with us by emailing support@geocortex.com - we can assist with troubleshooting.
- Start a new conversation in the Geocortex Essentials community, as this thread is about Geocortex Analytics monitoring the viewer.
0 - Which error message are you seeing - is it "Exception has been thrown by the target of an invocation. The generate token request returned an invalid response that contains HTML content"
-
@Lara Rector? Hi Lara, that's interesting. I have not previously seen reports of GA breaking a GVH viewer. When you enable Analytics in the viewer, you're turning on the client relay module to send data back to the hub. We would not expect this to break the viewer.
If this persists, you have a few options:
- If you don't have direct support through us, I'd suggest contacting your reseller (AAM?) and submit a support case through them.
- Start a new conversation thread in the Essentials community to discuss this.
0 -
@Gareth Evans? I am getting this error in analytics: "Exception has been thrown by the target of an invocation. The generate token request returned an invalid response that contains HTML content." When the site stops working. My theory about analytics was probably incorrect in this case. How do I narrow it down to work out what what response I am getting from AG Server that Geocortex is not expecting?
0 -
@Lara Rector? Hi Lara, there could be a few scenarios:
- an internal ArcGIS Server error, which results in an HTML page
- the ArcGIS Server is not available and serving up a generic 404 HTML page
I'd suggest opening the ArcGIS Server service REST endpoint in a browser to see what response you get there and go from there.
0 -
Hmm... I think I have worked it out. I can see that the errors appear to have started on the 20th of September and it mentions several services that are restricted services from our state government. I should now be able to test this by removing them from the map. Thanks for your help. I'll let you know how I go.
0
Please sign in to leave a comment.
Comments
18 comments