Skip Menu |

This queue is for tickets about the JIRA-Client-Automated CPAN distribution.

Report information
The Basics
Id: 92789
Status: resolved
Priority: 0/
Queue: JIRA-Client-Automated

People
Owner: FRIMICC [...] cpan.org
Requestors: yjz_2000 [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.04



Subject: a possible bug in JIRA::Client::Automated
Date: Thu, 6 Feb 2014 14:08:02 -0800 (PST)
To: "bug-JIRA-Client-Automated [...] rt.cpan.org" <bug-JIRA-Client-Automated [...] rt.cpan.org>
From: Yongjun Zhang <yjz_2000 [...] yahoo.com>
Hi,   I was looking for a tool that I can use to access JIRA server from script, and luckily I found JIRA::Client::Automated, thanks a lot for the great work you guys did!   I ran into an issue here, not sure whether it's my setting problem or a real problem,   By running these two lines of code:     my $jira = JIRA::Client::Automated->new($url, $user, $password);   my $issue = $jira->create_issue($project, $type, $summary, $description); I got the following error:     Error creating new JIRA issue <xyz> Protocol scheme 'https' is not supported (LWP::Protocol::https   not installed) at <installDir>/JIRA-Client-Automated-1.02/lib/JIRA/Client/Automated.pm line 184. My url is of scheme "https", and I do have LWP::Protocol::https installed and on the path:     $ perldoc -l LWP::Protocol::https   <toolDir>/LWP-Protocol-https-6.04/lib/LWP/Protocol/https.pm I wonder if I did something wrong, or the LWP::Protocol::https I installed is not compatible with JIRA-Client-Automated-1.02.   Thanks a lot for taking a look.   --Yongjun
Subject: Re: [rt.cpan.org #92789] AutoReply: a possible bug in JIRA::Client::Automated
Date: Thu, 6 Feb 2014 16:09:22 -0800 (PST)
To: "bug-JIRA-Client-Automated [...] rt.cpan.org" <bug-JIRA-Client-Automated [...] rt.cpan.org>
From: Yongjun Zhang <yjz_2000 [...] yahoo.com>
HI,   Some additional info:   I tried to run a test provided with JIRA-Client-Automated-1.02, it also has the same problem:   ========      $ cd tool/JIRA-Client-Automated-1.02/t $ ls author-critic.t  jira-client-automated.t  release-pod-coverage.t  release-pod-syntax.t $ ./jira-client-automated.t ok 1 - use JIRA::Client::Automated; ok 2 - new ok 3 - The object isa JIRA::Client::Automated Error creating new JIRA issue JIRA::Client::Automated Test Script 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed) at tool/JIRA-Client-Automated-1.02/lib/JIRA/Client/Automated.pm line 184. # Tests were run but no plan was declared and done_testing() was not seen. $ perldoc -l LWP::Protocol::https <installDir>/tool/LWP-Protocol-https-6.03/lib/LWP/Protocol/https.pm   ========   I did set the below envs before running the above test.   1233 export JIRA_CLIENT_AUTOMATED_URL='https://you.atlassian.net/' 1234 export JIRA_CLIENT_AUTOMATED_PROJECT=TEST 1235 export JIRA_CLIENT_AUTOMATED_USER=you 1236 export JIRA_CLIENT_AUTOMATED_PASSWORD='******' Something must be wrong with my setting, thanks again for looking into. Any information is appreciated. I'm running this on CentOS release 6.5 (Final). Thanks. --Yongjun Show quoted text
________________________________ From: Bugs in JIRA-Client-Automated via RT <bug-JIRA-Client-Automated@rt.cpan.org> To: yjz_2000@yahoo.com Sent: Thursday, February 6, 2014 2:08 PM Subject: [rt.cpan.org #92789] AutoReply: a possible bug in JIRA::Client::Automated Greetings, This message has been automatically generated in response to the creation of a trouble ticket regarding:     "a possible bug in JIRA::Client::Automated", a summary of which appears below. There is no need to reply to this message right now.  Your ticket has been assigned an ID of [rt.cpan.org #92789].  Your ticket is accessible on the web at:     https://rt.cpan.org/Ticket/Display.html?id=92789 Please include the string:         [rt.cpan.org #92789] in the subject line of all future correspondence about this issue. To do so, you may reply to this message.                         Thank you,                         bug-JIRA-Client-Automated@rt.cpan.org ------------------------------------------------------------------------- Hi,   I was looking for a tool that I can use to access JIRA server from script, and luckily I found JIRA::Client::Automated, thanks a lot for the great work you guys did!   I ran into an issue here, not sure whether it's my setting problem or a real problem,   By running these two lines of code:     my $jira = JIRA::Client::Automated->new($url, $user, $password);   my $issue = $jira->create_issue($project, $type, $summary, $description); I got the following error:     Error creating new JIRA issue <xyz> Protocol scheme 'https' is not supported (LWP::Protocol::https   not installed) at <installDir>/JIRA-Client-Automated-1.02/lib/JIRA/Client/Automated.pm line 184. My url is of scheme "https", and I do have LWP::Protocol::https installed and on the path:     $ perldoc -l LWP::Protocol::https   <toolDir>/LWP-Protocol-https-6.04/lib/LWP/Protocol/https.pm I wonder if I did something wrong, or the LWP::Protocol::https I installed is not compatible with JIRA-Client-Automated-1.02.   Thanks a lot for taking a look.   --Yongjun
Subject: Re: [rt.cpan.org #92789] AutoReply: a possible bug in JIRA::Client::Automated
Date: Thu, 6 Feb 2014 16:12:28 -0800 (PST)
To: "bug-JIRA-Client-Automated [...] rt.cpan.org" <bug-JIRA-Client-Automated [...] rt.cpan.org>
From: Yongjun Zhang <yjz_2000 [...] yahoo.com>
BTW, I used a different version LWP-Protocol-https-6.03 in the run reported in last update than in my initial report, just to see if there is any compatibility issue. Thanks.
Yes, the code as-is does not work with HTTPS. Someone has already submitted a patch to fix this, but I haven't had a chance to merge it in yet. It's nothing you did. :-) I hope to fix it this week. I'll let you know when it's posted to CPAN. Thanks for using JIRA::Client::Automated! -- Michael Friedman On Thu Feb 06 17:08:10 2014, yjz_2000@yahoo.com wrote: Show quoted text
> Hi, > > I was looking for a tool that I can use to access JIRA server from > script, and luckily I found JIRA::Client::Automated, thanks a lot for > the great work you guys did! > > I ran into an issue here, not sure whether it's my setting problem or > a real problem, > > By running these two lines of code: > >   my $jira = JIRA::Client::Automated->new($url, $user, $password); >   my $issue = $jira->create_issue($project, $type, $summary, > $description); > > I got the following error: > >   Error creating new JIRA issue <xyz> Protocol scheme 'https' is not > supported (LWP::Protocol::https >   not installed) at <installDir>/JIRA-Client-Automated- > 1.02/lib/JIRA/Client/Automated.pm line 184. > > My url is of scheme "https", and I do have LWP::Protocol::https > installed and on the path: > >   $ perldoc -l LWP::Protocol::https >   <toolDir>/LWP-Protocol-https-6.04/lib/LWP/Protocol/https.pm > > I wonder if I did something wrong, or the LWP::Protocol::https I > installed is not compatible with JIRA-Client-Automated-1.02. > > Thanks a lot for taking a look. > > --Yongjun
Subject: Re: [rt.cpan.org #92789] a possible bug in JIRA::Client::Automated
Date: Tue, 11 Feb 2014 19:19:02 -0800 (PST)
To: "bug-JIRA-Client-Automated [...] rt.cpan.org" <bug-JIRA-Client-Automated [...] rt.cpan.org>
From: Yongjun Zhang <yjz_2000 [...] yahoo.com>
Hi Michael,   Thanks a lot for addressing my question!   I appreciate that you guys did this nice software!   --Yongjun Show quoted text
________________________________ From: Michael Friedman via RT <bug-JIRA-Client-Automated@rt.cpan.org> To: yjz_2000@yahoo.com Sent: Tuesday, February 11, 2014 3:22 PM Subject: [rt.cpan.org #92789] a possible bug in JIRA::Client::Automated <URL: https://rt.cpan.org/Ticket/Display.html?id=92789> Yes, the code as-is does not work with HTTPS. Someone has already submitted a patch to fix this, but I haven't had a chance to merge it in yet. It's nothing you did. :-) I hope to fix it this week. I'll let you know when it's posted to CPAN. Thanks for using JIRA::Client::Automated! -- Michael Friedman On Thu Feb 06 17:08:10 2014, yjz_2000@yahoo.com wrote:
> Hi, > > I was looking for a tool that I can use to access JIRA server from > script, and luckily I found JIRA::Client::Automated, thanks a lot for > the great work you guys did! > > I ran into an issue here, not sure whether it's my setting problem or > a real problem, > > By running these two lines of code: > >   my $jira = JIRA::Client::Automated->new($url, $user, $password); >   my $issue = $jira->create_issue($project, $type, $summary, > $description); > > I got the following error: > >   Error creating new JIRA issue <xyz> Protocol scheme 'https' is not > supported (LWP::Protocol::https >   not installed) at <installDir>/JIRA-Client-Automated- > 1.02/lib/JIRA/Client/Automated.pm line 184. > > My url is of scheme "https", and I do have LWP::Protocol::https > installed and on the path: > >   $ perldoc -l LWP::Protocol::https >   <toolDir>/LWP-Protocol-https-6.04/lib/LWP/Protocol/https.pm > > I wonder if I did something wrong, or the LWP::Protocol::https I > installed is not compatible with JIRA-Client-Automated-1.02. > > Thanks a lot for taking a look. > > --Yongjun
I think I have a fix for HTTPS access. Before I submit it to CPAN, I'd love it if you had a chance to test it to see if it works in your environment. https://raw.github.com/frimicc/jira-client-automated/master/lib/JIRA/Client/Automated.pm Thanks! -- Michael On Tue Feb 11 22:19:12 2014, yjz_2000@yahoo.com wrote: Show quoted text
> Hi Michael, > > Thanks a lot for addressing my question! > > I appreciate that you guys did this nice software! > > --Yongjun > > > ________________________________ > From: Michael Friedman via RT <bug-JIRA-Client-Automated@rt.cpan.org> > To: yjz_2000@yahoo.com > Sent: Tuesday, February 11, 2014 3:22 PM > Subject: [rt.cpan.org #92789] a possible bug in > JIRA::Client::Automated > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=92789> > > Yes, the code as-is does not work with HTTPS. Someone has already > submitted a patch to fix this, but I haven't had a chance to merge it > in yet. It's nothing you did. :-) > > I hope to fix it this week. I'll let you know when it's posted to > CPAN. > > Thanks for using JIRA::Client::Automated! > -- Michael Friedman > > > On Thu Feb 06 17:08:10 2014, yjz_2000@yahoo.com wrote:
> > Hi, > > > > I was looking for a tool that I can use to access JIRA server from > > script, and luckily I found JIRA::Client::Automated, thanks a lot for > > the great work you guys did! > > > > I ran into an issue here, not sure whether it's my setting problem or > > a real problem, > > > > By running these two lines of code: > > > >   my $jira = JIRA::Client::Automated->new($url, $user, $password); > >   my $issue = $jira->create_issue($project, $type, $summary, > > $description); > > > > I got the following error: > > > >   Error creating new JIRA issue <xyz> Protocol scheme 'https' is not > > supported (LWP::Protocol::https > >   not installed) at <installDir>/JIRA-Client-Automated- > > 1.02/lib/JIRA/Client/Automated.pm line 184. > > > > My url is of scheme "https", and I do have LWP::Protocol::https > > installed and on the path: > > > >   $ perldoc -l LWP::Protocol::https > >   <toolDir>/LWP-Protocol-https-6.04/lib/LWP/Protocol/https.pm > > > > I wonder if I did something wrong, or the LWP::Protocol::https I > > installed is not compatible with JIRA-Client-Automated-1.02. > > > > Thanks a lot for taking a look. > > > > --Yongjun
Subject: Re: [rt.cpan.org #92789] a possible bug in JIRA::Client::Automated
Date: Wed, 12 Feb 2014 22:46:35 -0800 (PST)
To: "bug-JIRA-Client-Automated [...] rt.cpan.org" <bug-JIRA-Client-Automated [...] rt.cpan.org>
From: Yongjun Zhang <yjz_2000 [...] yahoo.com>
HI Michael,   Thanks a lot for the update. I tried it out and somehow I still got the same error as before   "Error creating new JIRA issue xyz 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed) at <home>/tool/JIRA-Client-Automated-1.02/lib/JIRA/Client/Automated.pm line 175." I'm not sure whether if this is an issue with our jira system or not.  If feasible, can we have a dummy user/passwd account at cpan jira system, and the fixes works with this account from your side, then I can try my setting against cpan jira remotely to see if it works from my side. If this is not feasible, never mind. I'd assume the developer who submitted the fix has tried with their system.   Otherwise, I will try to dig more into it when I have time.   Thanks and best regards,   --Yongjun   Show quoted text
________________________________ From: Michael Friedman via RT <bug-JIRA-Client-Automated@rt.cpan.org> To: yjz_2000@yahoo.com Sent: Wednesday, February 12, 2014 9:42 PM Subject: [rt.cpan.org #92789] a possible bug in JIRA::Client::Automated <URL: https://rt.cpan.org/Ticket/Display.html?id=92789> I think I have a fix for HTTPS access. Before I submit it to CPAN, I'd love it if you had a chance to test it to see if it works in your environment. https://raw.github.com/frimicc/jira-client-automated/master/lib/JIRA/Client/Automated.pm Thanks! -- Michael On Tue Feb 11 22:19:12 2014, yjz_2000@yahoo.com wrote:
> Hi Michael, > > Thanks a lot for addressing my question! > > I appreciate that you guys did this nice software! > > --Yongjun > > > ________________________________ > From: Michael Friedman via RT <bug-JIRA-Client-Automated@rt.cpan.org> > To: yjz_2000@yahoo.com > Sent: Tuesday, February 11, 2014 3:22 PM > Subject: [rt.cpan.org #92789] a possible bug in > JIRA::Client::Automated > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=92789> > > Yes, the code as-is does not work with HTTPS. Someone has already > submitted a patch to fix this, but I haven't had a chance to merge it > in yet. It's nothing you did. :-) > > I hope to fix it this week. I'll let you know when it's posted to > CPAN. > > Thanks for using JIRA::Client::Automated! > -- Michael Friedman > > > On Thu Feb 06 17:08:10 2014, yjz_2000@yahoo.com wrote:
> > Hi, > > > > I was looking for a tool that I can use to access JIRA server from > > script, and luckily I found JIRA::Client::Automated, thanks a lot for > > the great work you guys did! > > > > I ran into an issue here, not sure whether it's my setting problem or > > a real problem, > > > > By running these two lines of code: > > > >   my $jira = JIRA::Client::Automated->new($url, $user, $password); > >   my $issue = $jira->create_issue($project, $type, $summary, > > $description); > > > > I got the following error: > > > >   Error creating new JIRA issue <xyz> Protocol scheme 'https' is not > > supported (LWP::Protocol::https > >   not installed) at <installDir>/JIRA-Client-Automated- > > 1.02/lib/JIRA/Client/Automated.pm line 184. > > > > My url is of scheme "https", and I do have LWP::Protocol::https > > installed and on the path: > > > >   $ perldoc -l LWP::Protocol::https > >   <toolDir>/LWP-Protocol-https-6.04/lib/LWP/Protocol/https.pm > > > > I wonder if I did something wrong, or the LWP::Protocol::https I > > installed is not compatible with JIRA-Client-Automated-1.02. > > > > Thanks a lot for taking a look. > > > > --Yongjun
I was updating the module yesterday and got the same error. It turns out that the dependency chain that you'd expect would get you LWP::Protocol::https... doesn't. Worse, I had an incompatible version of it installed, so cpanminus refused to install it again. I had to use `cpanm -f LWP::Protocol::https` to force it to recompile and install all the necessary dependencies. That should solve your problem. I've added LWP::Protocol::https as a dependency to JIRA::Client::Automated for the next version, but that won't help you. At least people who install it after next week should have protocol module installed. Good luck! -- Michael On Thu Feb 13 01:46:46 2014, yjz_2000@yahoo.com wrote: Show quoted text
> HI Michael, > > Thanks a lot for the update. I tried it out and somehow I still got > the same error as before > > "Error creating new JIRA issue xyz 501 Protocol scheme 'https' is not > supported (LWP::Protocol::https not installed) at <home>/tool/JIRA- > Client-Automated-1.02/lib/JIRA/Client/Automated.pm line 175." > > I'm not sure whether if this is an issue with our jira system or not.  > If feasible, can we have a dummy user/passwd account at cpan jira > system, and the fixes works with this account from your side, then I > can try my setting against cpan jira remotely to see if it works from > my side. If this is not feasible, never mind. I'd assume the developer > who submitted the fix has tried with their system. > > Otherwise, I will try to dig more into it when I have time. > > Thanks and best regards, > > --Yongjun > > > ________________________________ > From: Michael Friedman via RT <bug-JIRA-Client-Automated@rt.cpan.org> > To: yjz_2000@yahoo.com > Sent: Wednesday, February 12, 2014 9:42 PM > Subject: [rt.cpan.org #92789] a possible bug in > JIRA::Client::Automated > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=92789> > > I think I have a fix for HTTPS access. Before I submit it to CPAN, I'd > love it if you had a chance to test it to see if it works in your > environment. > > https://raw.github.com/frimicc/jira-client- > automated/master/lib/JIRA/Client/Automated.pm > > Thanks! > -- Michael > > On Tue Feb 11 22:19:12 2014, yjz_2000@yahoo.com wrote:
> > Hi Michael, > > > > Thanks a lot for addressing my question! > > > > I appreciate that you guys did this nice software! > > > > --Yongjun > > > > > > ________________________________ > > From: Michael Friedman via RT <bug-JIRA-Client-Automated@rt.cpan.org> > > To: yjz_2000@yahoo.com > > Sent: Tuesday, February 11, 2014 3:22 PM > > Subject: [rt.cpan.org #92789] a possible bug in > > JIRA::Client::Automated > > > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=92789> > > > > Yes, the code as-is does not work with HTTPS. Someone has already > > submitted a patch to fix this, but I haven't had a chance to merge it > > in yet. It's nothing you did. :-) > > > > I hope to fix it this week. I'll let you know when it's posted to > > CPAN. > > > > Thanks for using JIRA::Client::Automated! > > -- Michael Friedman > > > > > > On Thu Feb 06 17:08:10 2014, yjz_2000@yahoo.com wrote:
> > > Hi, > > > > > > I was looking for a tool that I can use to access JIRA server from > > > script, and luckily I found JIRA::Client::Automated, thanks a lot > > > for > > > the great work you guys did! > > > > > > I ran into an issue here, not sure whether it's my setting problem > > > or > > > a real problem, > > > > > > By running these two lines of code: > > > > > >   my $jira = JIRA::Client::Automated->new($url, $user, $password); > > >   my $issue = $jira->create_issue($project, $type, $summary, > > > $description); > > > > > > I got the following error: > > > > > >   Error creating new JIRA issue <xyz> Protocol scheme 'https' is > > > not > > > supported (LWP::Protocol::https > > >   not installed) at <installDir>/JIRA-Client-Automated- > > > 1.02/lib/JIRA/Client/Automated.pm line 184. > > > > > > My url is of scheme "https", and I do have LWP::Protocol::https > > > installed and on the path: > > > > > >   $ perldoc -l LWP::Protocol::https > > >   <toolDir>/LWP-Protocol-https-6.04/lib/LWP/Protocol/https.pm > > > > > > I wonder if I did something wrong, or the LWP::Protocol::https I > > > installed is not compatible with JIRA-Client-Automated-1.02. > > > > > > Thanks a lot for taking a look. > > > > > > --Yongjun
The new version, 1.04, properly requires LWP::Protocol::https and should auto-install it for you. Please let me know if you have more problems.
Subject: Re: [rt.cpan.org #92789] a possible bug in JIRA::Client::Automated
Date: Tue, 25 Feb 2014 12:48:22 -0800 (PST)
To: "bug-JIRA-Client-Automated [...] rt.cpan.org" <bug-JIRA-Client-Automated [...] rt.cpan.org>
From: Yongjun Zhang <yjz_2000 [...] yahoo.com>
Thanks a lot Michael, I didn't have chance to try the fix yet, and I'm sorry for late reply.   I will try as soon as I can, and let you know.   Best regards,   --Yongjun Show quoted text
________________________________ From: Michael Friedman via RT <bug-JIRA-Client-Automated@rt.cpan.org> To: yjz_2000@yahoo.com Sent: Tuesday, February 25, 2014 11:45 AM Subject: [rt.cpan.org #92789] a possible bug in JIRA::Client::Automated <URL: https://rt.cpan.org/Ticket/Display.html?id=92789> The new version, 1.04, properly requires LWP::Protocol::https and should auto-install it for you. Please let me know if you have more problems.