[PR #1429] [MERGED] Patch WSS upgrade for manual HTTPS certs #3679

Closed
opened 2026-02-22 18:34:16 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1429
Author: @timothycarambat
Created: 5/17/2024
Status: Merged
Merged: 5/17/2024
Merged by: @timothycarambat

Base: masterHead: 1417-fix-wss-upgrade-ssl


📝 Commits (3)

📊 Changes

3 files changed (+20 additions, -11 deletions)

View changed files

📝 server/.gitignore (+4 -1)
📝 server/index.js (+9 -6)
📝 server/utils/boot/index.js (+7 -4)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #1257

What is in this change?

Patch @agents directive not working when running AnythingLLM Docker in HTTPS mode. The certificate would not apply to the WebSocket connection and therefore upgrading from HTTPS<>WSS would fail as the socket was only WS.

This patch fixes that to where AnythingLLM does not need to be run behind a proxy like Nginx in order to have the full system on SSL on the same cert.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/1429 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 5/17/2024 **Status:** ✅ Merged **Merged:** 5/17/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `1417-fix-wss-upgrade-ssl` --- ### 📝 Commits (3) - [`4291134`](https://github.com/Mintplex-Labs/anything-llm/commit/4291134d201c9194568f99d1c336bd4e4c0f52bf) Patch WSS upgrade for manual HTTPS certs - [`1f68886`](https://github.com/Mintplex-Labs/anything-llm/commit/1f688863f6d1e8ec2a9ded07e2fcc0c74aa2080c) update comment - [`f2005ae`](https://github.com/Mintplex-Labs/anything-llm/commit/f2005aebe08b07e31055d1d413ab4eb079cdaafa) refactor ### 📊 Changes **3 files changed** (+20 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `server/.gitignore` (+4 -1) 📝 `server/index.js` (+9 -6) 📝 `server/utils/boot/index.js` (+7 -4) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #1257 ### What is in this change? Patch `@agents` directive not working when running AnythingLLM Docker in HTTPS mode. The certificate would not apply to the WebSocket connection and therefore upgrading from HTTPS<>WSS would fail as the socket was only WS. This patch fixes that to where AnythingLLM does _not need to be run_ behind a proxy like Nginx in order to have the full system on SSL on the same cert. ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:16 -05:00
yindo closed this issue 2026-02-22 18:34:16 -05:00
yindo changed title from [PR #1429] Patch WSS upgrade for manual HTTPS certs to [PR #1429] [MERGED] Patch WSS upgrade for manual HTTPS certs 2026-06-05 15:14:40 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3679