Hi,
I just created read-only URL repository and give it a name as "test". I got this error when verify repository:
{
"error": {
"root_cause": [
{
"type": "repository_exception",
"reason": "[test] file url [http://testrepo] doesn't match any of the locations specified by path.repo or repositories.url.allowed_urls"
}
],
"type": "repository_exception",
"reason": "[test] file url [http://testrepo] doesn't match any of the locations specified by path.repo or repositories.url.allowed_urls"
},
"status": 500
}
Can you please pinpoint how can I get this repo verified successfully? I don't know how to find path.repo or repositories.url.allowed_urls.
You need to change repositories.url.allowed_urls according to the docs:
URLs using the http, https, or ftp protocols must be explicitly allowed with the repositories.url.allowed_urls cluster setting. This setting supports wildcards in the place of a host, path, query, or fragment in the URL.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.