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

Cant connect #1

Closed
mnording opened this issue Jan 23, 2014 · 2 comments
Closed

Cant connect #1

mnording opened this issue Jan 23, 2014 · 2 comments

Comments

@mnording
Copy link

Im currently unable to connect to a youtrack insstance inside of a self signed certificate
even with the process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = '0';

the youtrack.login('username, password', function(err){ returns no error

@anacronw
Copy link
Member

Hm, i didn't think about that use case. I can see how that could cause issues, however. Request seems to have a problem with it: request/request#418.

I'll look into supporting some configuration that'll relax the strictSSL

@anacronw
Copy link
Member

Please try the following after updating the package

var youtrack = new Connection('http://your-youtrack-instance:8080', {strictSSL: false});
youtrack.login('username', 'password', function(err){
})

I basically pass any options you give the connection over to request.

As you may have already guessed, the library doesn't do anything except logging in at this point...still I do wish to flesh it out soon.

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