-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Message in Photopea When Attempting to Connect #23
Comments
Browser console output? I recently added support for tagger, but that logic should be optional. |
Could it have something to do with me using the RC version of Automatic1111? I have both the current release AND the release candidate version of A1111 installed on my machine. But I'm only running the RC version, right now. Also, I have all of my models saved in a separate folder structure outside of the sdwebui folders since I also use ComfyUI and like having all of my downloaded files in one location. |
Do you still have the flag on? The console log indicates that you are probably missing the cors flag.
|
Yes. I still have that enabled in my webuser.bat file. |
Any ideas? I'm using the release version of Automatic1111, again, and it's still not working. This is my webuser.bat file: @echo off set PYTHON= |
I think it’s a1111’s issue. Other extensions using the api are also having problems. See AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin#361 . You can fall back to v1.5.2 for now while a1111 solving the issue. I cannot reproduce this issue locally though. |
hello have you tested it on Linux? i test it with 1.6 and 1.5.2 but no one connects, do you know if i have to make something extra? |
I think the only thing you need to do is adding necessary commandline args when launching A1111. --api --cors-allow-origins https://huchenlei.github.io Do you have success with Windows but fail on Linux? Is the Linux a localhost or remote? |
yes it was working perfect on windows with the directml version, i use this custom script for rocm to work #!/bin/sh python3 launch.py --api --cors-allow-origins https://huchenlei.github.io --enable-insecure-extension-access --opt-sdp-attention --no-half-vae --medvram I'm running everything on local |
Sorry I do not have a Linux machine to reproduce this issue, but you can verify that whether the cors-allow-origins is correctly configured by adding a print call here: |
"Connection Failed: TypeError: Failed to fetch"
I have Automatic1111 open with a live connection. I am able to create images in that application. However, when I try to connect in Photopea, I get that error message. Any suggestions to help resolve this?
I'm running the new Automatic1111 RC 1.6.0 if that makes a difference.
The text was updated successfully, but these errors were encountered: