To create a connection to your system, follow these steps:
- Navigate to Settings
> Data Ingestion > Connections.
- In the top-right corner, click New connection, find your system, and click Connect.
General configuration
In the general connection configuration step:
- Name your connection for easier identification in Dawiso. Use a unique, descriptive name, for example a combination of the server name and environment, such as
server1_prod. - Provide a description of the connection’s purpose.
- Select a Connection type.
- Shared: The source is accessible from the public internet, and you can share your credentials with Dawiso.
- Private: The source isn’t accessible from the public internet, and you can’t share your credentials with Dawiso. For more information, see Create a private connection.
- Click Next.
Server configuration
In the Milvus server section, enter the URL of the Milvus proxy, with the scheme and the port:
- Self-hosted Milvus without TLS:
http://milvus.example.com:19530 - Self-hosted Milvus with TLS:
https://milvus.example.com:19530 - Zilliz Cloud: the public endpoint of your cluster, as shown in the Zilliz Cloud console.
Without a scheme, Dawiso uses https://, so enter http:// explicitly for a Milvus without TLS. Don’t put a username, a password or a query string in the URL: Dawiso rejects such a URL.
Authentication
In the Authentication section, fill in the fields that match how your Milvus authenticates. See Prepare for Milvus integration.
- Username and Password: The Milvus user you created for Dawiso, or a Zilliz Cloud cluster user.
- API key: A Zilliz Cloud API key, as an alternative to the username and password.
- Leave all three fields empty if authentication is disabled on your Milvus.
- If both the API key and the username are filled in, Dawiso uses the API key.
- The password and the API key are stored encrypted. When you edit the URL or the username of a saved connection, the form clears them, so enter them again.
TLS
-
When your Milvus has TLS enabled, use an
https://URL. Zilliz Cloud always uses HTTPS. -
Dawiso verifies the server certificate against the system’s trusted certificate authorities.
-
If the server certificate is issued by a private certificate authority, add the authority’s certificate as
CaCertificatein Optional settings. For a shared connection, paste the certificate in PEM format, with the line breaks written as\n:{ "CaCertificate": "-----BEGIN CERTIFICATE-----\nMIID...\n-----END CERTIFICATE-----" }For a private connection running on Dawiso Integration Runtime (DIR), you can enter the path of a PEM or DER file on the DIR host instead:
{ "CaCertificate": "C:/certs/milvus-ca.pem" } -
Mutual TLS (client certificates) isn’t supported.
Optional and additional settings
Both Optional Settings and Additional Settings for your connection are optional:
- Optional Settings: Specify options supported by the provider in JSON format.
- Additional Settings: A JSON formatted list of additional settings for troubleshooting or advanced connection configuration. Leave this field empty unless Dawiso support asks you to change it.
Enter optional settings as valid JSON.
The Milvus connection supports the following optional settings:
| Setting | Default | Description |
|---|---|---|
CaCertificate | None: the system’s trusted authorities | The certificate of a private certificate authority. See TLS. |
TimeoutSec | 60 | Time limit in seconds for one request to Milvus during the ingestion. |
Test and save connection
If your connection is shared, click Test connection and wait a few seconds.
- If successful, a green checkmark appears next to the button.
- If it fails, a red error icon appears. Hover over it for a detailed error message. See the troubleshooting section for more information. You can still save the connection.
If your connection is private and you used dummy credentials, the connection test fails.
Finally, click Save and continue to the next step: creating a data source, where you specify what metadata to ingest.
Troubleshooting
The connection test lists the databases the user can see. It checks the URL, TLS and the credentials, but not the privileges on collections: a user that has only the DatabaseReadOnly group passes the test, and its first ingestion stops. See Create Milvus data source.
| Error message or issue | Cause | Fix |
|---|---|---|
HTTP 401 code=1800 … (authentication failed: check the username and password, or the API key) | Authentication failed. | Check the username and password, or the API key. |
HTTP 401 code=80001 message=Invalid token … (Zilliz Cloud) | The API key is wrong, deleted or expired. | Create a new API key in the Zilliz Cloud console. |
The message ends with If the server does not use TLS, write the url with http://; with a private CA, set caCertificate. | The TLS connection failed. | Use an http:// URL if your Milvus doesn’t use TLS. If its certificate is issued by a private certificate authority, set CaCertificate, see TLS. |
no answer within 20s, or the connection is refused | The request couldn’t reach Milvus within the timeout, or the connection was refused. | Check the host and port in the URL, and that your firewall allows connections from Dawiso to port 19530. |
POST <URL>/v2/vectordb/databases/list answered HTTP 404. Either the server is older than Milvus 2.4.18 (not supported; the minimum is 2.5.0), or a proxy or ingress in front of it does not route /v2/vectordb/databases/*. | The URL doesn’t lead to the Milvus REST API: either the server is older than Milvus 2.5.0, or a proxy or ingress in front of it doesn’t route /v2/vectordb/databases/*. | Check the port (19530, not the management port 9091), and that an ingress or reverse proxy forwards every /v2/vectordb/* path to the Milvus proxy. Milvus versions earlier than 2.5.0 aren’t supported. |
Milvus url must not contain credentials or Milvus url must not contain a query string or fragment | The URL contains a username, password, query string, or fragment, which Dawiso rejects. | Remove the credentials or the query string from the URL. Enter the credentials in the Authentication section. |