Hi there,
I am trying to use -e reindex.remote.whitelist="*"
in my docker run command to allow all domains in whitelist.
But I am getting the following error when I try to run this:-
Exception in thread "main" org.elasticsearch.common.settings.SettingsException: Failed to load settings from [overrides.yml]
at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1230)
at org.elasticsearch.node.InternalSettingsPreparer.loadOverrides(InternalSettingsPreparer.java:143)
at org.elasticsearch.node.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:53)
at org.elasticsearch.common.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:110)
at org.elasticsearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:54)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:85)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:94)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:85)
at org.elasticsearch.cli.Command.main(Command.java:50)
at org.elasticsearch.launcher.CliToolLauncher.main(CliToolLauncher.java:64)
Caused by: org.elasticsearch.xcontent.XContentParseException: [2:25] while scanning an alias
in 'reader', line 2, column 27:
reindex.remote.whitelist: *
^
unexpected character found
(10)
in 'reader', line 2, column 28:
reindex.remote.whitelist: *
^
Can someone please suggest the solution here.
Thanks in advance!