Unable to access via OpenCMIS Javascript from browser

Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
fronsky
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Thu Sep 05, 2019 1:38 pm

Unable to access via OpenCMIS Javascript from browser

Post by fronsky » Thu Sep 05, 2019 1:45 pm

I installed OpenKM to experience the CMIS interface. I'm confronted with a CORS issue.
Access to XMLHttpRequest at 'http://localhost:8080/OpenKM/cmis/atom' from origin 'http://localhost' 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.
Access via OpenCMIS workbench is ok.

I entered the CORS filter info as suggested in forum (viewtopic.php?t=20618#p40658) and restarted.

Still no succes. Can someone support met with this?

jllort
Moderator
Moderator
Posts: 10868
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Unable to access via OpenCMIS Javascript from browser

Post by jllort » Sat Sep 07, 2019 10:32 am

I think will be necessary some modification like shown here:
https://stackoverflow.com/questions/553 ... ring-3-0-4

Post Reply