edamontology / edam-browser

Stand-alone, lightweight, and fast JavaScript browser for EDAM and other ontologies
https://edamontology.github.io/edam-browser/
MIT License
13 stars 23 forks source link

BioWeb not usable #64

Open bryan-brancotte opened 3 years ago

bryan-brancotte commented 3 years ago

bioweb cannot be called directly :

Access to XMLHttpRequest at 'https://bioweb.pasteur.fr/api/packages?search=&topicId=topic_3315' 
from origin 'http://0.0.0.0:20080' has been blocked by CORS policy: Response to preflight 
request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is 
present on the requested resource.

As a workaround we use cors-anywhere.herokuapp.com, it seems that the service is now limited (follow links in https://cors-anywhere.herokuapp.com/https://bioweb.pasteur.fr/api/packages?search=&topicId=topic_3315) and the api calls are blocked. We either have to find a working and more lasting solution, or disable bioweb.

@hmenager any hint on how to make bioweb accept our api calls ?

bryan-brancotte commented 3 years ago

changed the server with d519379e48d2145c0a9a0e90920d63235db73440, still this server have to be properly configured

HagerDakroury commented 3 years ago

I keep getting an error with the new server since yesterday, https://cors-anywhere.pasteur.cloud/https://bioweb.pasteur.fr/api/packages?search=&topicId=topic_3307 Seems to be temporarily down

bryan-brancotte commented 3 years ago

Hi @HagerDakroury, indeed I haven't finished to configure the server, I temporarily disabled it with fe3199cb88561c024a59b5c789e7a8bc0cdfb40e to prevent having all these error messages