launchdarkly/java-server-sdk

SDK keeps trying to post diagnostics, even when using invalid sdk key

frederikvanhoyweghen opened this issue · 3 comments

Is this a support request?
No

Describe the bug
When using an invalid SDK key, LDClient will keep trying to post diagnostic events even when it's supposed to stop trying after x amount of failed attempts.

To reproduce

  • Initialize an LDClient with an invalid SDK key
  • Perform some LD API operations using the LDClient. Not sure about any additional required steps - this has happened right from the start of our implementation.

Expected behavior
No more attempts to post diagnostics after repeated failures due to invalid SDK key

Logs
afbeelding

SDK version
5.6.3

Language version, developer tools
Java 8

OS/platform
Observed on Windows 10, Debian Buster

Thanks for reporting this. The problem seems clear and we're working on a fix.

(Filed internally as 133942)

This is fixed in version 5.6.5.