-
Notifications
You must be signed in to change notification settings - Fork 311
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
Unable to install package with basic authentication #2560
Comments
Turned out it was the SSL the issue. We're working on it but it doesn't look like a Kura problem so I'm closing this issue. |
SSL issue solved, but the authentication problem remains. Is this an expected behaviour? How could basic authentication be achieved? |
From a brief look that should be the format for basic authentication. |
Exactly the same URL works with curl or wget in the same device. |
To remove any doubt, I've created a reproducible example.
Not that such URL could ever install anything, but the authentication should be properly achieved and it should give an error similar to:
|
Having a look it seems that Java APIs do not support out of the box basic authentication as encoded directly in the URL. |
Then, how would you suggest to make this? We are interested in use this service to install from Kapua. |
I believe you can use the deployment feature in Kapua that should also support basic authentication. Maybe refer to that project for more info. |
And in order to do it directly through the Kura web? |
That requires a new feature in develop. |
Sorry for the wrong closing. |
The support for basic authentication is already there via deploy-v2 in Kapus. |
Ok, I've already achieved it through Kapua with a different configuration thanks to @lorthirk. |
@alebianchin Can you take care of this enhancement in local web UI? |
This issue is stale because it has been open for 60 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
The need still stands and the issue was not fixed. |
Hello there, With regard to the feature you requested, currently it's not in our backlog (@MMaiero correct me if I'm wrong), but, if you feel adventurous, the change should be pretty straightforward here leveraging the newly introduced Deploy V2 REST api. |
This issue is stale because it has been open for 60 days with no activity. |
Describe the bug
The download/install via URL is not capable to process URLs with user/pass authentication included.
To Reproduce
The URL works perfectly when used from
curl
.Expected behavior
Authentication is processed and package installed.
Target Environment:
The text was updated successfully, but these errors were encountered: