Stream: troubleshooting

Topic: Configuring Handles in 6.2+


view this post on Zulip Király Péter (Apr 07 2025 at 15:18):

Hi, I am struggling with the same issue, but with Handle. Previously we had only one relevant JVM option:

-Ddataverse.handlenet.admcredfile

Now I am not able to transform it to the dataverse.pid.providers based dataverse.pid.*. type setting, I always have a "Unable to find property with name dataverse.pid.hdl.handlenet.key.path" type of error message. https://guides.dataverse.org/en/latest/installation/config.html does not provide me enough instructions, for example this text: "Can also be set via MicroProfile Config API sources, e.g. the environment variable DATAVERSE_PID_HANDLENET_KEY_PATH. This setting was formerly known as dataverse.handlenet.admcredfile and has been renamed." (https://guides.dataverse.org/en/latest/installation/config.html#legacy-single-pid-provider-dataverse-pid-handlenet-key-path) does not tell me renamed to what. Is there any sample config I could follow?

view this post on Zulip Király Péter (Apr 07 2025 at 15:19):

This issue seemingly blocks the upgrade from 6.1 to 6.2 (and the consecutive versions).

view this post on Zulip Philip Durbin 🚀 (Apr 07 2025 at 15:46):

That looks like a typo.

Do you want to continue with the legacy settings or switch to the new way?

view this post on Zulip Király Péter (Apr 07 2025 at 16:06):

I guess the legacy settings will not work in the up to date version (6.6), or in the near future, so I would like to switch to the new one

view this post on Zulip Philip Durbin 🚀 (Apr 07 2025 at 16:07):

Great, a good starting point might be to look at #docs > domain.xml example for configuring DataCite PID provider

view this post on Zulip Philip Durbin 🚀 (Apr 07 2025 at 16:08):

I know it's for DataCite, not Handles, but the pattern should be similar.

view this post on Zulip Philip Durbin 🚀 (Apr 07 2025 at 16:09):

The new way is similar to how storage is configured, if you're familiar with that.

view this post on Zulip Király Péter (Apr 07 2025 at 16:09):

Thanks! I tried something similar, but I did not find equivalent for the handlenet.admcredfile key.

view this post on Zulip Király Péter (Apr 07 2025 at 16:11):

I tried e.g. dataverse.pid.hdl.handlenet.path, but Dataverse asked me to give some other properties. However this was the only property previously in our instance.

view this post on Zulip Philip Durbin 🚀 (Apr 07 2025 at 16:15):

What about dataverse.pid.hdl.handlenet.key.path?

view this post on Zulip Király Péter (Apr 07 2025 at 16:16):

Same. Anyway, I will keep experimenting this, and take the HandleProviderFactory class as a reference point.
Thanks for the help!

view this post on Zulip Philip Durbin 🚀 (Apr 07 2025 at 16:18):

Yes, I was hoping you'd dive into the code. :big_smile:

view this post on Zulip Philip Durbin 🚀 (Apr 07 2025 at 16:19):

This thread might help: https://groups.google.com/g/dataverse-community/c/ZyhO54in3Jo/m/auUpWkerEAAJ :shrugdog:

view this post on Zulip Király Péter (Apr 08 2025 at 09:03):

I figured out the problem. Documentation says (https://guides.dataverse.org/en/6.2/installation/config.html#dataverse-pid-handlenet-passphrase):
„The key file may (and should) be encrypted with a passphrase (used for encryption with AES-128). See also chapter 1.4 “Authentication” of the Handle.Net Technical Documentation” - This passphrase is mandatory in the code, while it is optional in the description, and in previous Dataverse versions. A fake passphrase worked in our case.

view this post on Zulip Philip Durbin 🚀 (Apr 08 2025 at 11:34):

Interesting! Can you please make a pull request?


Last updated: Oct 30 2025 at 06:21 UTC