I’m using ktor 0.9.5's CIO HttpClient to make HTTP...
# ktor
l
I’m using ktor 0.9.5's CIO HttpClient to make HTTP calls to other services (so ktor server receives http requests and makes an http request to other services). On my local machine, the http request responds like it should. But on AWS (where it worked with 0.9.3) it never returns. Does somebody have an idea where the problem might be?
d
Have you tried another engine? Have the same problem
l
I’m currently trying Apache, will tell you about my results when I have them
@Deactivated User the apache client works for me. So there is some bug in CIO… Could be related to linux (since it works on my Mac but not on AWS / linux) or other environment issues
d
Might be a bug. Have you tried 1.0.0-beta-2? Maybe fixed? If not, a bug report would help a lot, so we can check and try to fix it before 1.0.0
e
Hi, @lukaswelte. What instance type do you use?
l
I tried it on t3.medium and m5.large
Both in Ireland (eu-west-1)
e
And what is jvm vession(and build number)?
l
Java 8 let me check the exact version and build number
VM: OpenJDK 25.162-b12 Java: Java 1.8.0-8u162
e
Thanks. I'll try to reproduce and fix it. We could track the problem on GitHub(https://github.com/ktorio/ktor/issues/682).
😎 1