Skip to content
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 when registry baseUrl is using https #28

Open
chrisjasp opened this issue Feb 20, 2016 · 9 comments
Open

Unable to install when registry baseUrl is using https #28

chrisjasp opened this issue Feb 20, 2016 · 9 comments

Comments

@chrisjasp
Copy link

I confirmed that I can create a registry and install components from it when using SSH. However, when I set the repository url using https, I can't install components. I walked through and entered the advanced configuration and set credentials with no luck. I even made my repo public to see it that would work and it did not.

@subesokun
Copy link
Contributor

Hi @chrisjasp, thanks for reporting the issue! I'm currently analyzing it.

@subesokun
Copy link
Contributor

I've tested now the latest jspm-git v0.4.3 against a private Gitlab repo and it worked for me. Which error are you getting and which version of jspm-git are you using? Not sure which server hosts your repos but is HTTP Basic Authentication supported there?

@chrisjasp
Copy link
Author

I am also at version 0.4.3. My server is using HTTPS and I will check on
the authentication when I am back in the office. My provider is fogcreek
kiln.

On Sat, Feb 20, 2016, 05:05 subesokun [email protected] wrote:

I've tested now the latest jspm-git v0.4.3 against a private Gitlab repo
and it worked for me. Which error are you getting and which version of
jspm-git are you using? Not sure which server hosts your repos but is HTTP
Basic Authentication supported there?


Reply to this email directly or view it on GitHub
#28 (comment).

Best Regards,
Chris Jasper

@subesokun
Copy link
Contributor

Btw I've released now v0.4.4 which improves the configuration of the auth. credentials. But it should have no effect on the issue you're observing. To ensure that your credentials are correct please re-run

jspm registry config yourregname

@chrisjasp
Copy link
Author

I did update to the latest (0.4.4) this morning. I re-ran the registry config and I am still running into the same issue. I will look into my repository hosting service to get more details there.

@subesokun
Copy link
Contributor

To be sure that jspm-git is not the reason why you can't install packages from your repository you can try the following command

git ls-remote "https://username:[email protected]/repo" refs/tags/* refs/heads/*

If that works for you then it really sounds like a bug in jspm-git.

@chrisjasp
Copy link
Author

The above command works for me. My usernames are email addresses so is it possbile the '@' is not getting url encoded?

@subesokun
Copy link
Contributor

Sorry for the delay. All credentials are getting url encoded so this shouldn't be an issue. Anyhow I'll try to make a test with a username that contains special characters like an @.

@chrisjasp
Copy link
Author

Great. I'm curious to hear the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants