https://kotlinlang.org logo
#ktor
Title
# ktor
b

bod

01/05/2020, 6:36 PM
Hello, World! I have a client library using Ktor HttpClient, and a sample on the JVM works perfectly, while the exact same code on Native (MacOS) fails with:
Copy code
Uncaught Kotlin exception: io.ktor.client.call.NoTransformationFoundException: No transformation found: class <http://io.ktor.utils.io|io.ktor.utils.io>.ByteChannelNative -> class org.jraf.klibqonto.internal.api.model.organizations.ApiOrganizationEnvelope
So I'm supposing the problem would have something to do with the Engine that's used (I use curl on MacOS). Any idea what the problem could be?
ok, found the culprit: it works fine if I don't set a proxy. I reproduce 100% when I set the proxy. Will open an issue.
3 Views