Help with this issue Create REDMINE Ticket FAILURE

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
segicas2015
TestLink user
Posts: 5
Joined: Sun Nov 01, 2015 11:19 am

Help with this issue Create REDMINE Ticket FAILURE

Post by segicas2015 »

I am using the latest versions of TestLink and Redmine, and I cannot use both of them together.

I am getting the following issue:

Create REDMINE Ticket FAILURE => redmine::_requesturl:http://localhost/redmine - response:{"url":"http:\/\/localhost\/redmine\/projects\/project1.xml","content_type":"application\/xml","http_code":401,"header_size":433,"request_size":166,"filetime":-1,"ssl_verify_result":0,"redirect_count":0,"total_time":0.031,"namelookup_time":0,"connect_time":0,"pretransfer_time":0,"size_upload":0,"size_download":0,"speed_download":0,"speed_upload":0,"download_content_length":-1,"upload_content_length":-1,"starttransfer_time":0.031,"redirect_time":0,"redirect_url":"","primary_ip":"localhost","certinfo":[],"primary_port":80,"local_ip":"localhost","local_port":50851} - content: "" - serialized issue:N;

Please, could you help me? What have I to change/ add?

Thank you.
segicas2015
TestLink user
Posts: 5
Joined: Sun Nov 01, 2015 11:19 am

Re: Help with this issue Create REDMINE Ticket FAILURE

Post by segicas2015 »

The issue appears when I want to add a bug in Redmine from TestLink.
segicas2015
TestLink user
Posts: 5
Joined: Sun Nov 01, 2015 11:19 am

Re: Help with this issue Create REDMINE Ticket FAILURE

Post by segicas2015 »

TestLink 1.9.14 - Padawan - 20150919
Redmine 3.1.1 (2015-09-20)
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Help with this issue Create REDMINE Ticket FAILURE

Post by fman »

>> I am using the latest versions of TestLink and Redmine, and I cannot use both of them together
please clarify

You have a 401 HTTP unauthorized error.

Best thing to do is trying to access from same host where TestLink is installed and test using a REST Client (may be postman?) to understand if can be
a network issue or a REDMINE config issue (REST API is enabled for user used on calls)


If you do not provide XML config present on TestLInk , no much checks can be done
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Help with this issue Create REDMINE Ticket FAILURE

Post by fman »

have you checked all other post on this forum area ??

Give a look to
http://forum.testlink.org/viewtopic.php?f=46&t=7835

just a couple of lines below your post
ejcauzzi
TestLink user
Posts: 2
Joined: Sun Oct 25, 2015 8:44 am

Re: Help with this issue Create REDMINE Ticket FAILURE

Post by ejcauzzi »

Hi.

Exactly same issue here. And yes, I already checked the other posts, but no one answer this case. I'll describe my situation.

I created a project 'projetoteste' in Redmine. I configured Testlink Issue Tracker with the following information:
Issue Tracker: Redmine
Type: redmine (Interface: rest)
Configuration:
<issuetracker>
<apikey>generated api-key in redmine</apikey>
<uribase>http://192.168.168.161:80/</uribase>
<uriview>http://192.168.168.161:80/issues/</uriview>
<projectidentifier>projetoteste</projectidentifier>
</issuetracker>

I am able to see a bug created manually in Redmine in test execution page and it's state, but when I try to create a bug in Testlink for Redmine I receive the following error.
Create REDMINE Ticket FAILURE => redmine::_requesturl:http://192.168.168.161:80/ - response:{"url":"http:\/\/192.168.168.161:80\/\/issues.xml","content_type":"application\/xml","http_code":401,"header_size":468,"request_size":324,"filetime":-1,"ssl_verify_result":0,"redirect_count":0,"total_time":0.022688,"namelookup_time":3.2e-5,"connect_time":0.000873,"pretransfer_time":0.000988,"size_upload":120,"size_download":0,"speed_download":0,"speed_upload":5289,"download_content_length":0,"upload_content_length":120,"starttransfer_time":0.022648,"redirect_time":0,"redirect_url":"","primary_ip":"192.168.168.161","certinfo":[],"primary_port":80,"local_ip":"192.168.168.160","local_port":39984} - content: "" - serialized issue:N;

I'm using 1.9.14 version. Please, I really need some help.
Post Reply