SAP oData Connector: Create - failed to upload PDF

2
Hi all When uploading a PDF to our SAP-system through our Mendix-application, we receive this error: 2019-08-05T12:51:05.177+0000 [APP/PROC/WEB/0] ERR aug 05, 2019 12:51:05 PM org.apache.http.impl.execchain.RetryExec execute 2019-08-05T12:51:05.177+0000 [APP/PROC/WEB/0] ERR INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://connectivityproxy.internal.cf.eu10.hana.ondemand.com:20003->http://***:8000: Broken pipe (Write failed) We upload the PDF through the FileManager, allowed extensions: pdf, etc, it works for PDF’s smaller than 500 kB, yet, around the size of 500 kB it’s failing. This is too small and we should be able to process PDF’s with a maximum file-size of 5 MB. This is our microflow: To trigger the issue: the PDF-file itself is smaller than 2 MB, the widget allows PDF-files to the size of 5 MB. When we manually put in the odata-object with the Base64-encoded string in SAP GW: the call works. My guess is: this can be either settled in the Mendix application itself through an environment variable (but, which one?) or in the SAP Cloud Connector (yet, how?) Anyone experience with this issue? Thanks in advance! Kind regards, Leander
asked
1 answers
0

We got it working: the SAP Cloud Connector could not coope with the HTTP 100 – Continue header for the big payload and we needed to add an extra header: Proxy-Authorization with the SapConnectivityProxyCredentials as value

answered