mirror of
https://github.com/SillyTavern/SillyTavern-Extras.git
synced 2026-10-15 18:11:52 +00:00
[GH-ISSUE #162] Cors policy does not allow loading over lan #94
Labels
No labels
bug
duplicate
planned
pull-request
under consideration
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/SillyTavern-Extras#94
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 @Dalethium on GitHub (Sep 17, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/162
Access to fetch at 'http://192.168.6.222:5100/api/modules' from origin 'http://192.168.6.216:8000' has been blocked by CORS policy: Request header field bypass-tunnel-reminder is not allowed by Access-Control-Allow-Headers in preflight response.Simple steps to reproduct:
Host sillytavern on one machine, and extras on another, try connecting them.
@Cohee1207 commented on GitHub (Sep 17, 2023):
You are likely not running extras with --listen flag
@Dalethium commented on GitHub (Sep 17, 2023):
python server.py --enable-modules=caption,summarize,classify,sd,chromadb --listen --chroma-folder=/chromadb/ --chroma-persist --secure --classification-model=joeddav/distilbert-base-uncased-go-emotions-student --cudais my startup command, I am also running via docker.
@Cohee1207 commented on GitHub (Sep 17, 2023):
Do you have a 5100 port open on your extras host device?
@Dalethium commented on GitHub (Sep 17, 2023):
loading http://192.168.6.222:5100/ returns
{"error":"401: Invalid API key"}showing the port is open, yep.If this is not reproducable on your end please let me know, I'll investigate further on my end!
@Dalethium commented on GitHub (Sep 17, 2023):
Fixed this for my local instance in #164, let me know if you need anything else!
@Dalethium commented on GitHub (Sep 17, 2023):
Fixed by
github.com/SillyTavern/SillyTavern@359277deb5