[GH-ISSUE #3997] Unable to embed a chat - blank page #2541

Closed
opened 2026-02-22 18:30:08 -05:00 by yindo · 2 comments
Owner

Originally created by @AndreC10002 on GitHub (Jun 13, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3997

Running AnythingLLM on Docker.
Enabled SSL using a self-signed certificate, not NGINX.
Accessing the server directly via its public IP, no proxy or Cloudflare.
Generated code to embed the chat for a workspace, as follows:

<script data-embed-id="dbab45bc-4dc4-49a3-8ad8-f88e7d3ef724" data-base-api-url="https://_server_ip_:3001/api/embed" src="https://_server_ip_:3001/embed/anythingllm-chat-widget.min.js"> </script>

To avoid issues with CORS, I'm hosting the HTML code directly on AnythingLLM, under the following URL:

https://server_ip:3001/embed/chat.html

And the HTML code is as follows:

<html>
<head>
</head>
<body>
<h1>This is a test page...</h1>

<script
  data-embed-id="dbab45bc-4dc4-49a3-8ad8-f88e7d3ef724"
  data-base-api-url="https://_server_ip_:3001/api/embed"
  src="https://_server_ip_:3001/embed/anythingllm-chat-widget.min.js">
</script>
</body>

Although it all looks correct to me, I get a blank page, no UI elements. No errors on browser console.

Image

Would appreciate any assistance with this matter.

Originally created by @AndreC10002 on GitHub (Jun 13, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3997 Running AnythingLLM on Docker. Enabled SSL using a self-signed certificate, not NGINX. Accessing the server directly via its public IP, no proxy or Cloudflare. Generated code to embed the chat for a workspace, as follows: <script data-embed-id="dbab45bc-4dc4-49a3-8ad8-f88e7d3ef724" data-base-api-url="https://_server_ip_:3001/api/embed" src="https://_server_ip_:3001/embed/anythingllm-chat-widget.min.js"> </script> To avoid issues with CORS, I'm hosting the HTML code directly on AnythingLLM, under the following URL: https://_server_ip_:3001/embed/chat.html And the HTML code is as follows: ```html <html> <head> </head> <body> <h1>This is a test page...</h1> <script data-embed-id="dbab45bc-4dc4-49a3-8ad8-f88e7d3ef724" data-base-api-url="https://_server_ip_:3001/api/embed" src="https://_server_ip_:3001/embed/anythingllm-chat-widget.min.js"> </script> </body> ``` Although it all looks correct to me, I get a blank page, no UI elements. No errors on browser console. ![Image](https://github.com/user-attachments/assets/54c9612c-b184-4db8-ad8d-3896e4c02a6f) Would appreciate any assistance with this matter.
yindo closed this issue 2026-02-22 18:30:08 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jun 13, 2025):

There is a + icon in the bottom right of that screenshot - click it. That is the embed and it will expand. There is an data-open-on-load option for the style options

@timothycarambat commented on GitHub (Jun 13, 2025): There is a `+` icon in the bottom right of that screenshot - click it. That is the embed and it will expand. There is an `data-open-on-load` option for the [style options](https://github.com/Mintplex-Labs/anythingllm-embed/tree/4fb78337b1a85497d146de4df40460f8fb6e51a6)
Author
Owner

@AndreC10002 commented on GitHub (Jun 13, 2025):

Good Lord, I need a break.
Thank you! I was fighting with that for a while.

@AndreC10002 commented on GitHub (Jun 13, 2025): Good Lord, I need a break. Thank you! I was fighting with that for a while.
yindo changed title from Unable to embed a chat - blank page to [GH-ISSUE #3997] Unable to embed a chat - blank page 2026-06-05 14:47:08 -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#2541