Comments (7)
Hi.
org.jetbrains.kotlin.konan.util.DependencyDownloader$HTTPResponseException: Server returned HTTP response code: 407 for URL: https://download.jetbrains.com/kotlin/native/clang-llvm-8.0.0-linux-x86-64.tar.gz
Looks like a local problem on your side. 407 is "Proxy Authentication Required". Do you use any proxy that requires authentication? Does the link work from your browser?
I can download this file just fine.
Also, I'm just curious: how did you create this issue? "New issue" button for kotlin-native repository on GitHub web site doesn't allow to create one (and this is intentional). So did you use a custom GitHub client or whatever?
from kotlin-native.
The problem is for sure on my side since I'm frequently confronted with our proxy and subsequent problems :-)
However setting the properties 'somewhere' is usually the resolution. I think the problem here is that neither IDEA in which I started the project nor gradle https proxy settings where honored since it is a standalone solution.
Depending on the java library used for http different methods exist for setting the proxy.
If the java standard libary is being used I will have problems since it does not allow to set the proxy password and username since a standalone implementation is used.
So where exactly do I need to set proxy settings in order to retrieve the file properly.
Note: I used new issue from standard github.
from kotlin-native.
I will provide the details and maybe a workaround later.
Note: I used new issue from standard github.
What do you mean by "standard github"? Is it the github.com website, or some standard app?
For the website, if I press "New issue" button on the issues page, the following page opens: https://github.com/JetBrains/kotlin-native/issues/new/choose
It doesn't seem to have an option to create new issue on GitHub on my side.
So, where do you use "new issue" and which URL does it navigate you to?
from kotlin-native.
The issue was posted through the web page. But I'm not sure about the entry point. There was another issue which was closed where someone posted the same 407 but unrelated to the original issue. I must have been starting from there. Looking right now I'm also being presented to the triple choice you presumably suggest.
from kotlin-native.
The compiler uses standard Java's URL.openConnection
. I'm not sure that one can easily configure it to use an authenticated proxy without patching the compiler.
As the last option, please try the following:
- Download the archive manually
- Unpack it into
~/.konan/dependencies
- Add its name to
~/.konan/dependencies/.extracted
.
The same should probably be done for other similar dependencies, should be around 4 of them if you use only one target.
Anyway, this workaround can easily be automated with a script.
Does this work for you?
Submitting an issue to YouTrack also makes sense: https://kotl.in/issue.
from kotlin-native.
Usually for standard Java an Authenticator must be provided like here:
https://stackoverflow.com/questions/1626549/authenticated-http-proxy-with-java
I'll check the suggested solution.
from kotlin-native.
This worked around the proxy problem. I opened another issue because a library is missing so I couldn't get it to compile.
from kotlin-native.
Related Issues (20)
- Important: please use YouTrack for bugs and feature requests HOT 7
- pods framework not work in xcode HOT 10
- How to access a method - Kotlin Shared DLL using CPointer HOT 3
- How to interact with kotlin collections from C/C++ code? HOT 4
- Code of cmake project, compile error error: invalid use of incomplete type 'std::filesystem::__cxx11::filesystem_error' HOT 1
- How can I invoke win32 function pointer with _stdcall type HOT 3
- Not Working SiwftyUI rendering when library implemented to project
- Are there any way for modify Other Link Flag on Xcode by Gradle? HOT 1
- How I can pass String to variable type URL? HOT 2
- Platform iOS package is missing HOT 2
- Can not build ios app into device because "embedded framework 'SharedCode.framework' was built for iOS Simulator." HOT 3
- Please read the text below
- Please read the text below HOT 1
- Xcode 11.6 still using older versions of kotlin native HOT 8
- Why publishLibraryVariants don't work ? HOT 1
- Compilation failed: llvm.llvm (initialization failure) NoClassDefFoundError: llvm.llvm HOT 5
- package of cinterop dependency (Swift framework) not found in the iOSMain sources set HOT 1
- Objective-C interoperability architecture issue Undefined symbols for architecture x86_64 HOT 3
- ld: framework not found AFNetworking HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlin-native.