You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys,
when connecting a dynamic-config-client-updater to a config server that's configured to use a postgresql db this error appears:
tskv timestamp=2022-08-26T17:33:41.127367 level=ERROR module=DoRun ( third_party/userver/core/src/components/run.cpp:164 ) task_id=0 thread_id=0x00007F1E59D55AC0 text=Loading failed: Error from 'dynamic-config-client-updater' updater: Field 'USERVER_HTTP_PROXY' is of a wrong type. Expected: stringValue, actual: objectValue (std::runtime_error) tskv timestamp=2022-08-26T17:33:41.129100 level=ERROR module=DaemonMain ( third_party/userver/core/src/utils/daemon_run.cpp:72 ) task_id=0 thread_id=0x00007F1E59D55AC0 text=Unhandled exception in components::Run: Error from 'dynamic-config-client-updater' updater: Field 'USERVER_HTTP_PROXY' is of a wrong type. Expected: stringValue, actual: objectValue Unhandled exception in components::Run: Error from 'dynamic-config-client-updater' updater: Field 'USERVER_HTTP_PROXY' is of a wrong type. Expected: stringValue, actual: objectValue
It's expecting a string but config_value is a json column.
The error doesn't happen if switching to the dynamic_config_fallback.json file there the value of USERVER_HTTP_PROXY is correctly a string.
Thanks
The text was updated successfully, but these errors were encountered:
Hey guys,
when connecting a dynamic-config-client-updater to a config server that's configured to use a postgresql db this error appears:
tskv timestamp=2022-08-26T17:33:41.127367 level=ERROR module=DoRun ( third_party/userver/core/src/components/run.cpp:164 ) task_id=0 thread_id=0x00007F1E59D55AC0 text=Loading failed: Error from 'dynamic-config-client-updater' updater: Field 'USERVER_HTTP_PROXY' is of a wrong type. Expected: stringValue, actual: objectValue (std::runtime_error) tskv timestamp=2022-08-26T17:33:41.129100 level=ERROR module=DaemonMain ( third_party/userver/core/src/utils/daemon_run.cpp:72 ) task_id=0 thread_id=0x00007F1E59D55AC0 text=Unhandled exception in components::Run: Error from 'dynamic-config-client-updater' updater: Field 'USERVER_HTTP_PROXY' is of a wrong type. Expected: stringValue, actual: objectValue Unhandled exception in components::Run: Error from 'dynamic-config-client-updater' updater: Field 'USERVER_HTTP_PROXY' is of a wrong type. Expected: stringValue, actual: objectValue
It's expecting a string but config_value is a json column.
The error doesn't happen if switching to the dynamic_config_fallback.json file there the value of USERVER_HTTP_PROXY is correctly a string.
Thanks
The text was updated successfully, but these errors were encountered: