Roel Janssen <r...@gnu.org> skribis: > Ludovic Courtès writes: > >> Roel Janssen <r...@gnu.org> skribis: >> >>> Ludovic Courtès writes: >>> >>>> Roel Janssen <r...@gnu.org> skribis: >> >> [...] >> >>>>> We might need to add a HTTP header from the GNU server to allow >>>>> loading data from external sources: >>>>> >>>>> https://en.wikipedia.org/wiki/Cross-origin_resource_sharing >>>> >>>> Indeed, because here the requests get blocked. Could you get in touch >>>> with webmast...@gnu.org and report back? >>> >>> At last! I received an e-mail today that the sysadmins made the change >>> to allow fetching data from hydra.gnu.org. So now it should work once >>> it is uploaded to gnu.org. >> >> Good! I applied the patch and deployed the new web page: >> >> https://www.gnu.org/software/guix/packages/ >> >> However, it’s still failing: >> >> 17:00:49.802 Cross-Origin Request Blocked: The Same Origin Policy >> disallows reading the remote resource at >> http://hydra.gnu.org/api/latestbuilds?nr=1&project=gnu&jobset=master&job=aspell-dict-es-1.11-2.armhf-linux. >> (Reason: CORS header 'Access-Control-Allow-Origin' missing).1 <unknown> >> >> Ideas? > > Yes, I think it only works when the origin is hydra.gnu.org. I > contacted the sysadmins again to figure this out. Could you leave the > page there for a couple of days? That way I can give them a live > example.
Sure. But indeed, there’s no ‘Access-Control-Allow-Origin’ HTTP header returned for <https://www.gnu.org/software/guix/packages/>. Ludo’.