Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(edc-dev) Failed negotiating contract #647

Closed
2 tasks
darxsky opened this issue Dec 1, 2023 · 2 comments
Closed
2 tasks

(edc-dev) Failed negotiating contract #647

darxsky opened this issue Dec 1, 2023 · 2 comments
Labels
kind/bug Something isn't working. The software does not behave as expected or specified. scope/ce sovity's Open Source Community Edition task/analyze Need for investigation

Comments

@darxsky
Copy link

darxsky commented Dec 1, 2023

Bug Report

Description

When a consumer wants to negotiate a contract with the data provider, an error occurs. In particular, the contract negotiation fails due to invalid consumer identity.

In my case:

Expected Behavior

Contract agreement created.

Observed Behavior

Contract negotiaton error (Invalid consumer identity)

ContractNegotiation: ID c6c32a94-3535-443b-a250-92879a057a34. Fatal error while [Consumer] Send ContractRequestMessage message. Error details: {"@type":"dspace:ContractNegotiationError","dspace:code":"400","dspace:reason":"Contract offer is not valid: Invalid consumer identity","@context":{"dct":"https://purl.org/dc/terms/","edc":"https://w3id.org/edc/v0.0.1/ns/","dcat":"https://www.w3.org/ns/dcat/","odrl":"http://www.w3.org/ns/odrl/2/","dspace":"https://w3id.org/dspace/v0.8/"}}

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to Catalog Browser of the first connector to retrieve the available assets.
CatalogBrowser
  1. Click on the available asset.
AssetDetails
  1. Click on Negotiate button.

FaildeNegotiatingContract

  1. See error "Failed negotiating contract".

Context Information

  • Used version
    edc: ghcr.io/sovity/edc-dev:latest
    edc-ui: ghcr.io/sovity/edc-ui:2.1.0
  • Logs:
    ContractNegotiation: ID c6c32a94-3535-443b-a250-92879a057a34. Fatal error while [Consumer] Send ContractRequestMessage message. Error details: {"@type":"dspace:ContractNegotiationError","dspace:code":"400","dspace:reason":"Contract offer is not valid: Invalid consumer identity","@context":{"dct":"https://purl.org/dc/terms/","edc":"https://w3id.org/edc/v0.0.1/ns/","dcat":"https://www.w3.org/ns/dcat/","odrl":"http://www.w3.org/ns/odrl/2/","dspace":"https://w3id.org/dspace/v0.8/"}}
  • OS: Linux, Windows

Possible Implementation and Work Breakdown

Tasks

@darxsky darxsky added kind/bug Something isn't working. The software does not behave as expected or specified. scope/ce sovity's Open Source Community Edition task/analyze Need for investigation labels Dec 1, 2023
@tmberthold
Copy link
Contributor

Hello and thank you for reporting!
We already have an internal issue for this - at the moment the contract negotiation does not work in the local demo setup (edc-dev). We will let you know if there is any news about this.

@tmberthold tmberthold changed the title Failed negotiating contract (edc-dev) Failed negotiating contract Dec 1, 2023
@richardtreier
Copy link
Collaborator

Fix implemented in #642, please await the upcoming release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working. The software does not behave as expected or specified. scope/ce sovity's Open Source Community Edition task/analyze Need for investigation
Projects
None yet
Development

No branches or pull requests

3 participants