# Kibana Does Not Load from mobile network

**URL:** https://discuss.elastic.co/t/kibana-does-not-load-from-mobile-network/293968
**Category:** Kibana
**Created:** [January 11, 2022, 4:45am UTC](https://discuss.elastic.co/t/kibana-does-not-load-from-mobile-network/293968 "2022-01-11T04:45:24Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Anthony\_Allen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anthony_allen/32/71415_2.png) [@Anthony\_Allen](https://discuss.elastic.co/u/Anthony_Allen)
#### Post date: [January 11, 2022, 4:45am UTC](https://discuss.elastic.co/t/kibana-does-not-load-from-mobile-network/293968/1 "2022-01-11T04:45:24Z")

</div>

Kibana version 7.14  
Elastic version 7.14

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 ......

"GET /node\_modules/@kbn/ui-framwork/dist/kui\_light.css HTTP/1.1" 304 641 "[https://kibana.example.com/loging?next=%2Fapp%2Fhome](https://kibana.example.com/loging?next=%2Fapp%2Fhome)" ...

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

```auto
<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>

```

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [January 11, 2022, 8:33am UTC](https://discuss.elastic.co/t/kibana-does-not-load-from-mobile-network/293968/2 "2022-01-11T08:33:37Z")

</div>

Does it work without the proxy?

---

<div class="post-metadata">

### Author: ![Anthony\_Allen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anthony_allen/32/71415_2.png) [@Anthony\_Allen](https://discuss.elastic.co/u/Anthony_Allen)
#### Post date: [January 11, 2022, 6:05pm UTC](https://discuss.elastic.co/t/kibana-does-not-load-from-mobile-network/293968/3 "2022-01-11T18:05:41Z")

</div>

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.

Thanks!

```auto
 34 <IfModule mod_deflate.c>
 35 AddOutputFilterByType DEFLATE application/javascript
 36 AddOutputFilterByType DEFLATE application/rss+xml
 37 AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
 38 AddOutputFilterByType DEFLATE application/x-font
 39 AddOutputFilterByType DEFLATE application/x-font-opentype
 40 AddOutputFilterByType DEFLATE application/x-font-otf
 41 AddOutputFilterByType DEFLATE application/x-font-truetype
 42 AddOutputFilterByType DEFLATE application/x-font-ttf
 43 AddOutputFilterByType DEFLATE application/x-javascript
 44 AddOutputFilterByType DEFLATE application/xhtml+xml
 45 AddOutputFilterByType DEFLATE application/xml
 46 AddOutputFilterByType DEFLATE font/opentype
 47 AddOutputFilterByType DEFLATE font/otf
 48 AddOutputFilterByType DEFLATE font/ttf
 49 AddOutputFilterByType DEFLATE image/svg+xml
 50 AddOutputFilterByType DEFLATE image/x-icon
 51 AddOutputFilterByType DEFLATE text/css
 52 AddOutputFilterByType DEFLATE text/html
 53 AddOutputFilterByType DEFLATE text/javascript
 54 AddOutputFilterByType DEFLATE text/plain
 55 AddOutputFilterByType DEFLATE text/xml
 56 </IfModule>
 57 
 58 <IfModule mpm_event_module.c>
 59 
 60 StartServers 3
 61 MinSpareThreads 25
 62 MaxSpareThreads 75
 63 ThreadLimit 64
 64 ThreadsPerChild 25
 65 MaxRequestWorkers 30
 66 MaxConnectionsPerChild 10
 86 </IfModule>

```

---

<div class="post-metadata">

### Author: ![Anthony\_Allen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anthony_allen/32/71415_2.png) [@Anthony\_Allen](https://discuss.elastic.co/u/Anthony_Allen)
#### Post date: [January 11, 2022, 6:57pm UTC](https://discuss.elastic.co/t/kibana-does-not-load-from-mobile-network/293968/4 "2022-01-11T18:57:59Z")

</div>

With the previous mentioned setting, the results were mixed.

1st round Kibana loading  
DuckDuckGo ~ 25 sec  
Chrome ~ 11 sec  
Brave ~ hung up

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.**

---

<div class="post-metadata">

### Author: ![Anthony\_Allen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anthony_allen/32/71415_2.png) [@Anthony\_Allen](https://discuss.elastic.co/u/Anthony_Allen)
#### Post date: [January 12, 2022, 1:30am UTC](https://discuss.elastic.co/t/kibana-does-not-load-from-mobile-network/293968/5 "2022-01-12T01:30:02Z")

</div>

Here is the log of access-kibana.log. The timeout occurs after these when bootstrap.js attempts to load.

```auto
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"

```

---

<div class="post-metadata">

### Author: ![Anthony\_Allen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anthony_allen/32/71415_2.png) [@Anthony\_Allen](https://discuss.elastic.co/u/Anthony_Allen)
#### Post date: [January 12, 2022, 3:32am UTC](https://discuss.elastic.co/t/kibana-does-not-load-from-mobile-network/293968/6 "2022-01-12T03:32:02Z")

</div>

Now UseCanonicalName on

Displaying "Loading Elastic" splash screen. However the login is boxes are not displayed. It hung up. Below is how far the loading got.

```auto
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"

```

---

<div class="post-metadata">

### Author: ![Anthony\_Allen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anthony_allen/32/71415_2.png) [@Anthony\_Allen](https://discuss.elastic.co/u/Anthony_Allen)
#### Post date: [January 15, 2022, 7:06pm UTC](https://discuss.elastic.co/t/kibana-does-not-load-from-mobile-network/293968/7 "2022-01-15T19:06:47Z")

</div>

Solved!

While banning login attempts, a fail2ban filter was banning ip addresses that logged "GET /login" and kibana loads as expected

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 12, 2022, 7:07pm UTC](https://discuss.elastic.co/t/kibana-does-not-load-from-mobile-network/293968/8 "2022-02-12T19:07:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
