-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[FIX] Docker version: Application error: a client-side exception has occurred (see the browser console for more information). #881
Comments
Same here `The error messages you provided indicate several issues related to JavaScript and possibly an associated framework that might not be named or described in your question. Here are some explanations for each of these errors: SVG Attribute Error: This error is thrown because when you define height on an element using an attribute (such as height="auto"), JavaScript tries to read the value of height. If height is defined with a string ('auto') instead of a numeric value, this throws an error since it's not recognized as a number or a length in JavaScript. JS TypeError: This typically happens when your code attempts to access the icon property of an object that is undefined, null, or has no such property. This might be due to: The icon variable being not properly set before use. Addressing SVG Attribute: await Promise.resolve(); // This is an empty promise and waits until it's resolved. async function init() { init(); Additionally, updating dependencies or frameworks (if any) could resolve compatibility issues between your codebase and its components. Always ensure that you're using libraries or frameworks up to date with your project's requirements. If specific lines of code were intended to be shared but not provided, I would need those exact pieces of code to provide more tailored solutions. However, based on the context given by the errors themselves, these suggestions should help resolve the issues mentioned above.` |
Hello. |
issue fix update this value in docker-compose.yml please try this |
No luck, still get the same error after rebuild, after a quick flash of normal page, error page kicks in |
Hello I am having the same problem on Debian Bookworm (self-hosting with Docker). const agentIcons = agents.map(
(agent) =>
getIconFromIconName(agent.icon, agent.color) || (
<Image
key={agent.name}
src={agent.avatar}
alt={agent.name}
width={50}
height={50}
/>
),
); to: const agentIcons = agents.filter(agent => agent !== null && agent !== undefined).map(
(agent) =>
getIconFromIconName(agent.icon, agent.color) || (
<Image
key={agent.name}
src={agent.avatar}
alt={agent.name}
width={50}
height={50}
/>
),
); seems to work. Of course you need to make the docker-compose build from source instead of pull the image for the changes to take effect. |
Hey folks! Sorry about this, let me push a fix for this. This should also be resolved if you setup a chat model configuration and restart your server. Thanks for the root cause discovery, @Miskina ! |
Hi, Sabi Can you please tell us how to setup a chat model config in docker compose? by adding a environment parameter or what ? Thank you. |
@sabaimran Hi, the 1.20.4 version solves the problem, but I get |
I'm having the same problem, blank 400 page for /server/admin |
@sabaimran Hi, could you please fix this problem? Many thanks. |
I'll make some time to look into it today or tomorrow @saccohuo . You're able to load the rest of the app, right? And are you able to load it on |
@sabaimran After |
@sabaimran Hi, is any update? |
Hi folks, this issue seems to contain 2 separate issues, both of which should be resolved:
On issue 2. @saccohuo,
I can reproduce the Bad Request (400) page when trying to access the server admin page when the Next Steps
I'm closing this issue as the original bug has been resolved. |
Describe the bug
Open localhost:42110, after a flash of some window, then get the blank page with error
Application error: a client-side exception has occurred (see the browser console for more information).
In the console, shows
fd9d1056-2b978342deb60015.js:1 Error: <svg> attribute height: Expected length
.Screenshots
Platform
If self-hosted
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: