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

Struggles starting the launchers ("No PortMapping for contextName 'management' found") #371

Closed
Harown opened this issue Oct 25, 2024 · 3 comments
Labels

Comments

@Harown
Copy link

Harown commented Oct 25, 2024

Bug Report

Describe the Bug

I'm facing some problems trying to start the launchers:

  1. Problem with secret settings (catalog-server):
Caused by: org.eclipse.edc.spi.EdcException: No setting found for key edc.iam.sts.privatekey.alias

This seems to be located in SecretsExtension. Changing

vault.storeSecret(context.getConfig().getString(STS_PRIVATE_KEY_ALIAS), privateKey);
vault.storeSecret(context.getConfig().getString(STS_PUBLIC_KEY_ID), publicKey);

to

vault.storeSecret(STS_PRIVATE_KEY_ALIAS, privateKey);
vault.storeSecret(STS_PUBLIC_KEY_ID, publicKey);

gets rid of the message.

  1. But then I face problems with Jersey settings:
Caused by: java.lang.IllegalArgumentException: No PortMapping for contextName 'management' found

at org.eclipse.edc.web.jersey.JerseyRestService.registerContext(JerseyRestService.java:117)
at java.base/java.util.HashMap.forEach(HashMap.java:1421)
at org.eclipse.edc.web.jersey.JerseyRestService.start(JerseyRestService.java:86)

Context Information

  • 0.10.0-SNAPSHOT (commit 2d0ba24)
  • Win 11
@paullatzelsperger
Copy link
Member

win is not supported, as we have said numerous times. it causes problems with paths, which means that config files aren't parsed correctly.

@Harown
Copy link
Author

Harown commented Oct 25, 2024

Thanks.

@paullatzelsperger
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants