on 2023 Aug 16 7:57 AM
Hello Experts,
I am trying to reach an both S4 On Premise OData and BW On Premise OData systems from CAP Service. I am able to reach S4 Successfully but not BW Service.
I am getting "Error during request to remote service: \nread ECONNRESET" when doing the testing from Local. Is there something that I am missing out
I can see call is successfully routed to the right destination but I don't find any logs of this service hitting either Cloud Connector or BW System.
Request clarification before answering.
Hi gallaphanikumar ,
When testing locally, BAS connects to onPrem via CC using a proxy.
In your project, create an .env and add the following info to test.
The .dest is mandatory as BAS figures the destination info accordingly.
[
{
"type": "HTTP",
"name": "<DESTINATION-NAME>",
"url": "http://<DESTINATION-NAME>.dest",
"ProxyHost": "localhost",
"ProxyPort": 8887
}
]
Here is the link to documentation.Docu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi gallaphanikumar ,
When testing locally, BAS connects to onPrem via CC using a proxy.
In your project, create an .env and add the following info to test.
The .dest is mandatory as BAS figures the destination info accordingly.
[
{
"type": "HTTP",
"name": "<DESTINATION-NAME>",
"url": "http://<DESTINATION-NAME>.dest",
"ProxyHost": "localhost",
"ProxyPort": 8887
}
]
Here is the link to documentation.Docu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To enable logging of the remote service, you can configure the environment variable DEBUG=remote. For example:
DEBUG=remote cds watch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi arley.trianamorin ,
Thanks for your response. I have enabled debug mode and got more or less similar info . Is there any other place where I can check out detailed logs? Can you please help me what could be the potential issue from the below log ?
Reaching BW On Premise is happening through basic authentication and reaching S4 On Premise is happening through Principal authentication. Do you think that could be a problem? Please advice
User | Count |
---|---|
89 | |
11 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.