[GH-ISSUE #32] ST-Extras will not connect to SD host. #26

Closed
opened 2026-10-15 18:03:33 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @TuKr on GitHub (May 24, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/32

So as the title states, sillytavern extras will not connect to my stable diffusion, remote(internal network machine 192.168.xxx.xxx) or host (127.0.0.1) instances. I installed the "requirments-complete.txt" file, without any errors, and it seems like all of the other packages are working. even the SD module seems like it wants to work but i am met with "cannot connect to SD backend" during server.py startup.

Im running automatic1111. Ive included "sd" in modules-enable command, and Ive tried --sd-remote --sd-remote-host 192.168.xxx.xxx --sd-remote-port 7860, and every combination, even going as far as to changing the Default IP in constants.py to reflect the proper IP address. I can open a browser window on the machine that is hosting sillytavernUI and connect to my Automatic1111 SD instance without issue. same goes for when i spin up automatic1111 on the same machine that ST-extras is running on.

This seems pretty much a "just me" problem, but this is also a new feature, and so far, not very well documented. I feel like it should just work but maybe not. Any help would be greatly appreciated. There is no other error message associated or debugging info, so thats kind of all of the information i have on it.

Originally created by @TuKr on GitHub (May 24, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/32 So as the title states, sillytavern extras will not connect to my stable diffusion, remote(internal network machine 192.168.xxx.xxx) or host (127.0.0.1) instances. I installed the "requirments-complete.txt" file, without any errors, and it seems like all of the other packages are working. even the SD module seems like it wants to work but i am met with "cannot connect to SD backend" during server.py startup. Im running automatic1111. Ive included "sd" in modules-enable command, and Ive tried --sd-remote --sd-remote-host 192.168.xxx.xxx --sd-remote-port 7860, and every combination, even going as far as to changing the Default IP in constants.py to reflect the proper IP address. I can open a browser window on the machine that is hosting sillytavernUI and connect to my Automatic1111 SD instance without issue. same goes for when i spin up automatic1111 on the same machine that ST-extras is running on. This seems pretty much a "just me" problem, but this is also a new feature, and so far, not very well documented. I feel like it should just work but maybe not. Any help would be greatly appreciated. There is no other error message associated or debugging info, so thats kind of all of the information i have on it.
Author
Owner

@Cohee1207 commented on GitHub (May 24, 2023):

Automatic1111 should be run with --api flag

<!-- gh-comment-id:1560941308 --> @Cohee1207 commented on GitHub (May 24, 2023): Automatic1111 should be run with --api flag
Author
Owner

@TuKr commented on GitHub (May 24, 2023):

That did it, thank you for the quick reply.

<!-- gh-comment-id:1561072046 --> @TuKr commented on GitHub (May 24, 2023): That did it, thank you for the quick reply.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/SillyTavern-Extras#26
No description provided.