ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

Routing broken starting with v1.32.2

Open mcmonkey4eva opened this issue 1 week ago • 2 comments

Prerequisites

  • [x] I am running the latest version of ComfyUI
  • [x] I have searched existing issues to make sure this isn't a duplicate
  • [x] I have tested with all custom nodes disabled (see how)

What happened?

Network routing for subrouted comfy installs appears to have broken in v1.32.2

So for example if you use an apache2 reverse proxy and put your comfy instance on http://mywebsite.com/Comfy, it will simply never load the UI. It appears to still trigger a long list of network requests loading various js files, but simply never actually loads.

In the past this same issue occurred due to mixups with the vue routing logic, so I suspect it's the same issue again. Here's an issue with some past instances of this same bug https://github.com/Comfy-Org/ComfyUI_frontend/issues/941

I noticed this because SwarmUI internally does this by default, ie this broke comfy inside of Swarm's comfy-workflow tab.

v1.32.1 works fine, v1.32.2 does not work, 1.34.0 does not either.

A glance through https://github.com/Comfy-Org/ComfyUI_frontend/releases/tag/v1.32.2 shows some relevant looking commits:

  • https://github.com/Comfy-Org/ComfyUI_frontend/pull/6572
  • https://github.com/Comfy-Org/ComfyUI_frontend/pull/6562

It may be caused by one of those, but both look to only change things if cloud is enabled, which shouldn't be the case (unless that var is misflagged somehow?). So it might instead be whatever caused those changes to be needed is the root of what broke routing.

EDIT AHA! https://github.com/Comfy-Org/ComfyUI_frontend/commit/693fbbd3e44c478c87b7f90826528d69cf30c13d#diff-bb8ff0dd16ff286e4086240831f70dd9233de8896f2f50219eeff29414affe64R24-R27 this PR made significant changes to the router file, and is the likely culprit

I'd load commit-by-commit to see which commit exactly changed that but at this point the repo is complex enough that I'm not sure how to do that anymore.

Steps to Reproduce

  1. Have a sub-routed comfy install (eg apache2/nginx reverse proxy, or SwarmUI)
  2. Launch with --front-end-version Comfy-Org/[email protected]
  3. Try to open the page

How is this affecting you?

Visual/UI issue only

ComfyUI Frontend Version

1.32.2

Browser

Firefox

Console Errors


Logs


Additional Context

No response

┆Issue is synchronized with this Notion page by Unito

mcmonkey4eva avatar Nov 27 '25 12:11 mcmonkey4eva