mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[GH-ISSUE #553] [Bug]: ComfyUI-Studio plugin cant access image resouce #160
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#160
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KarryCharon on GitHub (Dec 24, 2024).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/553
App Version
v0.4.0
Expected Behavior
Actual Behavior
Steps to Reproduce
Debug Logs
Browser Logs
Setting JSON
{
"Comfy-Desktop.AutoUpdate": true,
"Comfy-Desktop.SendStatistics": true,
"Comfy.ColorPalette": "dark",
"Comfy.UseNewMenu": "Top",
"Comfy.Workflow.WorkflowTabsPosition": "Topbar",
"Comfy.Workflow.ShowMissingModelsWarning": true,
"Comfy.Server.LaunchArgs": {
"enable-cors-header": ""
},
"AGL.Locale": "zh-CN",
"LiteGraph.Canvas.MaximumFps": 60,
"Comfy.DevMode": true,
"Comfy.Server.ServerConfigValues": {
"enable-cors-header": ""
}
}
Other
https://github.com/AIGODLIKE/AIGODLIKE-ComfyUI-Studio/issues/67
Image cannot query from local comfyui server. Meet 403 forbidden status code.
We've tried config like
--enable-cors-header *and--enable-cors-header "*", neither of them worked.Maybe caused by CORS policy.
┆Issue is synchronized with this Notion page by Unito
@robinjhuang commented on GitHub (Jan 1, 2025):
@KarryCharon How does the extension access images? Is it calling a ComfyUI API? Can help look into this
@KarryCharon commented on GitHub (Jan 2, 2025):
I was made this local pc image path as web StaticResource, so this addon can access image like
http://127.0.0.1:8000/Users/xxx/yyy.png?t=1735786023.1082802@KarryCharon commented on GitHub (Jan 2, 2025):
It works fine on MacOS, but get 403 Forbidden on windows.

@webfiltered commented on GitHub (Jan 2, 2025):
Is this only happening in ComfyUI desktop, or all versions? Happy to take a look at the code, if you can link us to it?
I have two guesses:
:in them).p.s. I'd recommend escaping the path and passing it as an escaped string - e.g.
http://127.0.0.1:8000/clear-custom-url/?q=/path/here. There's no guarantee you won't get name clashes and other easily-avoidable problems with the current format.@KarryCharon commented on GitHub (Jan 2, 2025):
Only Desktop, if launch by bat script also works fine!
@KarryCharon commented on GitHub (Jan 2, 2025):
Of course, here the code
https://github.com/AIGODLIKE/AIGODLIKE-ComfyUI-Studio/blob/main/__init__.py