Giter Site home page Giter Site logo

Comments (4)

samirelanduk avatar samirelanduk commented on July 21, 2024 1

I think this is related to a CORS error I am having when loading MMTF files from a web page. An hour or so ago the request was blocked by CORS, when @padix-key reported their error was fixed my web page was requesting correctly again, and now that @padix-key changed the outcome to 'inconsistent' the CORS error is back.

7M3K fails for example: https://zincbind.net/pdbs/7M3K/. This is also locked in the way that @padix-key describes.

from mmtf.

josemduarte avatar josemduarte commented on July 21, 2024

The problem should be solved now. Let us know if you see any other issues.

from mmtf.

paul-shannon avatar paul-shannon commented on July 21, 2024

Perhaps this problem has surfaced again?

STAGE LOG loading file '1IZL'
pheophytin.html:1 Access to XMLHttpRequest at 'http://mmtf.rcsb.org/v1.0/full/1IZL' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

from mmtf.

josemduarte avatar josemduarte commented on July 21, 2024

I do see the CORS header when I try one of the examples above:

$ curl -i https://mmtf.rcsb.org/v1.0/full/1o1z 
date: Mon, 06 Feb 2023 21:55:03 GMT
content-type: application/octet-stream
content-length: 20950
last-modified: Sat, 28 Jan 2023 04:35:48 GMT
etag: "63d4a624-51d6"
content-encoding: gzip
access-control-allow-origin: *
cache-control: max-age=3600
accept-ranges: bytes
strict-transport-security: max-age=16000000; includeSubDomains; preload;
x-backend-server: 10.100.6.25

from mmtf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.