Closed smoretti-github closed 4 years ago
Hi, thanks for your report.
I tried to reproduce it, but without success. When I used your configuration I got correct result.
Are you sure, that the swagger documentation of downstream service is accessible from uri: http://localhost:44396/swagger/v1/swagger.json
?
Hi Mino, The Urls were wrong, because i’m working with https protocol and I wrote http://.But now they are correct and I’ve the same error. This is a screenshot of the error: [cid:image001.jpg@01D61C7A.3491DA50] It arrives after one minute.There is a Loading Icon, after a minute the error arrives. Thanks for your intereset in my problem. Bye Simone
Da: Miňo Martiniak notifications@github.com Inviato: venerdì 24 aprile 2020 19:36 A: Burgyn/MMLib.SwaggerForOcelot MMLib.SwaggerForOcelot@noreply.github.com Cc: Moretti Simone S.Moretti@almaviva.it; Author author@noreply.github.com Oggetto: Re: [Burgyn/MMLib.SwaggerForOcelot] Fetch Error (#88)
Hi, thanks for your report.
I tried to reproduce it, but without success. When I used your configuration I got correct result. [image]https://user-images.githubusercontent.com/5930822/80240584-62c1b380-8662-11ea-8fc7-dc5935e35d15.png
Are you sure, that the swagger documentation of downstream service is accessible from uri: http://localhost:44396/swagger/v1/swagger.json?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Burgyn/MMLib.SwaggerForOcelot/issues/88#issuecomment-619150791, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AONT4KPA5JB2OF62CT4EU2TROHEWZANCNFSM4MOJVC7A.
Now It works. Using https:// it works.
Thanks for your help.
We need smart developer like you.
Best Regards Simone
Da: Miňo Martiniak notifications@github.com Inviato: venerdì 24 aprile 2020 19:36 A: Burgyn/MMLib.SwaggerForOcelot MMLib.SwaggerForOcelot@noreply.github.com Cc: Moretti Simone S.Moretti@almaviva.it; Author author@noreply.github.com Oggetto: Re: [Burgyn/MMLib.SwaggerForOcelot] Fetch Error (#88)
Hi, thanks for your report.
I tried to reproduce it, but without success. When I used your configuration I got correct result. [image]https://user-images.githubusercontent.com/5930822/80240584-62c1b380-8662-11ea-8fc7-dc5935e35d15.png
Are you sure, that the swagger documentation of downstream service is accessible from uri: http://localhost:44396/swagger/v1/swagger.json?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Burgyn/MMLib.SwaggerForOcelot/issues/88#issuecomment-619150791, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AONT4KPA5JB2OF62CT4EU2TROHEWZANCNFSM4MOJVC7A.
Happy to help.
Describe the bug Fetch error: undefined /swagger/docs/v1/documents
Expected behavior A clear and concise description of what you expected to happen.
To Reproduce If it is a possible attache:
Original downstream
swagger.json
.Ocelot ReRoutes configuration.