on 2021 Aug 02 5:10 PM
While attempting to run an HTTP Post action to an HTTPS RESTful URL in MII 15.2, I get the following error:
[ERROR] Post Action: error occured while trying to connect to the server Exception: [Connection reset]
This RESTful API requires HTTPS. Attempting the same HTTPS call via Postman works without issue.
Just to confirm, I tested another RESTful API which supports both HTTP and HTTPS protocols. HTTP worked while HTTPS returned the same error message as noted above.
If anyone knows how to configure MII/NW to successfully make HTTPS Posts, I'd greatly appreciate the information.
Request clarification before answering.
Yes, our MII system is configured to run via HTTPS.
BR
Pedro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pedro,
As a follow-up, here's the following examples I tried:
oData Service
The oData Service Action block is throwing the same error as the HTTP Post action block:
[ERROR] ODataService Action: error occurred while trying to connect to the server Exception: [Connection reset]
Were you able to connect to an external/public non-SAP HTTPS service using the oData Service Action block?
I tried to call the following oData Test Service, https://services.odata.org/V3/OData/OData.svc/, which returned the same response as above. If I actually call the service via HTTP (http://services.odata.org/V3/OData/OData.svc/), it does return a HTTP 301 response. While not what I was looking for, it does validate my theory that HTTP works fine but HTTPS requires additional configuration, possibly in MII and/or NW.
XML Loader
If I try to open the following XML file via HTTPS, https://www.w3schools.com/xml/note.xml, using the XML Loader action block, I'm getting the following error:
XmlProxy Error: Peer sent alert: Alert Fatal: protocol version
I did read somewhere that perhaps NW requires an updated HTTP protocol libray? Not really sure but since HTTPS has become an industry standard, I cannot be alone in having these issues.
Thanks,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike,
please try with the oData Service Actionblock. It should work. You will find the Actionblock in the folder Web
Service.
BR
Pedro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.