-
Notifications
You must be signed in to change notification settings - Fork 133
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
No errors, extras API unreachable #224
Comments
Consider adding |
I did that. That was what I meant when I said "I attempted to allow external port listening and ingress from an external port" and unfortunately that did not work. edit: here is the console
|
|
I used and I suppose I don't know how to set the network to private, I assumed since it was in a VM it would already be configured as such. |
I've got a similar issue where the logs show it's open to communication, but it just isn't. For context, I'm running it as a docker container. So Windows Firewall isn't in the way. It shows as listening and lists its docker virtual network IP. When attempting to connect with SillyTavern, it just doesn't. I also enabled the "--secure" flag and put in the API key. EDIT: Interestingly, when I utilize the "--share" flag and utilize a Cloudflared connection, THAT works. |
Final thing before I go to bed. Interestingly, testing from a simple REST API tool on my workstation, I'm able to communicate with the container from the host side. Checking the logs, I see the successful connections across the Cloudflare setup, and I see my failed connections (I don't know the proper header to supply the key with, or if it needs encrypted). What I don't see is failed attempts to connect from the SillyTavern Instance from the docker network of 172.19.0.0/24. I'm shutting it down (don't trust Cloudflare's free option as secure) and going to bed. |
Pass the API key as Authorization header |
Thanks for the Syntax, Cohee. Using that, I was able to confirm communication over a local port from my API tester. Still not establishing connections from SillyTavern to ST-E. We've got connections to SillyTavern-Extras, so I'm not sure it's an ST-E issue. Perhaps I should open an issue over on SillyTavern's side? Or would you prefer I keep it here for cleanliness, @Cohee1207
|
But that key into SillyTavern's UI in the extensions panel, together with the URL. |
Here's the problem: Extras API must be accessible from the client's browser. The requests are done directly from there, not proxied via the server. |
That there is the trick. SillyTavern proxies the LLM Backend connection, but not the extras. So, for my model, I've got the Ooba Booga backend utilizing the container name. I expected the same from the extras API. Now that I'm using the host's IP (which proxies the open port to the container), I'm reaching it from Silly Tavern. It is an issue that it means I'll need to publicly expose the SillyTavern-Extras instance to be able to be able to utilize it from outside my home. Hm... Not sure the best way to secure that. Any suggestions beyond usage of a LOOOONG API key and port obfuscation? |
I recently installed the extras API according to the install instructions on the readme. I am running the application in an Ubuntu VM with 12 cores and 24GB RAM.
The server file runs without errors however it is unreachable or unresponsive from localhost:5100 as sillytavern itself cannot connect to the extras API.
I attempted reinstalling it, I attempted to allow external port listening and ingress from an external port, and I attempted putting in an API key despite it saying it doesn't need one. none of these have fixed the issue, and I have
const enableExtensions = true
I would like to emphasize that there are no errors at all. the entire console output is the following:
when I ping localhost it uhh pings back. I honestly don't know what kind of information would be helpful, just let me know what you need.
The text was updated successfully, but these errors were encountered: