Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Cannot connect to ClearQuest programmatically through RESTAPI since migration to 9.0.1.5

hello,
I'm writing to you because my organization is using ClearQuest.
We  use the rest API to do queries through a programming language named groovy (based on Java).
Everything was working fine until we migrated to the 9.0.1.5 version, I cannot do any URL query anymore through a script as I always have this answer back :

Unable to tunnel through proxy. Proxy returns "HTTP/1.0 502 Bad Gateway"

We didn't change our proxy settings and everything worked fine before the migration.

The URL format is right (I can enter this URL right into a browser and it will work)

an example of code to connect to ClearQuest through REST API and parse the XML page:

def urlClearQuest = "https://clearquest.MyCompany.hub/cqweb/restapi/CQat/dataBase/RECORD/databaseId?format=XML&loginId=MyLogin&password=MyPassword&noframes=true"  
urlClearQuest.toURL() 
def findProductID = new XmlSlurper().parse(urlClearQuest)

</pre>

This  triggers this error :
Unable to tunnel through proxy. Proxy returns "HTTP/1.0 502 Bad Gateway"

And as I said, entering the URL directly into a browser cause no problems.
Kind regards,

0 votes


Accepted answer

Permanent link

 The ClearQuest forum is here: https://developer.ibm.com/answers/index.html

This is not a ClearQuest Forum.

Ralph Schoon selected this answer as the correct answer

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 480
× 27
× 6

Question asked: Mar 19 '19, 7:12 a.m.

Question was seen: 2,456 times

Last updated: Mar 19 '19, 8:38 a.m.

Confirmation Cancel Confirm