microsoft / service-fabric-explorer

Service Fabric Explorer is a web based dashboard for visualizing the state of a Service Fabric cluster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to load events at Applications page

rafael-biz opened this issue · comments

Describe the bug
The Applications page displays "Failed to load events" on "Recent Application and Container Exit Event Reasons".

It displays the error message "null failed. Code: E_INVALIDARG Message: Invalid API version".

The same problem happens in the Events tab.

To Reproduce
Steps to reproduce the behavior:

  • Install Service Fabric Runtime for Windows 9.1.1833
  • Install Service Fabric SDK 6.1.1833
  • Create an application on local dev cluster.
  • Open http://localhost:19080/
  • Navigate to: Cluster/Applications/<ApplicationType>/<Application>
  • See the error message.

Expected behavior
It should display a list of events, not an error message.

Screenshots

image_2023-07-26_091043309

image_2023-07-26_091124846

image_2023-07-26_091147026

Additional context
Related issues:
microsoft/service-fabric#1301
#465

I have the same issue with Service Fabric 9.1.1799.9590 and SDK version 8.2.1235, as mentioned in the linked issue. It seems to block the explorer from working properly, the create button is not working properly, which I assume have to do with this (Only sometimes I can create a stateful service, and the stateless I create by manually editing the API call from the statefull service, as there seems to be no clickhandler on that button... I am guessing it is related to the javascript crashing, but not sure).

A related issue is that this error with the toasters then invisibly covers the create buttons (sometimes, depending on zoom.)
It catches the button click, so I can't create services in some cases. Perhaps it should be a separate issue, it seems to be an issue with the toasters. I think this is #827. Still, it is hard to separate the two issues from a users, I thought I struggled with creation because of the client error, not that the toaster was blocking the UI.

image

The most recent release still has the same problem.

Tested with:
Service Fabric Runtime for Windows 10.0.1949.9590
Service Fabric SDK 7.0.1949