Skip to content

Frontend Stuck on "Connecting…" via NGINX Reverse Proxy #351

@NakshtraYadav

Description

@NakshtraYadav

When running Cloud Torrent v0.9.4 on my AWS Ubuntu server with NGINX reverse proxy, the web UI at my domain gets stuck showing "Connecting…" indefinitely.

All frontend assets (HTML, CSS, JS) load correctly, and the backend service (cloud-torrent) is actively running on port 3000.

🔎 Observations
All static assets (JS, CSS, templates) return HTTP 200 successfully.

Logs show the frontend requesting /sync, but no torrent data appears.

No JavaScript errors in browser console.

Service is accessible at 127.0.0.1:3000, and NGINX forwards correctly to it.

The issue only occurs when accessing via the domain through NGINX.

When accessing localhost:3000 directly, it works perfectly.

🔄 Attempted Fixes
Tried launching with --auth=false, --log, --host=0.0.0.0, etc.

Verified NGINX config correctly proxies / to http://localhost:3000.

Ensured no firewall or network issue is blocking requests.

Tested basic HTML page through same NGINX → works.

Image

works alright with just accessing via browser on my public ip (aws ubuntu)

on my domain

Image Image

you can see the sync in the network tab is pending

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions