Marklogic:无法创建新实例

时间:2015-04-10 17:14:35

标签: marklogic

我正在尝试创建新的instance,但我收到错误

500: Internal Server Error
REST-INVALIDREQUEST: (rest:INVALIDREQUEST) Invalid request: Host does not match origin or inferred origin, or is otherwise untrusted.
In /MarkLogic/appservices/utils/rest-impl.xqy on line 1077
In rest-impl:check-csrf((<rest:request uri="^/admin/(v1)/timestamp(/)?$" endpoint="/endpoints/timestamp.xqy" xml:id="timestamp" xmlns:rest="http://marklogic.com/appservices/rest"><rest:uri-param name="version">$1</rest:uri-param><rest:http met...</rest:request>, <rest:request uri="^/admin/(v1)/init(/)?$" endpoint="/endpoints/init.xqy" xml:id="init" xmlns:rest="http://marklogic.com/appservices/rest"><rest:uri-param name="version">$1</rest:uri-param><rest:http met...</rest:request>, <rest:request uri="^/admin/(v1)/instance-admin(/)?$" endpoint="/endpoints/instance-admin.xqy" xml:id="instance-admin" xmlns:rest="http://marklogic.com/appservices/rest"><rest:uri-param name="version">$1</rest:uri-param><rest:http met...</rest:request>, ...), map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="uri"><map:value xsi:type="xs:string">/v1/rest-ap...</map:map>))

1 个答案:

答案 0 :(得分:1)

系统阻止您从外部浏览器页面(或者,在本例中为Chrome扩展程序)执行该请求。但是,您可以使用curl,其他一些非浏览器客户端脚本或MarkLogic用户界面。