Skip to main content

Hi There

 

I am trying to proxy a Restful endpoint deployed on Cloud Hub and I believe I followed all the appropriate steps - however when trying to access the API via the proxy I am getting a gateway timed out error

 

504 Gateway Time-out on Cloud Hub

 

Any ideas what could be the issue.

Any help is appreciated

 

Thank you

4 个回答
  1. 2019年12月29日 21:38

    i too have same sort of issue and could not able to get out from this Black hole.Before creating proxy the database retrieval is working,but post creating proxy im getting 504 bad gate way error by default.

    Any help on this would be great,

     

    1.Xml from Anypoin studio- implementation

    <http:listener-config name="HTTP_Listener_configCustom" doc:name="HTTP Listener config" doc:id="a808ff86-bb72-4111-ba6d-1aa6704cd7af" >

    <http:listener-connection host="0.0.0.0" port="8081" />

    </http:listener-config>

    2.Interface - (API Kit Router)

     <http:listener config-ref="HTTP_Listener_configCustom" path="/api/*">

          <http:response statusCode="#vars.httpStatus default 200">

            <http:headers>#vars.outboundHeaders default {}</http:headers>

          </http:response>

0/9000