Getting the following error after creating an Opensearch cluster. Is the db.xml file setup incorrectly?
2026/01/12 08:27:07.526|SLDataGateway|16200|8|CSLDataGateway::CreateGatewayConnection|ERR|0|Failed to create DBGateway connection hr = 80070057(The parameter is incorrect.)
It could be we are not defining the parameters properly. Below is the DB.xml contents for refence. <DataBases version="4.4" xmlns="http://www.skyline.be/config/db">
<DataBase active="True" type="Elasticsearch" search="true">
<ConnectString></ConnectString>
<Server>localhost</Server>
<DBServer>[https://192.168.155.220:9200%3c/DBServer]https://192.168.155.220:9200</DBServer>
<DSN>SkySQL</DSN>
<DB>SLDMADB</DB>
<UID>admin</UID>
<PWD>whatever123</PWD>
<IntegratedSecurity>False</IntegratedSecurity>
<Maintenance monthsToKeep="12">
<Min>250000</Min>
<Max>300000</Max>
<Tables>
<Name field="id">Alarm</Name>
<Name field="id">Info</Name>
</Tables>
<SkipTableUpdates></SkipTableUpdates>
</Maintenance>
</DataBase>
</DataBases>
Hi Randy, there seems to be an error (copy paste?) in the <DBServer> tag.
This should be a comma separated list of URLs.
The square brackets and the "%3c/DBServer" should not be there.
You can try this instead:
<DBServer>https://192.168.155.220:9200</DBServer>
For more info, see DB.xml | DataMiner Docs
Thank you. I will try it.