SmartDocs onPremise "Send this Request" Button not work

bildschirmfoto-2019-04-12-um-223925.pngHi,

I tried to enable Smart Docs on my on Premise installation. However I am not able to send requests.

- In Drupal config: I changed Smartdocs Proxy URL to the DNS (https) of my loadbalancer routing to my Managementserver DNS/smartdocs/v1/sendrequest

- I also uploaded a spec for testing. however the send request button does not form request/ curl. in the network analysis I still see the following "undefined"

Any suggestions why the call does not work? what is wrongly configured?

Solved Solved
0 3 189
1 ACCEPTED SOLUTION

could resolve it now (after specifying certificate path in client.php). thx

View solution in original post

3 REPLIES 3

404 means that API you are trying to work with not exists, check the full URL\URI on your screenshot if some API sits there

Your portal woks against /smartdocs/v1/sendrequest, maybe port missing?

Hi @Denis Kalitviansky,

Thx for your quick reply. I updated the path to a resource path I verified that worked. Although the problem (why I get the 404 still) is that the portal (obviously) can't read the Resource URL at all. In the console I CORS Warning and an jquery error (empty string).

In the network tab I see (don't know what for the number at the end ?)

https://{myMSDNS}/{apimodel}/smartdocs/v1/sendrequest?targeturl={workingProxyURL}_=1555177221124

Also what (don't know if connected), the Tracetool in the browser does not work (claiming about Content SEcurity Policy... - but same URL works in browser again..)

Could this both be related to the fact that I did not enfore https on my MS yet? (UI which is on same node still can use http)

Thx if any further advice!

could resolve it now (after specifying certificate path in client.php). thx