Summary
I am getting no mobile push notifications from my self-hosted instance. I think I tracked it down to the fact that the gateway container is running but is non-functional. It does not connect to NATS, no port binding, no push notifications, no websocket handling. Below are the contents of my
sys.config and
docker_entrypoint.sh.
docker run --rm --entrypoint sh ghcr.io/fluxerapp/fluxer-gateway:latest -c "cat /opt/fluxer_gateway/releases/0.0.0/sys.config"
% SPDX-License-Identifier: AGPL-3.0-or-later
[
{kernel, [
{logger_level, warning},
{logger, [
{handler, default, undefined}
]}
]},
{sasl, [
{errlog_type, error}
]},
{inet, [
{lookup, [native, file, dns]}
]}
].
docker run --rm --entrypoint sh ghcr.io/fluxerapp/fluxer-gateway:latest -c "cat /opt/fluxer_gateway/bin/docker_entrypoint.sh"
#!/usr/bin/env sh
# SPDX-License-Identifier: AGPL-3.0-or-later
set -eu
: "${FLUXER_ERLANG_NODE_NAME:=fluxer_gateway@127.0.0.1}"
: "${FLUXER_ERLANG_COOKIE:=fluxer_gateway_dev_cookie}"
: "${FLUXER_ERLANG_DIST_PORT:=8081}"
export FLUXER_ERLANG_NODE_NAME
export FLUXER_ERLANG_COOKIE
export FLUXER_ERLANG_DIST_PORT
export RELX_REPLACE_OS_VARS="${RELX_REPLACE_OS_VARS:-true}"
exec /opt/fluxer_gateway/bin/fluxer_gateway foreground >/dev/null 2>&1
Also,
docker compose logs gateway returns nothing.
Steps to reproduce
- Download Fluxer as a Web App on mobile.
- Turn on notifications in Web App (and make sure notifications are on in phone settings for browser).
- No notifications for anything from Fluxer.
Environment
Deployment: Self-hosted via Docker Compose version v5.1.4 on Ubuntu 24.04.4 LTS server
Image tag: ghcr.io/fluxerapp/fluxer-gateway@sha256:2532256427dbfd4c5611e44b5e1f45ba13ed55335b8ddf656027ce75a82ec946
Browser: Vanadium on GrapheneOS
1 comment
Comment by Hampus