Skip to content
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

Swagger crashes #3877

Closed
JessePeden opened this issue Oct 7, 2024 · 1 comment
Closed

Swagger crashes #3877

JessePeden opened this issue Oct 7, 2024 · 1 comment
Labels
Area-Hosting This issue is related to the Kestrel web server or other hosting mechanisms. bug Something isn't working P3 - medium Medium impact issue. PowerShell Universal Issue relates to PowerShell Universal. Size - M This issue is a medium amount of work.
Milestone

Comments

@JessePeden
Copy link

JessePeden commented Oct 7, 2024

Version

5.0.9

Severity

Medium

Environment

msi

Steps to Reproduce

Some of the APIs are causing Swagger to hang and eventually completely crash. It seems to be spread out through multiple areas.
To see it in action, one of the most prevalent is with the Jobs category. Simply expanding certain APIs to execute/test with causes the interface to hang and eventually crash. See the included screenshots for examples of working/not-working. Being authenticated in Swagger makes no difference.

Expected behavior

Swagger should work without issues

Actual behavior

Swagger hangs and crashes.

Additional Environment data

No response

Screenshots/Animations

2024-10-07_13-57-47
2024-10-07_13-57-58

@JessePeden JessePeden added bug Something isn't working PowerShell Universal Issue relates to PowerShell Universal. requires triage Issue has not yet been verified by the development team. labels Oct 7, 2024
@adamdriscoll adamdriscoll added this to the 5.0.11 milestone Oct 8, 2024
@adamdriscoll adamdriscoll added Area-Hosting This issue is related to the Kestrel web server or other hosting mechanisms. P3 - medium Medium impact issue. Size - M This issue is a medium amount of work. and removed requires triage Issue has not yet been verified by the development team. labels Oct 8, 2024
@adamdriscoll
Copy link
Member

Had to implement some work arounds due to this: swagger-api/swagger-ui#6787

I still think we can improve the performance a bit, but it no longer crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Hosting This issue is related to the Kestrel web server or other hosting mechanisms. bug Something isn't working P3 - medium Medium impact issue. PowerShell Universal Issue relates to PowerShell Universal. Size - M This issue is a medium amount of work.
Projects
None yet
Development

No branches or pull requests

2 participants