cancel
Showing results for 
Search instead for 
Did you mean: 

Getting "Failed to send request to socket...rc = -1" calling Service Layer

0 Kudos
Hello experts 

I'm trying to build a Demo FIORI App to use service layer as channel to interact with SAP Business One and I'm getting this: Failed to send request to socket...rc = -1

Here is what I'm doing so far:

B1SL.xshttpdest

The standard B1SLLogic.xsjs

Imported the certificate to the trust manager

XS Artifact Administration configuration:

But when I start my login.html

I don't know where else to look, I hope you guys can help me with this, I'll deeply appreciate it .

Best Regards

Jose

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Solved it! I double check the configuration of the trust store and XS Artifact Administration with the destination in the app. I also added a proxy to the xshttpdest.

Answers (1)

Answers (1)

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Good, in many cases this error is due to the Trust Store configuration. Deleting it and recreating it solves the issue in most part of the cases.