cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Conversational AI Chatbot timeout when connecting to Backend

AbhishekSharma
Active Contributor
0 Kudos

Hi Gurus,

I have created chatbot using CAI and NodeJS as middleware application which connects backend Gateway using Cloud Connector. This NodeJS application is deployed on Cloud Foundry Trial account.

When NodeJS application tries to connect Backend system its giving timeout on below highlighted (in red box) on premise proxy host URL. This configuration is auto generated when I created Connectivity Service Instance.

Timeout is happening on below proxy configuration which is generated when Connectivity Service Instance is created. This is created so on-premise system can be connected using cloud connector.

I have already validated Destination and cloud connector and no issues.

CAI Error log:

Hi enrico.mrass sudip.ghosh4 pena sbeghelli please help.

I have also posted another question below is URL

https://answers.sap.com/questions/12932532/sap-cai-chatbot-timeout.html

Thanks-

Abhishek

jerryjanda
Community Manager
Community Manager
0 Kudos

If you've already asked the same or similar question at https://answers.sap.com/questions/12932532/sap-cai-chatbot-timeout.html (which you seem to indicate above), you should limit the conversation there. Please close this question and direct people to move to the other thread for additional conversation.

--Jerry

Accepted Solutions (0)

Answers (2)

Answers (2)

sudipghosh
Active Contributor
0 Kudos

Abhishek,

Please have a look at this blog. You will find step by step. only difference is it is python flask application but other part are all same.

https://blogs.sap.com/2019/02/03/how-to-connect-on-premise-system-to-sap-cloud-foundry-environment-u...

Regards,

Sudip

geert-janklaps
Active Contributor
0 Kudos

Hi Abhishek,

Are the required services bound to your NodeJS application? In order to connect to your on-premise system, you should have at least following services bound to your application:

  • Connectivity service
  • Destination service
  • XSUAA service

Best regards,

Geert-Jan Klaps

AbhishekSharma
Active Contributor
0 Kudos

Hi 8d8214c7f9734f45be69f95cc0d5aeee

Thanks much for looking into issue and for suggestion. Yes I have all three services bind with node application.

I have my Destination and cloud connector working. May you share what should be in the XSUAA service configuration ? Is there any specific parameter ( json format) needs to be added while configuring it.

Thanks-

Abhishek

geert-janklaps
Active Contributor
0 Kudos

Hi Abhishek,

I didn't have to provide any specific parameters for the XSUAA service. So I think it might be code related. Are you using the SAP Cloud SDK for NodeJS?

Best regards,

Geert-Jan Klaps

AbhishekSharma
Active Contributor
0 Kudos

Hi 8d8214c7f9734f45be69f95cc0d5aeee

To me it doesn't look like to be a code related issue, reason is, same code I have used with my old Cloud Foundry ID which got deleted after 90 day trial was over. Then I created new CF ID and deployed same code by making minimum required changes ex: app name.

Have you mentioned in parameters in Connectivity Service ?

Thanks much again for all your suggestions.

Thanks-

Abhishek