Hey, i've got a strange Exception using ktor-client:
io.ktor.client.features.SendCountExceedException: Max send count 20 exceeded
This appears when i use the basic auth feature, give it the wrong username and password and then try to get data from a backend. When i manually add the
Authorization: Basic
header, it works fine
Any Ideas what causes this and how i could solve it? I'm using ktor 1.3.0
Leon K
02/19/2020, 1:26 PM
does anyone have any ideas about this? It's kinda blocking progress right now
r
ribesg
02/19/2020, 1:29 PM
Try 1.3.1, I see some fixes about authentication in the changelog
l
Leon K
02/19/2020, 1:30 PM
ouh, thanks, didn't realize there was a newer version out already ;D
I'll try
When (accidentally) using the wrong username/password for BasicAuthProvider in the io.ktor:ktor-client-auth plugin, the client ultimately throws a SendCountExceedException