Giter Club home page Giter Club logo

Comments (2)

agea avatar agea commented on May 30, 2024

It appears you are trying to access with the browser from http://localhost:3000 to http://localhost:8081 so it is a cross domain request, either you have to use a proxy (apache or nginx for example) in front of you applications, and serve them from the same domain, or you have to configure both meteor and Alfresco for CORS, I'm not sure if meteor already allows cross domain requests, for alfresco this can be a starting point: http://www.slideshare.net/jottley/cors-enable-alfresco-for-cors.

If you try to connect to alfresco server-side you should not face these issues.

from cmisjs.

wimco avatar wimco commented on May 30, 2024

Thanks for that link Andrea!
I have been able to get the access working by placing an nginx reverse proxy in front of both Meteor and Alfresco.

Having some more problems with Alfresco as the /alfresco/cmisbrowser does not reflect changes made in the alfresco-glabal.properties (as per https://forums.alfresco.com/forum/end-user-discussions/alfresco-mobile/androidios-alfresco-mobile-reverse-proxy-configuration) in the section

 # The servlet path, context path and server can all be selectively overridden
opencmis.context.override=true
opencmis.context.value=
# if true, the servlet path of OpenCMIS generated urls will be set to "opencmis.servletpath.value", otherwise it will be taken from the request url
opencmis.servletpath.override=true
opencmis.servletpath.value=
opencmis.server.override=true
opencmis.server.value=https://<my.public.alfresco.hostname>

But accessing the repository via the URL
/alfresco/api/-default-/public/cmis/versions/1.1/browser
seems to work OK

from cmisjs.

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.