Authentication to data source failed even though authentication is turned off

I’m running Grafana 10.4.3 on Ubuntu 20.04.6. It’s part of the setup for the perfsonar network measurement package, which uses Opensearch to collect data. However, no data is currently being displayed: instead, every panel has the error “Opensearch error: authentication to data source failed”. Which is strange, because the provisioning of the data source (the configuration file is below) sets basicAuth to false, so there shouldn’t be any authentication necessary. I turned on debugging for the log, but all I see are lines like this:

logger=data-proxy-log userId=1 orgId=1 uname=admin path=/api/datasources/proxy/uid/f990c0c6-a920-41c2-8b3e-a43e6ff9234a/_msearch remote_addr=128.119.202.246 referer="https://argus-t1.net2.mghpcc.org/grafana/d/ff439cb3-6042-43b5-a999-674681d80395/perfsonar-main?orgId=1" t=2024-08-26T17:36:55.424182584Z level=info msg="Authentication to data source failed" body= statusCode=401

The web interface also shows all the authentication options for the data source are off, so I don’t think that this is being overwritten somewhere. Any advice would be very welcome!

thanks,

will

# Configuration file version
apiVersion: 1

# List of data sources to delete from the database.
deleteDatasources:
  - name: perfSONAR Local
    orgId: 1

# List of data sources to insert/update depending on what's
# available in the database.
datasources:
  # <string, required> Sets the name you use to refer to
  # the data source in panels and queries.
  - name: perfSONAR Local
    # <string, required> Sets the data source type.
    type: grafana-opensearch-datasource
    # <string, required> Sets the access mode, either
    # proxy or direct (Server or Browser in the UI).
    # Some data sources are incompatible with any setting
    # but proxy (Server).
    access: proxy
    # <int> Sets the organization id. Defaults to orgId 1.
    orgId: 1
    # <string> Sets a custom UID to reference this
    # data source in other parts of the configuration.
    # If not specified, Grafana generates one.
    uid: f990c0c6-a920-41c2-8b3e-a43e6ff9234a
    # <string> Sets the data source's URL, including the
    # port.
    url: https://localhost/opensearch
    # <string> Sets the database user, if necessary.
    # user: ""
    # # <string> Sets the database name, if necessary.
    # database: ""
    # <bool> Enables basic authorization.
    basicAuth: false
    # <string> Sets the basic authorization username.
    # basicAuthUser:
    # <bool> Enables credential headers.
    # withCredentials:
    # <bool> Toggles whether the data source is pre-selected
    # for new panels. You can set only one default
    # data source per organization.
    isDefault: true
    # <map> Fields to convert to JSON and store in jsonData.
    jsonData:
      database: "pscheduler*"
      flavor: "opensearch"
      maxConcurrentShardRequests: 5
      pplEnabled: true
      timeField: "pscheduler.start_time"
      tlsAuth: false
      tlsSkipVerify: true
      version: "2.13.0"
    # <map> Fields to encrypt before storing in jsonData.
    # secureJsonData:
    #   # <string> Defines the CA cert, client cert, and
    #   # client key for encrypted authentication.
    #   tlsCACert: '...'
    #   tlsClientCert: '...'
    #   tlsClientKey: '...'
    #   # <string> Sets the database password, if necessary.
    #   password:
    #   # <string> Sets the basic authorization password.
    #   basicAuthPassword:
    version: 1
    # <bool> Allows users to edit data sources from the
    # Grafana UI.
    editable: false