Open etorresmoya opened 3 years ago
Can you update to latest 4 version ?
https://apps.titellus.net/geonetwork/doc/api/index.html is working fine on current 4.0.x.
I have the same problem in a 4.0.4 instance.
Hi! I have seen this too, in a 4.0.4 snapshot as well as in a new 4.0.4 release instance. But decided to leave the problem for later. When I returned to investigate, it was gone. The swagger ui now opens without fault, regardless of whether I am logged in or not. But then I get a CORS error which I cannot resolve. This is from a simple GET /standards request. I have no SSL, so this is pure HTTP.
TypeError: Cross origin requests are only supported for HTTP.
Hälsning / Regards Mats.E
Skickat från min / Sent from my iPad, Ursäkta att jag är kortfattad / Excuse my brevity.
21 maj 2021 kl. 09:45 skrev Juan Luis Rodríguez Ponce @.***>:
I have the same problem in a 4.0.4 instance.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I recently installed Geonetwork 4.0.0.0 in my server, and when I try to access the Swagger API![image](https://user-images.githubusercontent.com/36379571/113649468-1ba2b780-9654-11eb-9fba-5f9cb81d29a9.png)
(http://XXXXXXXXXXXX:8080/geonetwork/srv/api/doc)
I am getting this error