kurtosis-tech / kurtosis

A platform for packaging and launching ephemeral backend stacks with a focus on approachability for the average developer.
https://docs.kurtosistech.com/
Apache License 2.0
382 stars 55 forks source link

Web UI doesn't load due to "Unexpected Application Error" #2505

Open jimmygchen opened 4 months ago

jimmygchen commented 4 months ago

What's your CLI version?

0.90.1

Description & steps to reproduce

The below occurs when I open the enclave manager with kurtosis web.

image

Unfortunately I don't have the steps now to make this a useful bug report - sorry. However this issue still occur from time to time and to others as well. I'll make sure I get details when I see it again.

Looks like there's some enclave state that's not handled by the UI. The workaround now is to remove the enclave and restart the engine.

I think the bug is here (missing an undefined check): https://github.com/kurtosis-tech/kurtosis/blob/36065a853db8a1bc76a852873aaa14949220ae59/enclave-manager/web/packages/app/src/emui/enclaves/components/tables/PortsTable.tsx#L62

I'd be happy to attempt a fix when I get some time in the next week or so, if no one gets to this.

Desired behavior

The web UI should load correctly.

What is the severity of this bug?

Papercut; this bug is frustrating, but I have a workaround.

What area of the product does this pertain to?

Frontend: the Graphical User Interface, including the Enclave Manager

jimmygchen commented 4 months ago

I can't reproduce this with ethereum-package anymore. Is it a possible state to have private ports defined but not mapped to an external port? Seems like it's either a bug in older version that's been fixed, or an invalid state that I got in somehow.