[ 
https://issues.apache.org/jira/browse/UNOMI-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16393055#comment-16393055
 ] 

Serge Huber commented on UNOMI-170:
-----------------------------------

I missed the part where you said you were using ElasticSearch 6.2.2. Apache 
Unomi requires ElasticSearch 5.6.3 as I stated previously here: 
https://issues.apache.org/jira/browse/UNOMI-170?focusedCommentId=16391121&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16391121
 (make sure you don't forget to change the cluster.name value to 
contextElasticSearch).

Also you can check the Karaf logs in data/log/karaf.log for any errors. If you 
see some don't hesitate to attach them to the ticket here.

Regards,

  Serge... 

> UNOMI CORS Issue is coming when trying to fetch RULES
> -----------------------------------------------------
>
>                 Key: UNOMI-170
>                 URL: https://issues.apache.org/jira/browse/UNOMI-170
>             Project: Apache Unomi
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.2.0-incubating, 1.3.0-incubating
>         Environment: Mac OS
>            Reporter: Mitesh Jain
>            Priority: Major
>              Labels: security
>         Attachments: Screen Shot 2018-03-07 at 11.35.27 AM.png, Screen Shot 
> 2018-03-09 at 9.16.14 PM.png
>
>
> Hi,
> My Name is Mitesh Jain,
> I am new to Unomi.
> All installations are done according to this link:
> [http://unomi.incubator.apache.org/]
> When I am trying to access the rest api cxs to fetch all the rules, it is 
> showing properly in browser when I browse,
> [https://localhost:9443/cxs/rules]
> but when I am trying to access the same using my Angular application to fetch 
> rules using above url, 
> [https://localhost:9443/cxs/rules|https://localhost:9443/cxs/rules/] it will 
> make a OPTIONS call and I am getting the error as "No 
> 'Access-Control-Allow-Origin' header is present on the requested resource."
> Please Let me know how to fix this CORS issue.
> Mitesh Jain
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to