Resolving Errors in OpenObserve Self-hosted due to Lack of Internet Access

TLDR Gaby had errors with OpenObserve due to lack of internet access. Prabhat clarified the updates required and potential solutions, Ankur provided workaround, and Hengfei aided in turning off telemetry.

Photo of Gaby
Gaby
Tue, 14 Nov 2023 14:51:21 UTC

I'm using OpenObserve self-hosted without internet access and there's an error on each start when trying to pull the GeoDB. Couldn't that be included in the Docker image? This probably means that any maps won't work either.

Photo of Hengfei
Hengfei
Tue, 14 Nov 2023 14:52:33 UTC

Ankur We dicussed this.

Photo of Hengfei
Hengfei
Tue, 14 Nov 2023 14:53:00 UTC

Let you reply this question.

Photo of Ankur
Ankur
Tue, 14 Nov 2023 15:00:09 UTC

Hey Gaby :wave: the folks at maxmind who publish this geojson info, recommend that this db be updated every couple of weeks, as it could contain stale information about the IP address association ( as one can imagine all the legal reasons behind it as well )

Photo of Ankur
Ankur
Tue, 14 Nov 2023 15:00:24 UTC

Probably Prabhat wanna chime in

Photo of Prabhat
Prabhat
Tue, 14 Nov 2023 15:01:21 UTC

actually its more than a recommendation to update the maxmind DB every 2 weeks. Its part of their license. This necessitates us to update the DB regularly.

Photo of Prabhat
Prabhat
Tue, 14 Nov 2023 15:01:25 UTC

Now maps is a different thing

Photo of Prabhat
Prabhat
Tue, 14 Nov 2023 15:01:50 UTC

We use Openstreetmaps for displaying maps right now which requires internet connectivity.

Photo of Prabhat
Prabhat
Tue, 14 Nov 2023 15:02:12 UTC

We will come up with offline maps later which will not require internet connectivity

Photo of Prabhat
Prabhat
Tue, 14 Nov 2023 15:03:40 UTC

offline maps will be lot less powerful but for sure will provide offline capability.

Photo of Prabhat
Prabhat
Tue, 14 Nov 2023 15:05:10 UTC

Maps do not necessarily require GeoIP database

Photo of Prabhat
Prabhat
Tue, 14 Nov 2023 15:05:20 UTC

<@4L159> FYI

Photo of Gaby
Gaby
Tue, 14 Nov 2023 15:10:03 UTC

Maybe for now add an ENV for "airgap" that disables stuff like this?

Photo of Gaby
Gaby
Tue, 14 Nov 2023 15:11:00 UTC

There's 4 things that don't work without an internet connection: • Fonts • Maps • GeoDB • Youtube Video on the Homepage • Telemetry back to ZincLabs

Photo of Hengfei
Hengfei
Tue, 14 Nov 2023 15:12:33 UTC

```Telemetry back to ZincLabs``` this can disable by: ```ZO_TELEMETRY = false```

Photo of Prabhat
Prabhat
Tue, 14 Nov 2023 15:18:10 UTC

Maps if you don't create or visit will not attempt to reach out to internet

Photo of Ankur
Ankur
Tue, 14 Nov 2023 15:33:08 UTC

> Maybe for now add an ENV for "airgap" that disables stuff like this? Gaby you can try this env `ZO_MMDB_DISABLE_DOWNLOAD=true`

Photo of Ankur
Ankur
Tue, 14 Nov 2023 15:34:45 UTC

This will also mean that one shouldn't be using the RUM feature in that case i.e. no ingestion

Photo of Prabhat
Prabhat
Tue, 14 Nov 2023 15:35:25 UTC

RUM should still work, with missing Geo info

Photo of Gaby
Gaby
Tue, 14 Nov 2023 23:58:52 UTC

Thanks, I will give it a try :-)