Skip to content

Dashboard hangs while trying to connect to fonts.googleapis.com #245

@j-boy

Description

@j-boy

When installed in an environment without access to the Internet, the dashboard is slow to open (takes about 30s) and a message at the bottom of the browser window says "Connecting to fonts.googleapis.com..."

To Reproduce
Install in an environment without Internet access.
Open the dashboard page, then open a dashboard from the finder.

Expected behavior
The dashboards should open straight away.

Environment:

$ sudo docker exec graphite cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.15.9
PRETTY_NAME="Alpine Linux v3.15"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"

Additional context
The Graphite docs say that this is a dependency: fontconfig and at least one font package (a system package usually)
I see no fonts installed:

$ sudo docker exec graphite fc-list
$

This page suggests that these font packages are good for most setups:
# apk add font-terminus font-inconsolata font-dejavu font-noto font-noto-cjk font-awesome font-noto-extra

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions