Kibana loads properly and fully using WIFI networks. However, when using mobile networks, Kibana does not load. The loading appears to stop at the log-in screen. The log-in screen does not show.
The log shows this:
"GET / login?next=%2TTP/1.1" 200 29543 "-" "Mozilla/5.0 (iPhone: CPU iPhone ......
A reverse proxy runs Elasticsearch and Kibana on the same machine.
Here is what has been tried to load Kibana to completion using mobile networks
<IfModule mod_deflate>
#AddOutputFilterByType DEFLATE application/javascript
#AddOutputFilterByType DEFLATE application/rss+xml
#AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
#AddOutputFilterByType DEFLATE application/x-font
#AddOutputFilterByType DEFLATE application/x-font-opentype
#AddOutputFilterByType DEFLATE application/x-font-otf
#AddOutputFilterByType DEFLATE application/x-font-truetype
#AddOutputFilterByType DEFLATE application/x-font-ttf
#AddOutputFilterByType DEFLATE application/x-javascript
#AddOutputFilterByType DEFLATE application/xhtml+xml
#AddOutputFilterByType DEFLATE application/xml
#AddOutputFilterByType DEFLATE font/opentype
#AddOutputFilterByType DEFLATE font/otf
#AddOutputFilterByType DEFLATE font/ttf
#AddOutputFilterByType DEFLATE image/svg+xml
#AddOutputFilterByType DEFLATE image/x-icon
#AddOutputFilterByType DEFLATE text/css
#AddOutputFilterByType DEFLATE text/html
#AddOutputFilterByType DEFLATE text/javascript
#AddOutputFilterByType DEFLATE text/plain
#AddOutputFilterByType DEFLATE text/xml
</IfModule>
<IfModule mpm_event_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxRequestsPerChild 0
KeepAlive On
#MaxKeepAliveRequests 500
#KeepAliveTimeout 3
#ThreadsPerChild 25
#MaxRequestWorkers 400
#StartServers 16
#MinSpareThreads 200
#MaxSpareThreads 400
#MaxConnectionsPerChild 100000
</IfModule>
</IfModule>
<IfModule mod_cache_disk.c >
# Apache Cache
# CacheQuickHandler off
# ---------------------
# In this case, each request will reach Apache server
# and only then hit the cache. This is useful in case
# you want to do some kind of authentication before sending response.
#
# CacheQuickHandler on
# --------------------
# Cache will be placed before the server. In this case, the request
# will first hit the cache. If there is no/expired cache entry,
# then the request will be sent to server.
CacheQuickHandler off
CacheLock on
CacheLockPath /tmp/mod_cache-lock
CacheLockMaxAge 5
CacheIgnoreHeaders Set-Cookie
CacheRoot /var/cache/apache2/mod_cache_disk
<Location />
CacheEnable disk
CacheHeader on
CacheDefaultExpire 800
CacheMaxExpire 64000
CacheIgnoreNoLastMod On
ExpiresActive on
ExpiresDefault A300
CacheReadSize 102400
CacheReadTime 1000
</Location>
</IfModule>
The initial design was with the reverse proxy. It is not known if Kibana works without the proxy.
The mobile phone is usually set to both WiFi and mobil. Until recently, I never noticed when WiFi was "off" and only mobil was "on" that Kibana would not load. Kibana hangs then times out.
Mod_cache_disk has been removed. Mod_deflate and mpm_event_module remain as shown below.
Using tail -f on Kibana access log these setting show Kibana loading then halting for several minutes (?), then begins loading again and the login screen appears.
I'll get the timing and check if the setup is repeatable. However, if you or anyone know of any tweaks to load Kibana faster please let me know.
2nd round Kibana loadind
DuckDuckGo ~ hung up
Chrome ~ 35 sec
Brave hung up with message "Setup lifecycle of 'visType Table'
plugin wasn't completed in 10 sec. Consider disabling the plugin
and restart.
Here is the log of access-kibana.log. The timeout occurs after these when bootstrap.js attempts to load.
kibana.example.com:443 xx.xx.xx.xx - - [11/Jan/2022:20:10:08 -0500] "GET /login?next=%2F HTTP/1.1" 200 29432 "https://kibana.example.com/login?next=%2F" "Mozilla/5.0 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/96.0.4664.116 Mobile/15E148 Safari/604.1"
kibana.example.com:443 xx.xx.xx.xx - - [11/Jan/2022:20:10:09 -0500] "GET /bootstrap.js HTTP/1.1" 304 598 "https://kibana.example.com/login?next=%2F" "Mozilla/5.0 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/96.0.4664.116 Mobile/15E148 Safari/604.1"
Displaying "Loading Elastic" splash screen. However the login is boxes are not displayed. It hung up. Below is how far the loading got.
kibana.example.com:443 xx.xx.xx.xx - - [11/Jan/2022:22:07:53 -0500] "GET /app/home HTTP/1.1" 302 5787 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 15_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 DuckDuckGo/7 Safari/605.1.15"
kibana.example.com:443 xx.xx.xx.xx - - [11/Jan/2022:22:07:53 -0500] "GET /login?next=%2Fapp%2Fhome HTTP/1.1" 200 29432 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 15_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 DuckDuckGo/7 Safari/605.1.15"
kibana.example.com:443 xx.xx.xx.xx - - [11/Jan/2022:22:07:53 -0500] "GET /bootstrap.js HTTP/1.1" 200 4038 "https://kibana.example.com/login?next=%2Fapp%2Fhome" "Mozilla/5.0 (iPhone; CPU iPhone OS 15_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 DuckDuckGo/7 Safari/605.1.15"
kibana.example.com:443 xx.xx.xx.xx - - [11/Jan/2022:22:07:54 -0500] "GET /42747/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js HTTP/1.1" 200 91228 "https://kibana.example.com/login?next=%2Fapp%2Fhome" "Mozilla/5.0 (iPhone; CPU iPhone OS 15_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 DuckDuckGo/7 Safari/605.1.15"
kibana.example.com:443 xx.xx.xx.xx - - [11/Jan/2022:22:07:54 -0500] "GET /42747/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js HTTP/1.1" 200 72185 "https://kibana.example.com/login?next=%2Fapp%2Fhome" "Mozilla/5.0 (iPhone; CPU iPhone OS 15_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 DuckDuckGo/7 Safari/605.1.15"
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.