Hi! HttpErrorStatusCodeException: Could not GET '<...
# kotlin-native
m
Hi! HttpErrorStatusCodeException: Could not GET 'https://download-cf.jetbrains.com/kotlin/native/builds/releases/1.4.10/windows/kotlin-native-prebuilt-windows-6.3.zip'. Received status code 403 from server: Forbidden
e
Hello! Could you please share your build script. Looks very strange because link is wrong. Right link is https://download-cf.jetbrains.com/kotlin/native/builds/releases/1.4.10/windows/kotlin-native-prebuilt-windows-1.4.10.zip. Could you stop gradle daemons and clean directory and check again?
@louiscad you have similar issue https://kotlinlang.slack.com/archives/C3SGXARS6/p1588370856032700. Did you find out the reason why you got
6.1
at the end of the link that time?
l
@Elena Lepilkina Not the exact reason, but I think it was linked to a custom settings Gradle plugin managing the versions via
pluginManagement
which were pulled from an external file, and I think the result of the first
pluginManagement
run was being cached by Gradle, which made it keep using an older Kotlin Gradle plugin. I improved this plugin a lot since then and I've not encountered the issue again so far, but I can try to reproduce it if you give me hints on how to do it.
e
I also had an idea that it should be connected with some custom settings in Gradle and Gradle cashes.
I can try to reproduce it if you give me hints on how to do it.
Thank you! But I think there is no need in this now, we'll wait @Merseyside answer. If your reproducer is needed later, I'll let you know.