-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Description
I followed the set up instructions as follows:
@client = LaunchDarkly::LDClient.new(<sdk_key>)
hash = Hash.new
@client.variation('flag_name', hash, false)
However, I keep getting an error stating [LDClient] Client has not finished initializing; feature store unavailable, returning default value
I'm noticing that @data_source.initialized? is false in this statement:
@config.offline? || @config.use_ldd? || @data_source.initialized?
at this line in ldclient.rb
I also noticed that @initialized.make_true is never called at this line in stream.rb
The code that is ingesting the ruby-server-sdk is in a library used by another application that may already have its own launch darkly ruby-server-sdk as well.
Does anyone know why the LD Client is not being initialized? Thank you!
Metadata
Metadata
Assignees
Labels
No labels