Linux & Android errors connecting to Joplin Server

Operating system

Linux

Joplin version

2.13.15

Desktop version info

Joplin 2.13.15 (prod, linux)

Client ID: a8cc521787dc41df91378264aaaea8c1
Sync Version: 3
Profile Version: 44
Keychain Supported: No

Revision: 7d2c1c08e

Sync target

Joplin Server

What issue do you have?

Good morning,

I am having trouble synchronizing my docker Joplin server to both Android and Linux clients. I have not tried, as I do not have, Windows, IOS or MacOS clients. I can access the web admin site, log in and create users. I cannot sync clients.

I have a CloudFlare tunnel running a FQDN and I'm able to access the web admin panel. I can also go to /api/ping and recieve {"status":"ok","message":"Joplin Server is running"}.

When I attempt to sync using the email, password and defined URL I see this error Last error: Error: Not a valid URL: jop. my. domain/api/sessions

I have tried setting APP_BASE_URL to both the domain name and the local IP:PORT.

Docker Compose:

version: '3'

services:
    pgdb:
        image: postgres:15
        volumes:
            - joplindb:/var/lib/postgresql/data
        ports:
            - "5432:5432"
        restart: unless-stopped
        environment:
            - POSTGRES_PASSWORD=AAAAAAAAAA
            - POSTGRES_USER=BBBBBBBBB
            - POSTGRES_DB=CCCCCCC
    app:
        image: joplin/server:latest
        depends_on:
            - pgdb
        ports:
            - "22300:22300"
        restart: unless-stopped
        environment:
            - APP_PORT=22300
            - APP_BASE_URL=https:// jop. my. domain
            - DB_CLIENT=pg
            - POSTGRES_PASSWORD=AAAAAAAA
            - POSTGRES_DATABASE=CCCCCCC
            - POSTGRES_USER=BBBBBBBBB
            - POSTGRES_PORT=5432
            - POSTGRES_HOST=pgdb
            - MAILER_ENABLED=0