-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
io.ktor.client.call.ReceivePipelineException: Fail to run receive pipeline in iOS #866
Comments
Hi @ImanX, thanks for the report. Could you provide the stacktrace and cause? |
Hi @e5l , No because xcode only print log that. |
Hey @ImanX and what does it print? |
@icarumbas in xcode log just print |
I've got the same error with alike code, and i've noticed that it works with some other sites, for example |
I get this after packaging a Ktor API with (UPDATE: my issue was a timeout error cause it was so slowwww on the Pi) |
For the It looks like we should find the way to decode ISO-8859-1 in kx.io. |
This problem is very similar to #787 |
Hi, I was trying to follow this below give Kotlin example for Multiplatform: I have successfully run it but now I am getting error. Fail to run receive pipeline, after searching a lot and trying to find original exception it seems like it is illegalStateException: |
Hey, I got this problem at the JVM. I use fun main() {
runBlocking {
val client = HttpClient(CIO)
val response = CommonAPI.client.get<String> {
url {
protocol = URLProtocol.HTTPS
host = "playlisten.rbb-online.de"
encodedPath = "/radioberlin/main/index.php"
}
}
println("'$response'")
client.close()
}
} I get the stack:
I know that the title indicates iOS, but it's pretty similar and the same code works for different websites as described above. EDIT: changed version |
Hi @molikuner, thanks for the report. |
Fixed in 1.1.3. |
Hi Are you able to receive response? |
Ktor Version
1.1.1
cio
iOS, Multiplatform
Feedback
I have many issue with
ktor
, I changed behavior my code but I still don't result and response in iOSmy code on common:
and my code on Android that It's work:
and my Code on iOS that not response and print exception:
Where is problem?
The text was updated successfully, but these errors were encountered: