- Notifications
You must be signed in to change notification settings - Fork1k
fix: handle chat app not found#19947
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
9748f25
529449b
735586d
984e5cc
71638c2
816b335
80d28ce
820e64f
86557f2
0863f5a
1c30c7c
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -84,9 +84,7 @@ export const TaskAppIFrame: FC<TaskAppIFrameProps> = ({ | ||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||
)} | ||||||||||||||||||||||||||||||
{app.health === "healthy" || app.health === "disabled" ? ( | ||||||||||||||||||||||||||||||
<iframe | ||||||||||||||||||||||||||||||
ref={frameRef} | ||||||||||||||||||||||||||||||
src={link.href} | ||||||||||||||||||||||||||||||
@@ -95,6 +93,15 @@ export const TaskAppIFrame: FC<TaskAppIFrameProps> = ({ | ||||||||||||||||||||||||||||||
className={"w-full h-full border-0"} | ||||||||||||||||||||||||||||||
allow="clipboard-read; clipboard-write" | ||||||||||||||||||||||||||||||
/> | ||||||||||||||||||||||||||||||
) : app.health === "unhealthy" ? ( | ||||||||||||||||||||||||||||||
<div className="w-full h-full flex flex-col items-center justify-center"> | ||||||||||||||||||||||||||||||
<h3 className="m-0 font-medium text-content-primary text-base"> | ||||||||||||||||||||||||||||||
App unhealthy | ||||||||||||||||||||||||||||||
</h3> | ||||||||||||||||||||||||||||||
<span className="text-content-secondary text-sm"> | ||||||||||||||||||||||||||||||
Check the logs for details | ||||||||||||||||||||||||||||||
</span> | ||||||||||||||||||||||||||||||
|
Appunhealthy | |
</h3> | |
<spanclassName="text-content-secondary text-sm"> | |
Checkthelogsfordetails | |
</span> | |
App"${app.name}"unhealthy | |
</h3> | |
<spanclassName="text-content-secondary text-sm"> | |
Herearesometroubleshootingstepsyoucantake: | |
<ul> | |
<li>Try running the following inside your workspce:<code>curl -v "${app.healthcheck.url}"</code></li> | |
<li>Check<code>/tmp/coder-agent.log</code> inside your workspace "${workspace.name}" for more information.</li> | |
</ul> | |
</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.