-
Notifications
You must be signed in to change notification settings - Fork 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
Empty body in response using macosx64 target #1622
Comments
Re-reading what was logged it looks like initial |
Could you please try 1.3.1? (This will require jcenter repo, maven central sync got stuck as usual) |
@cy6erGn0m I just tried 1.3.1 and see same issue. Seems to be slight difference in logging (extra empty line) FWIW
|
Let me know if you need any more details....this is being done as part of https://github.com/joreilly/PeopleInSpace project ....it doesn't contain macOS target yet but can create branch with it if it helps |
Hi @joreilly, it looks like you're trying to use The process of migration to the |
Thanks @e5l. I have other issues in project if I switch back to 1.3.3 (e.g. in terms of how I'm using Kotlin code invoked from iOS)....I'll check back once |
@e5l btw is this specific to macOS....I'm using |
It depends on how you're calling the |
I've pushed my changes to https://github.com/joreilly/PeopleInSpace/tree/macos branch (there's now a macOS XCode project in Following is key part of Kotlin repository class (
|
@e5l let me know if there's any more info I can provide....sounded in any case like |
@e5l if there's say eap build available at some point I'd be happy to test it out to confirm this issue has been resolved |
Seeing the same in our code for macosx64 |
Should this be fixed in 1.3.2 release? |
Unfortunately, the native-mt branch will be compatible only with kotlin 1.3.71 :( |
Btw the body reading was fixed in ios in general: it should work without native-mt |
I just tried this without
Android and iOS are working. |
@e5l do you know if there is sample macOS XCode project anywhere that uses Kotlin/Native and Ktor/curl? I still haven't been able to get this working. |
Looks like I have the same issue. I made a repo for reproducing there: To reproduce:
|
Re. suggestion to use |
@joreilly indeed, |
Just tried that here and it did the job, thanks. Am now getting back response as shown below. Hopefully this is short term fix until issue is resolved
|
Still an issue on macosx with the following dependencies: |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Fixed in |
Ktor Version and Engine Used (client or server and name)
1.3.0, client (macosx64) (using curl)
Describe the bug
When using macosx64 target in a Multiplatform project I'm getting empty BODY in response
The same code for iOS logs
The following is the common code that uses ktor
I'm using following dependencies
(kotlinxSerialization = "0.14.0")
The text was updated successfully, but these errors were encountered: