Skip to content

[Bug]: Stirling PDF on Mac OS cant connect to self-hosted server #5264

@Mr-Boshi

Description

@Mr-Boshi

Installation Method

Docker

The Problem

The desktop app shows "Could not connect to server" when I try to connect it to a self-hosted account. The webUI is accessible on the URL i am pasting to the Server URL field. Web version of the app works fine.

The reverse proxy config for NGINX is taken from the docs, no changes except the certs paths and the host\server addresses were made.

How do I troubleshoot this issue? The message is not very informative.

Version of Stirling-PDF

2.1.4

Last Working Version of Stirling-PDF

No response

Page Where the Problem Occurred

No response

Docker Configuration

The config is default with these env vars set:
- env:
            - name: LANGS
              value: en_GB,en_US,ar_AR,de_DE,fr_FR,es_ES,zh_CN,zh_TW,ca_CA,it_IT,sv_SE,pl_PL,ro_RO,ko_KR,pt_BR,ru_RU,el_GR,hi_IN,hu_HU,tr_TR,id_ID
            - name: SECURITY_ENABLELOGIN
              value: "true"
            - name: SYSTEM_DEFAULTLOCALE
              value: ru-RU
            - name: SYSTEM_ENABLEANALYTICS
              value: "false"
            - name: UI_APPNAME
              value: Boshi's Stirling-PDF
            - name: METRICS_ENABLED
              value: "false"
            - name: SYSTEM_FRONTENDURL
              value: https://redacted.pw/
            - name: SYSTEM_CORSALLOWEDORIGINS
              value: https://redacted.pw/
            - name: DISABLE_ADDITIONAL_FEATURES
              value: "false"
            - name: VITE_API_BASE_URL
              value: https://redacted.pw/
            - name: SYSTEM_ROOTURIPATH
              value: /
            - name: SECURITY_CSRFDISABLED
              value: "false"
            - name: MAIL_ENABLED
              value: "true"
            - name: MAIL_ENABLEINVITES
              value: "true"
image: stirlingtools/stirling-pdf:latest@sha256:940c83732d373b08efd110de708d51d639705404de7dabc7230e5665819efb4a

Relevant Log Output

Additional Information

No response

Browsers Affected

No response

No Duplicate of the Issue

  • I have verified that there are no existing issues raised related to my problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Back EndIssues related to back-end developmentneeds investigationIssues that require further investigation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions