You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running Hawtio behind a firewall with limited internet access or without any internet access, the browser will wait for a timeout on the script "http://maps.googleapis.com/maps/api/js?sensor=false" that is being loaded by hawtio-web/.../index.html
This appears to be for some visualization plugin according to the git log. Is there any way this can be part of that plugin's scripts as opposed to on index.html for all of Hawtio? Thanks!
The text was updated successfully, but these errors were encountered:
Yeah, it's annoying, I've taken a stab at getting this out of index.html once before, unfortunately that particular script appends more scripts to the DOM, so can't be dynamically loaded, attempts to do so result in errors. Supposedly there's a way to load the API and avoid the DOM manipulation but I've not had luck yet:
I'll take another stab tomorrow, as it's definitely annoying, even for me in development since the browser tends to wait on this URL a lot during refresh :-)
Thanks for taking a look! We'd really like to be able to use Hawtio in an environment without an internet connection out of the box. Would it be possible to add a configuration flag of some sort that could be checked when loading? I think it is reasonable to assume that you know whether or not the internet will be available when you're deploying your container.
Yeah, I think that should be do-able. Ideally I'd do the loading from the Fabric "map" page which is the only page that uses the maps API, so if we can get rid of the <script> from index.html just that one page won't work properly but everything else will be fine.
Guess it just took a revisit, figured out a way to defer loading the script until the maps tab is actually accessed. I also added an item in the Preferences page that lets you disable the tab, though by default it's enabled. Hope that helps!
When running Hawtio behind a firewall with limited internet access or without any internet access, the browser will wait for a timeout on the script "http://maps.googleapis.com/maps/api/js?sensor=false" that is being loaded by hawtio-web/.../index.html
This appears to be for some visualization plugin according to the git log. Is there any way this can be part of that plugin's scripts as opposed to on index.html for all of Hawtio? Thanks!
The text was updated successfully, but these errors were encountered: