Error "The namespace used in the transaction is invalid"
You might receive this error message when submitting a transaction. You will get this error if the
root_url set in the configuration doesn't match the namespace set by the client in the transaction. Clients will always use the URL they are connected to as the namespace.
This ensures that a transaction is only valid for one specific instance of Openchain, and that it is not possible to reuse a signed transaction on multiple ledgers.
To solve this, make sure the URL :ref:`set in your configuration file <master-observer-configuration>` (
validator_mode:root_url) matches the URL that clients use to connect to your Openchain instance. All the components of the URL must match:
- The scheme, e.g.:
- The hostname, e.g.:
- The port, e.g.:
- The path, e.g.:
Make sure you don't forget the trailing slash, as clients will always include it in the namespace. E.g.:
https://endpoint.com/ instead of