Single www.google.com network call on launch

Hello! I have a DNS sinkhole, and notice that whenever I launch (power on) for the first time it makes a single call to www.google.com. I was just wondering why? I am sure it is minor, as it is just the one-time, but still curious. And perhaps there’s some setting I can do to stop it.

I am using a Pi 3 B+. And if needed I can get the OSMC version information (but have noticed this for a while and just posting now).

In the meantime, I keep blocking it. Thanks very much!

As the device doesn’t have a realtime clock it needs to set it’s time after a restart. As NTP can not do that if the time difference is too large OSMC makes a wget request to Google and uses the HTTP timestamp to set the time.

1 Like

Ah! I was thinking it may have been time, but then there are ‘debian.pool.ntp.org’ calls following that.

Is there a non-Google time option that can be used perchance?

Any suggested site that has same “guaranteed” uptime, known through most firewalls, dns-holes “safe”

I’m curious, there are few things I feel worse about is to have to force a dependence on google on anyone. Even if it is just a http request to analyze the reply header for timestamp. It’s still award. All though, if I personally chose to depend on google, i do so informed what it means for me.

1 Like

I have some plans to change this in the near future.

1 Like

Hi

Hopefully the issue is now addressed with the following commit:

I’d appreciate it if you could test this and provide feedback before we potentially release this as an update to other users. To test this update:

  1. Login via the command line
  2. Run the following command to add the staging repository:
    echo 'deb http://apt.osmc.tv bullseye-devel main' | sudo tee /etc/apt/sources.list.d/osmc-devel.list
  3. Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
  4. Your system should have have received the update.

Please see if the issue is resolved.

I also recommend you remove /etc/apt/sources.list.d/osmc-devel.list after updating.

This will deactivate the staging repository. You can do so with the following command:
sudo rm /etc/apt/sources.list.d/osmc-devel.list.

Please note that we will automatically disable this update channel after 14 days on your device in case you forget to do so to ensure that your system reverts to the stable update channel.