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

dynamic-config-value invalid JSON value for key #5642

Open
suityou01 opened this issue Apr 2, 2024 · 0 comments
Open

dynamic-config-value invalid JSON value for key #5642

suityou01 opened this issue Apr 2, 2024 · 0 comments

Comments

@suityou01
Copy link

suityou01 commented Apr 2, 2024

Expected Behavior

When I launch the temporal server from the command line and supply a valid key/value for the dynamic-config-value flag the server starts and applies this config value

https://docs.temporal.io/cli/cmd-options#dynamic-config-value

Actual Behavior

The server fails to start and gives the error

"Error: invalid JSON value for key "persistence.defaultStore"

Steps to Reproduce the Problem

  1. Install temporal
curl -sSf https://temporal.download/cli.sh | sh
  1. Launch with the following dynamic config flags
temporal server start-dev --ip 0.0.0.0 --dynamic-config-value \
	 frontend.workerVersioningDataAPIs=true --dynamic-config-value \
	 persistance.numHistoryShards=2 --dynamic-config-value \
	 persistence.defaultStore="default" --dynamic-config-value \
	 persistence.visibilityStore="default" --dynamic-config-value \
	 persistence.secondaryVisibilityStore="default" --dynamic-config-value \
	 persistence.datastores.default.sql.user="root" --dynamic-config-value \
	 persistence.datastores.default.sql.password="root" --dynamic-config-value \
         persistence.datastores.default.sql.pluginName="mysql" --dynamic-config-value \
         persistence.datastores.default.sql.databaseName="temporal" --dynamic-config-value \
         persistence.datastores.default.sql.connectAddr="mysql" --dynamic-config-value \
         persistence.datastores.default.sql.connectProtocol="tcp"

Specifications

  • Version: temporal version 0.11.0 (server 1.22.4) (ui 2.21.3)
  • Platform: Docker container running debian based image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant