-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blank home page #92
Comments
Hi, I also encountered this issue just now. Not always though. Sometimes ES head loads fine but in about 9/10 cases I got blank page. Error from debugger says: The whole line looks like this: this.statEl.text( i18n.text("Header.ClusterNotConnected") ).css("background", "grey"); I've installed ES head just today so it should be up to date. |
Also it seems to be Firefox-only issue. |
this issue appears again in Chrome |
@huchenme: which elasticsearch version are you using? |
2.1.1 |
If you open Chrome developer tools (Ctrl+Shift+I), do you see any error messages? |
@philipskokoh I see |
Hmm.. I tested using elasticsearch 2.1.1. It works well on my side. |
@huchenme: I am unable to replicate your problem. Any more messages you see before that error? |
@philipskokoh no, it is working in Safari, but in Chrome it is blank, console only have that message |
@philipskokoh I have the exact same behavior as @huchenme. Strange error in Chrome but loads fine in Safari. Version 2.1.1 |
Just found the cause of this - if you have a Chrome extension such as Proper Blocker, it adds a script tag to the body. The i18n library used for translations mistakes this extra script tag for the one defining its dataset-langs attribute, hence can't load the translation strings. The i18n library included is pretty fragile, and I'd suggest future versions look at alternatives. TL;DR Disable Chrome extensions such as adblockers temporarily, as they may be inserting script tags which kill the localisation. |
@andyskipper I wonder if you could try running es with this patch to see if it fixes the script injection problem. ( you can apply the patch with |
Hi,
On my 0.90.6 installation with only 1 node and 1 index i've got a blank home page. There is a javavascript error in app.js line 3038 :
Content of the "node" object :
The text was updated successfully, but these errors were encountered: