No dynamic domain parameters found in the domain

Hi, I was trying dynamic parameters in the canton console.
But when I use the command mydomain.service.get_dynamic_domain_parameters,
I got the following erros:

java.lang.IllegalStateException: No dynamic domain parameters found in the domain

This is the error after further debugging:

Hello,
Thanks for reporting!
I need some additional information to continue investigating:

  • which version of canton are you using ?
  • what are the static domain parameters : mydomain.service.get_static_domain_parameters
  • what is the command that you have run that produces the second error ?

Thanks

Hi @Meriam_Lachkar ,

  • which version of canton are you using ?
    2.5.0

  • what are the static domain parameters : mydomain.service.get_static_domain_parameters

  • what is the command that you have run that produces the second error ?
    mydomain.service.update_dynamic_domain_parameters

Can you please @raphson93 execute this command mydomain.health.status ?
thanks

Hi @Meriam_Lachkar
image

  • Right now I’m not able to reproduce the problem. Can you please provide me the zip file produces by this command mydomain.health.dump(). I will also need the bootstrap script if you have one.

  • Also can you please for next exchanges copy paste the messages instead of taking screen shots. It’s a bit easier for me to search error messages this way.

  • Last thing, which domain parameter are you trying to update with this command mydomain.service.update_dynamic_domain_parameters ? Can you provide me the full commands that lead to these issues in the first place ?

Hi @Meriam_Lachkar ,
I was trying to update participantResponseTimeout and mediatorReactionTimeout.

mydomain.service.update_dynamic_domain_parameters(
  _.update(
    participantResponseTimeout = 1.minutes,
    mediatorReactionTimeout = 1.minute
  )
)

You can download it here:

Just to make sure, even if canton is started and running, the last command you have just sent is still failing ?

mydomain.service.update_dynamic_domain_parameters(
  _.update(
    participantResponseTimeout = 1.minutes,
    mediatorReactionTimeout = 1.minute
  )
)

Hi @Meriam_Lachkar , yes.
Is there any command to check the current canton protocol version?

To get the protocol version, you can execute mydomain.service.get_static_domain_parameters.
The dump you shared shows that you are using protocol version 4.