Starting tabbyml behind nginx reverse proxy requires websocket support #3292
Replies: 1 comment
-
#3291 resolves the nginx issues, this works fine now. @wsxiaoys can we continue the discussion what should be the preferred way to run tabby in docker without gpu support? As I said I am using the cpu entrypoint:
The only VGA adapter my system has is this one (probably some virtual machine graphics adapter):
Running without the mentioned LD_LIBRARY_PATH results in the following warnings and makes it not possible to run tabby:
When setting the variable LD_LIBRARY_PATH to
These paths exist inside the container, not sure how they are being used:
For me this is for now fine, simply because it works, but I don't think this is the way to run it in docker. If I understood correctly from our discussion before it should not work like that. I assume the cuda driver can be loaded first and does not cause errors and then tabby uses the CPU mode because of the entrypoint that was set? When running prompts my CPU cores are utilized fully and I receive answers in an acceptable time frame (single user usage): |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Running any prompts in the chatbox on the web page of Tabby or in the VSCode plugin result in the following error message:
Information about your version
Please provide output of
tabby --version
Information about your GPU
Please provide output of
nvidia-smi
Only CPU mode (linux virtual server)
Additional context
Add any other context about the problem here.
Running tabby natively or in Docker on Debian GNU/Linux 11 (bullseye). No GPU available on the system.
Installation steps native:
Installation steps docker:
The only configuration I made was to create a first admin and configure the endpoint URL of my server. I am running zabby behind a nginx reverse proxy with SSL configuration. Both setups natively or in docker result in the same error.
While writing this bug report I found the resolution as well. I tried to run tabby without reverse proxy and it worked. It seemed to be related to my nginx reverse proxy configuration. Initially it was:
Following the instructions found here I changed it to:
With this configuration it works.
Sharing this experience now more for other users experiencing the same problem.
I will create a pull request for an documentation update both for running behind reverse proxy and how to run in docker without GPU.
Beta Was this translation helpful? Give feedback.
All reactions