It's all about the answers!

Ask a question

RPE + RRC: Inserted artifacts cannot be retrieved: 400 bad request


Dr. Markus A. Thies (321113) | asked Nov 07 '13, 11:39 a.m.
I am creating a document with RPE (V1.2) of RRC (V4.0.4) artifacts.
One of the artifacts (A) as an other artifact inserted (B). The second artifact (B) is a use case diagram.

When I run the RPE to create the Word document, RPE creates a URL for requesting a picture of the use case diagram (B).
The logfile of RPE shows the following entries:
CRRPE1064I Verwendeter URL: https://inst01.rth-de.ihost.com/rm/publish/text?resourceURI=_caefefeb506b40fc87652def19059434&showEmbedTitles=trueCRRPE3074E Bild https://inst01.rth-de.ihost.com/rm/converterproxy/render?resourceURL=https://inst01.rth-de.ihost.com/rm/resources/_hHsnT0FBEeO9EpS2Pdm4iQ&contentType=%23UseCaseDiagram&revision=_Ea19BEFIEeO9EpS2Pdm4iQ&doSuppressHtmlCreation=true&private=true&accept=* konnte nicht verarbeitet werden.Von https://inst01.rth-de.ihost.com/rm/converterproxy/render?resourceURL=https://inst01.rth-de.ihost.com/rm/resources/_hHsnT0FBEeO9EpS2Pdm4iQ&contentType=%23UseCaseDiagram&revision=_Ea19BEFIEeO9EpS2Pdm4iQ&doSuppressHtmlCreation=true&private=true&accept=* können keine Daten abgerufen werden. Rückmeldung des Servers: Kein Zugriff möglich auf URL für OAuthentication.CRRPE3076E Bild https://inst01.rth-de.ihost.com/rm/converterproxy/render?resourceURL=https://inst01.rth-de.ihost.com/rm/resources/_hHsnT0FBEeO9EpS2Pdm4iQ&contentType=%23UseCaseDiagram&revision=_Ea19BEFIEeO9EpS2Pdm4iQ&doSuppressHtmlCreation=true&private=true&accept=* konnte nicht verarbeitet werden.Von https://inst01.rth-de.ihost.com/rm/converterproxy/render?resourceURL=https://inst01.rth-de.ihost.com/rm/resources/_hHsnT0FBEeO9EpS2Pdm4iQ&contentType=%23UseCaseDiagram&revision=_Ea19BEFIEeO9EpS2Pdm4iQ&doSuppressHtmlCreation=true&private=true&accept=* können keine Daten abgerufen werden. Rückmeldung des Servers: Kein Zugriff möglich auf URL für OAuthentication.CRRPE3294E Ausgabe: Bild kann nicht heruntergeladen werden: https://inst01.rth-de.ihost.com/rm/converterproxy/render?resourceURL=https://inst01.rth-de.ihost.com/rm/resources/_hHsnT0FBEeO9EpS2Pdm4iQ&contentType=%23UseCaseDiagram&revision=_Ea19BEFIEeO9EpS2Pdm4iQ&doSuppressHtmlCreation=true&private=true&accept=*.Serverantwortcode 400 für https://inst01.rth-de.ihost.com/rm/converterproxy/render?resourceURL=https://inst01.rth-de.ihost.com/rm/resources/_hHsnT0FBEeO9EpS2Pdm4iQ&contentType=%23UseCaseDiagram&revision=_Ea19BEFIEeO9EpS2Pdm4iQ&doSuppressHtmlCreation=true&private=true&accept=*400: Bad Request

If I test the highlighted URL within the browser, I do not get the 400 BAD REQUEST error, but as expected the generated png.

The setting for authentication is "OAuth" and is working for retrieving the artifact itself.

Any hints what may go wrong here?









One answer



permanent link
Jorge Flores (1092) | answered Nov 07 '13, 2:45 p.m.
Hi Markus,

The problem that you are seeing is a known defect, it is already fixed on 4.0.5 if you need a hot fix please contact support.

Notice that as  you mention the problem is reproducible just if the report is run from RPE. Requesting the same url from a browser or from a report on RRC will provide the expected result.

Regards.

Comments
Dr. Markus A. Thies commented Nov 10 '13, 6:20 a.m.

Hi Jorge,

thank you for the hint. I asked the Rational CoC germany to open an PMR, referencing this entry.

But I have to revise my statement. If I take the same URL and use it with the browser, I receive the same response HTTP status 400: bad request.

I noticed also that the Quick Print in RRC of an artifact not always includes images from inserted artifacts.

Anyway, I looking forward to get the hot fix installed.

Your answer


Register or 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.