Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Swagger UI Hangs on `Fetching resource list: Please wait`

I am trying to install Swagger API in my ASP.NET WEB API 2 project.

I have installed the swashbuckle ( v5.4.0 ) nuget package. I then debug the project and got to URL/swagger/ui/index where I get Fetching resource list: http://localhost:44432/swagger/docsv1; Please wait. After some time I get the chrome page not responding. Kill or Wait screen.

I am using default SwaggerConfig.cs.

I have run the json validation test at: https://online.swagger.io/validator/debug?url={SwaggerJSON URL HERE}/docs/v1

What steps can I take to further debug my issue here?

[Edit] I accidentally left my one tab open, and after a good 30 minutes the page rendered. What could be causing this? Possibly a endless recursion when parsing the json file?

like image 637
Zapnologica Avatar asked Aug 30 '16 06:08

Zapnologica


1 Answers

https://github.com/domaindrivendev/Swashbuckle/issues/891 Im not sure if this will help you but you can check out this issue.

It would be interesting to see if its the same issue affecting you on your local machine where it was only happening to me when I hosted it on the internet.

I just forked the project and changed the buffer size and used the custom DLL while I'm waiting for a response on the issue.

like image 191
wauk Avatar answered Nov 07 '22 14:11

wauk