cancel
Showing results for 
Search instead for 
Did you mean: 

Sap Cloud Platform SOAP calls to SAP BYD

YanGerzon
Participant
332

Hi,

I have written a service in SCP that makes SOAP calls to create Purchase Orders on a BYD tenant.
It usually works fine but sometimes, as its starting to send more of these calls(the client is making more purchase orders), the code stops running with the below log.
There is more to the log but from that segment I understand that the proxy server is getting a 502 error.
I am using Unirest to make the SOAP post calls.
When I try to run the code from my local machine it seems to run fine every time and the calls go through.
I am using a template into which i modify to change field values(the envelope is never changed)so i dont see how the 502 could be due to the structure of the SOAP.
So to summerize:
The code runs fine locally no matter how many Purchase Orders It create using SOAP calls.
It runs fine when there are not too many purchase orders to create even on the servlet on SCP.
It gives out "proxy error: EOF" and ""POST /UploadAP HTTP/1.1" 502 0 0 "-"" in the log and stops the run in the middle when running from SCP servlet when there are a lot of Purchase order to create.

I am out of ideas about what could be the cause.

Thanks in advance.

2022/02/13 10:38:47 http: proxy error: EOF
2022/02/13 10:38:47 App exited. err: signal: killed, Restarting 
2022/02/13 10:38:47 Starting app: bash -c 'JRE_HOME="META-INF/.sap_java_buildpack/sapjvm" JBP_CONFIG_SAPJVM_MEMORY_STACK_THREADS="250"    JBP_CLASSPATH="" JBP_CONFIG_SAPJVM_MEMORY_CLASS_COUNT="" JAVA_HOME="META-INF/.sap_java_buildpack/sapjvm"    CATALINA_HOME="META-INF/.sap_java_buildpack/tomcat" JAVA_OPTS=" -Xmn10M -Xms30M    -Xmx100M -Xss3M  -Djava.io.tmpdir=$TMPDIR -Dhttp.port=3000 -Daccess.logging.enabled=false    -Dlogback.configurationFile=file:META-INF/.sap_java_buildpack/tomcat/conf/logback.xml    -DSAPJVM_EXTENSION_COMMAND_HANDLER=com.sap.xs2rt.dropletaddon.JvmExtensionCommandHandler    -Djava.protocol.handler.pkgs=com.sap.xs.statistics.stream.handling.protocols -agentpath:/app/META-INF/.sap_java_buildpack/jvm_kill/jvmkill-1.12.0.RELEASE-trusty.so=printHeapHistogram=1    -Dsun.net.inetaddr.ttl=0 -Dsun.net.inetaddr.negative.ttl=0" ./META-INF/.sap_java_buildpack/tomcat/bin/catalina.sh    run' 
Working dir: /home/vcap/app
time="2022-02-13T10:38:47Z" level=error msg="handleOutLogs:read |0: file already closed"
time="2022-02-13T10:38:47Z" level=error msg="handleErrLogs:read |0: file already closed"
7thz8ncctnmsejb8msf-uploadvendors.cfapps.eu10.hana.ondemand.com - [2022-02-13T10:36:41.124230331Z] "POST /UploadAP HTTP/1.1" 502 0 0 "-" "PostmanRuntime/7.28.4" "10.0.72.1:59326"<br>

Accepted Solutions (0)

Answers (0)