-
Notifications
You must be signed in to change notification settings - Fork 19
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
Omejdn DAPS: Contract negotiation fails when using the EDC oauth2-daps extension #654
Comments
Just a few quick notes from my side:
|
Thank you for the information! We are not trying to connect to the MDS, we are trying to set up our own separate data space. |
I have forwarded this internally and we will get back to you about this as soon as possible. //cc: @jkbquabeck |
Hi, together with our Release v7.0.0 and this Omejdn Documentation in our Productive Deployment Guide, this issue should now be resolved. Please note that there is still a time skew issue in the Eclipse EDC that can cause Contract Negotiations to fail with certificate errors. Please re-open the issue if your issue persists. |
Bug Report
Description
In our setup we use omejdn-daps and we have rebuilt the
ghcr.io/sovity/edc-dev:5.0.0
image with theoauth2-daps
extension enabled like so:File:
launchers/common/base-prod/build.gradle.kts
dependencies { // OAuth2 IAM api("${edcGroup}:oauth2-core:${edcVersion}") + api("${edcGroup}:oauth2-daps:${edcVersion}") api("${edcGroup}:vault-filesystem:${edcVersion}") }
Creating assets, usage policies and contract definitions works smoothly but contract negotiations fail.
Expected Behavior
We expect that the contract negotiation will complete.
Observed Behavior
Instead, the contract negotiation hangs and we notice the following error in the logs of the provider:
Steps to Reproduce
Steps to reproduce the behavior:
Add the oauth2-daps extension to build.gradle.kts (as shown above) and rebuild the image
Configure docker-compose and .env
Generate a SKI/AKI pair and .jks file and place it in a new
secrets
directory at the root directory of the project.At the bottom of .env put:
In docker-compose.yaml, both in
edc
andedc2
add:And:
Start the connectors
On the provider, create an asset and contract definition.
On the consumer, go to Catalog Browser, select the asset and attempt to negotiate.
Negotiation should hang, with the loading animation playing continuously.
Check the provider logs and see the
Invalid provider credentials
error.Context Information
ghcr.io/sovity/edc-dev:5.0.0
with theoauth2-daps
extension, andghcr.io/sovity/edc-ui:2.0.0
for the UIThe text was updated successfully, but these errors were encountered: