FIT-Connect Client SDK: Deadlock bei Verwendung eines Authentifizierenden Proxies mit falschen Zugangsdaten

Wenn man einen Proxy verwendet, der einen Benutzernamen und Passwort benötigt, geht das SDK scheinbar in ein Deadlock, wenn man falsche Credentials eingibt. Die Requests dauern endlos lange. Es sollte in so einem Fall eine Exception geworfen werden.

Beispielcode:

    var proxyConfig = ProxyConfig.builder()
                                         .host("proxyHost") // <- host und port müssen richtig sein
                                         .port(1234)
                                         .basicAuth(new ProxyAuth("wrongUser", "wrongPassword")) // <- passwort und/oder username sind falsch
                                         .build();

    var httpConfig = HttpConfig.builder().proxyConfig(proxyConfig).build();
    var config = ApplicationConfig.builder().httpConfig(httpConfig)
                                  // ... weitere Einstellungen ...
                                  .build();
    DestinationClient destinationClient = ClientFactory.createDestinationClient(config);
    destinationClient.listDestinations(0, 100); // <- hier deadlock
Edited by Felix Hunecker
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information