Skip to content

AUTH with private bitbucket repo is not working #24

Closed
kthakore opened this Issue Nov 22, 2013 · 8 comments

2 participants

@kthakore

I have checked my password/owner and everything. The auth may not be working because the repository is private

@nhmood
Owner
nhmood commented Nov 22, 2013

Did you create an issue tracker for the repo first? Unfortunately, Bitbucket requires that there exist one before posting. That might be causing it to fail.
I couldn't find a way to create from the API, if you do or find any documentation let me know.

@kthakore
@nhmood
Owner
nhmood commented Nov 22, 2013

If you look in watson on line 53 there is a my $DEBUG = 0;
If you change that to = 1, it will do a verbose output, and we can take a look to see where it is failing.

I don't THINK it prints any sensitive info on the debug but you might want to double check before posting it here :)

@kthakore
@nhmood
Owner
nhmood commented Nov 22, 2013

Yes, that is a great idea! Added in 30f1d22

@kthakore
@nhmood
Owner
nhmood commented Nov 22, 2013

Ok looks like we need even more debug prints!
If you go to line 1735 there is a $response = `$call`;, this makes the cURL call with the specified parameters.
Can you add print $response right below that to see the verbose cURL output.
Same caution as last time, take a glance at the debug output before posting!

@kthakore kthakore added a commit to kthakore/watson-perl that referenced this issue Nov 22, 2013
@kthakore kthakore Resolves issue #24 408cd3e
@nhmood
Owner
nhmood commented Nov 26, 2013

Fixed with ff894d6

@nhmood nhmood closed this Nov 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.