Replies: 2 comments 2 replies
-
|
For Nginx to support web-sockets you need to add these lines inyour location block I am not using Nginx with this project, but likely you also need something like |
Beta Was this translation helpful? Give feedback.
-
|
Not sure if it helps you, but i had some issues on the last or so update that my https broke (needed for the mic support on mobile). was also related to websockets i believe, had llama adjust my proxy a bit and everything works for me again (including RAG). So, can't exactly tell you which part might be missing on yours but maybe it helps to reference against: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have put a minimal reverse proxy in front, and for some reason breaks web socket, and makes web search not functional.
default.conf
proxy.conf
Success screenshot

Failed screenshot

Most websocket connection are successful but only fail (seemingly) when doing a web search. I also attached two logs file, one showing success, and the other failed from the UI. Hopes they help.
UPDATE: Here a log of nginx, and ui when the browser attempts to connect the web socket but failed. Interestingly, nginx, ui, and Firefox all shows a 200 status code yet failed/refused to connect.

The path is
/ws/socket.io/?EIO=4&transport=websocket&sid=2hOuveEpPBZ42em3AAAIUPDATE 2: It seems the RAG is totally botched. Uploading to document tab will cause the LM ignore the document. Uploading in chat will cause the whole thing hangs. It must be something seriously wrong with my Nginx setup.
Beta Was this translation helpful? Give feedback.
All reactions