Analytics Breaks Upload Data Tool
In Geocortex HTML5 viewer we have found a bug where the "Upload Data" tool doesn't work after installing Analytics agent. We performed a test using a CSV. First we checked the CSV pre-analytics and it worked fine. Then we installed Analytics agent on the machine ensuring to do all the good things like run the post install configuration tool and restarting the machine.
Now after that^ the Upload Data tool returns and error "Upload Data Error" --> "An unknown error has occurred.". This is really annoying and we can't use Analytics until this is fixed. Our other environments are working fine with the exact same file as well. Analytics is doing something fishy here.
HELP!??
GE 4.6.2
HTML5 Viewer 2.7.1
Analytics 1.2
(Analytics 1.1.1 produced the same result)
0
-
Hi Matthew,
I've let the QA team know. I'll let you know what they uncover.0 -
Hi,
The fix for this issue is to increase the HTML5 viewer timeout period. You'll need to edit the index.html page in the directory below.
C:\inetpub\wwwroot\Html5Viewer
Find the line below:
new geocortex.essentialsHtmlViewer.ViewerLoader().loadAndInitialize();
Replace with this entry, you can change the values for the timeout calculation to anything you see fit.
new geocortex.essentialsHtmlViewer.ViewerLoader().loadAndInitialize({
onSiteInitialized: function(app, loader) {
geocortex.config.io.timeout = 600 * 1000; // 600 seconds.
}
});
Thanks,
Mike Ketler0 -
Thanks for the reply Mike. Has this fix been tested?
The issue still persists. The upload tool still works 1/20 times and when it does work the tool runs in less than a second. It also worked 100% of the time and in less than a second before the Analytics agent installation.
Should it take up to 6 minutes to upload a 6kb file?
Additional information from my testing - tested on multiple machines. Uninstalling the agent didn't resolve the issue --> uninstalling Geocortex Core after uninstalling the agent and then running the post config to reinstall GE Core returned GE and the viewer to their original working state.
From that^ testing I can gather that Analytics Agent installation likely makes a change in Core which causes this issue. It might possibly just be the clustering which it doesn't like.
Additional testing was done by installing this on different machines which produced the same issue.
One thing I forgot to note was that I am using ArcGIS Server with Portal for ArcGIS (server and portal are on the same box) for the Analytics login.
I was mainly looking to see if other users experienced the same issue when they installed the agent but no one else has chimed in with "me too".0 -
Yes!! I have this issue. 6 years on... I see there is no follow up answer here so I really hope that first solution works.
0 -
Ok. In the latest version I just turned off the Analytics Integration on the HTML viewer and my upload data tool is working again! At least that has been made easier! I'll try turning it back on and increasing the timeout later today.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
5 commentaires