Skip to Content

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

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

pic1.jpg (11.6 kB)
screenshot-2.jpg (58.4 kB)
screenshot-3.jpg (47.2 kB)
screenshot-4.jpg (72.5 kB)
screenshot-5.jpg (48.5 kB)
error.jpg (9.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 24 at 03:25 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • May 15 at 12:11 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded