Skip to content

Cannot install without access to Google Analytics #1018

Closed

Description

@jstebenne

🐛 Bug Report

While installing, I got the following error: Error:Failed to connect to www.google-analytics.com port 443: Connection refused

I am running a PiHole DNS server on my network that is blocking all tracking and ads.

Have you spent some time to check if this issue has been raised before?

Yes

To Reproduce

  1. Have PiHole (or any other dns-level ad blocker) up and running
  2. Try to install AppWrite using the "Get Started" script
  3. Fill all required info during installation
  4. During Running "docker-compose -f /usr/src/code/appwrite/docker-compose.yml up -d --remove-orphans --renew-anon-volumes" the install will fail with the error Error:Failed to connect to www.google-analytics.com port 443: Connection refused

Expected behavior

The software install and starts without problem

Actual Behavior

The error shown below appears, blocking the installation.

Error:Failed to connect to www.google-analytics.com port 443: Connection refused

Your Environment

OS: Ubuntu 20.10
Docker version: 20.10.5, build 55c4c88
AppWrite docker image: appwrite/appwrite:0.7.1

Activity

  1. added
    bug
    on Mar 23, 2021
  2. eldadfux commented on Mar 23, 2021

    @eldadfux
    Member

    @TorstenDittmann I think we should make sure we have a timeout on this request and skip it if it fails for some reason.

  3. TorstenDittmann commented on Mar 23, 2021

    @TorstenDittmann
    Contributor

    @eldadfux Will add this to utopia/analytics 👍

  4. TorstenDittmann commented on Mar 23, 2021

    @TorstenDittmann
    Contributor

    utopia-php/analytics#1

    Pending PR, this will not throw exceptions when failing to send actions to Google Analytics 👍🏻

  5. TorstenDittmann commented on Mar 23, 2021

    @TorstenDittmann
    Contributor

    Will add it to the dev branch tomorrow and the fix will be part of 0.7.2 that is going to be released soon 👍🏻

    @TheBird956 Sorry for the inconvenience and thank you for your patience.

  6. eldadfux commented on Mar 25, 2021

    @eldadfux
    Member

    This bug was fixed with the release of 0.7.2. We will consider to replace stats provider soon as suggested on some Reddit talks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions