Skip to content

Catalog non-accessible due to error while fetching client secret from vault #530

@joaoslva

Description

@joaoslva

Hey! I'm having an issue while trying to access either Bob or Alice's catalogs.

Current behaviour

Basically there is no response being returned by the endpoint I'm querying to get the assets available in Bob's catalog. Bellow there is a print of the logs in Bob's control plane pod:
Image

This error message keeps repeating over and over. The same goes for Alice's control plane, the only change is in the secret alias.

Steps to reproduce

Deploy the MXD like indicated in the README file, create an asset on Alice's side and then run this code snippet that I'm using in a Jupyter Notebook to check Bob's catalog:

    f"{bobUrl}/management/v3/catalog/request",
    json={
        "@context": {
            "@vocab": "https://w3id.org/edc/v0.0.1/ns/",
            "odrl": "http://www.w3.org/ns/odrl/2/",
        },
        "@type": "CatalogRequest",
        "counterPartyId": "BPNL000000000001",
        "counterPartyAddress": "http://alice-controlplane:8084/api/v1/dsp",
        "protocol": "dataspace-protocol-http",
        "querySpec": {
            "@type": "QuerySpec",
            "offset": 0,
            "limit": 50,
            "sortField": "http://purl.org/dc/terms/type",
            "sortOrder": "ASC",
        },
        "filterExpression": [
            {
                "operandLeft": "https://w3id.org/edc/v0.0.1/ns/id",
                "operator": "=",
                "operandRight": assetname,
            }
        ],
    },
    headers={"x-api-key": bobApiKey, "Content-Type": "application/json"},
)

bobUrl and assetname are predefined variables in my Notebook. It is expected to receive no response after running the snippet like what is happening on my side

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions