Hi Scott,
I wonder if you have anything to add about the time take to do the SSL part of HTTPAPI?
I've included another call below and as you can see, this call takes 12 seconds (highlighted in green) to process this on the 1st call. If we are relying on fast calls, do we need to structure this so that only one SSL is done per day or are we missing
something else that need setting to make it quicker?
Thanks, Lawrence
HTTPAPI Ver 1.39 released 2018-03-09
NTLM Ver 1.4.0 released 2014-12-22
OS/400 Ver V7R3M0
2020-04-01-17.14.29.326000: http_url_post(): entered
2020-04-01-17.14.29.357000: http_persist_open(): entered
2020-04-01-17.14.29.357000: http_long_ParseURL(): entered
2020-04-01-17.14.29.357000: DNS resolver retrans: 2
2020-04-01-17.14.29.357000: DNS resolver retry : 2
2020-04-01-17.14.29.357000: DNS resolver options: x'00000136'
2020-04-01-17.14.29.358000: DNS default domain: PARK.LAN
2020-04-01-17.14.29.358000: DNS server found: 10.1.2.15
2020-04-01-17.14.29.358000: DNS server found: 10.1.2.16
2020-04-01-17.14.29.367000: https_init(): entered
2020-04-01-17.14.29.367000: QSSLPCL = *OPSYS
2020-04-01-17.14.29.367000: SSL version 2 support disabled
2020-04-01-17.14.29.367000: SSL version 3 support disabled
2020-04-01-17.14.29.367000: Old interface to TLS version 1.0 support enabled
2020-04-01-17.14.29.368000: TLS version 1.0 support enabled
2020-04-01-17.14.29.368000: TLS version 1.1 support enabled
2020-04-01-17.14.29.368000: TLS version 1.2 support enabled
2020-04-01-17.14.41.546000: -------------------------------------------------------------------------------------
2020-04-01-17.14.41.546000: Dump of local-side certificate information:
2020-04-01-17.14.41.546000: -------------------------------------------------------------------------------------
2020-04-01-17.14.41.546000: Nagle's algorithm (TCP_NODELAY) disabled.
2020-04-01-17.14.41.547000: SNI hostname set to: mastercardwrapperservice.prl.co.uk
2020-04-01-17.14.41.651000: -------------------------------------------------------------------------------------
2020-04-01-17.14.41.651000: Dump of server-side certificate information:
2020-04-01-17.14.41.652000: -------------------------------------------------------------------------------------
2020-04-01-17.14.41.652000: Cert Validation Code = 0
2020-04-01-17.14.41.799000: -----BEGIN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tDIdwZGfTVYcyoEad1/NndzUdvqRpJjClvpEl
RHkgj95EygrXrrbNyC7JGd3SUUdBZfz7ggDCoSBj/0Wi3gVMUSGvappb13w9noMo
PWh4S8U0BMGUeauxOV7ghHRwOTP8h1MCmnFXimzB1WFLqdfOdMP6LmXzrekunwj0
0nb5B1nNQ+rLIA4/rsxatZ5hJTLHK1sP5J0hxyW0gOLx390lr5bEdJ03v68tcCo7
weFjcKCRtA8BZuLPt8QCiRlv3+HjdbHA93Moq9YjsG/3UdqeB8gFEHTGLDRbdNo=
2020-04-01-17.14.41.800000: -----END CERTIFICATE-----
Serial Number: 00:EA:6B:E5:85:50:E2:9F:73
Common Name: mastercardwrapperservice.prl.co.uk
Country: GB
State/Province: Merseyside
Locality: Birkenhead
Org Unit: Park Group plc
Org: GTS
Issuer CN: mastercardwrapperservice.prl.co.uk
Issuer Country: GB
Issuer State/Province: Merseyside
Issuer Locality: Birkenhead
Issuer Org: Park Group plc
Issuer Org Unit: GTS
Version: 3
not before: 20160916093454
Unknown Field: 09:34:54 16-09-2016
not after: 20251203083454
Unknown Field: 08:34:54 03-12-2025
pub key alg: 1.2.840.113549.1.1.1
signature algorithm: 1.2.840.113549.1.1.11
Unknown Field: 0382010F003082010A0282010100DAE0D251E287DCE30658B12BDB2C30809D8F80E204FE6E36A816A98C9459369A3011E04963EA476C74D92E591F1955B72CB63E22F9A05F4DFAA68A6B8DEA9F9B3B2730A84F29E91C6D65C89ABAF9C9347DA45860803622076C3EDE57E407118BD0AFD1170529F6F083E284AC56B3EE8FD76A22810A306D86053708502D68CBABAB516FF356C07DFA57D806644D8214B6F1C18825681702B2BCCD7A233FD64546A45882C4003D79CE03D7A7670311909246502CFA37BAF97ACB8131497151DA2ECAD5D0604F60744BFD9F29C161C6EA47AE3F04888D272EA320D1EE17E6F7868C80F88DF9CCEE7DF1DAAE325A7749CABA51DFBA6004BC5D377E3AF0D4F8EB7C970203010001
Unknown Field: 2048
Unknown Field: C435760EB4286E3E9FD5DD77986221CD
Unknown Field: 1.2.840.113549.2.5
Unknown Field: FAA5D37EF415959057E2E1719772B538E73DD4D6
Unknown Field: 2AFCFE318E71A1CEA15D91B1167BD4A784ED37227D74A279553BFCBC08CA91D3
Unknown Field: 1
2020-04-01-17.14.41.804000: Protocol Used: TLS Version 1.2
2020-04-01-17.14.41.804000: http_persist_post(): entered
2020-04-01-17.14.41.804000: http_persist_req(POST) entered.
2020-04-01-17.14.41.804000: http_long_ParseURL(): entered
2020-04-01-17.14.41.804000: http_long_ParseURL(): entered
2020-04-01-17.14.41.804000: do_oper(POST): entered
2020-04-01-17.14.41.805000: CommSSL_BlockWrite(): gsk_secure_soc_write socket fd=5, flags=00000084, blocking=0
2020-04-01-17.14.41.805000: CommSSL_BlockWrite(): gsk_secure_soc_write rc=0, len=206
POST /mastercard-wrapper-service/CardUnload?wsdl HTTP/1.1
Host: mastercardwrapperservice.prl.co.uk
User-Agent: http-api/1.39
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
Content-Length: 858
2020-04-01-17.14.41.805000: senddoc(): entered
2020-04-01-17.14.41.805000: senddoc(): data left=858, chunk size=858, timeout=60, calling comm_blockWrite...
2020-04-01-17.14.41.805000: CommSSL_BlockWrite(): gsk_secure_soc_write socket fd=5, flags=00000084, blocking=0
2020-04-01-17.14.41.805000: CommSSL_BlockWrite(): gsk_secure_soc_write rc=0, len=858
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.mastercard.ws.parkgroup.co.uk/"> <soapenv:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" ><wsse:UsernameToken><wsse:Username>devsuppg@xxxxxxxxxxxxxxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">xxxxxxxxxxxxxxxx</wsse:Password></wsse:UsernameToken></wsse:Security></soapenv:Header><soapenv:Body><ser:handleCardUnload><cardUnloadRequest><cardId>xxxxxxxxxxxxxxxx</cardId><cvv></cvv><pan></pan><parkReference></parkReference></cardUnloadRequest></ser:handleCardUnload></soapenv:Body></soapenv:Envelope>
2020-04-01-17.14.41.806000: senddoc(): comm_blockWrite returned 858
2020-04-01-17.14.41.806000: recvresp(): entered
2020-04-01-17.14.41.806000: recvresp: reading response header, space left=32767
HTTP/1.1 200 OK
2020-04-01-17.14.42.511000: recvresp: reading response header, space left=32750
Date: Wed, 01 Apr 2020 16:15:44 GMT
2020-04-01-17.14.42.511000: recvresp: reading response header, space left=32713
Content-Type: text/xml;charset=utf-8
2020-04-01-17.14.42.511000: recvresp: reading response header, space left=32675
Vary: Accept-Encoding
2020-04-01-17.14.42.512000: recvresp: reading response header, space left=32652
Set-Cookie: JSESSIONID=8256C785FF963BDF866ECB3531C58D80; Path=/mastercard-wrapper-service/; HttpOnly
2020-04-01-17.14.42.512000: recvresp: reading response header, space left=32550
Set-Cookie: TS01a90bac=010c8805f63a1b5e6cf788838d7ee727723cf0f4c9ca077158f2ce4beece6688c3148ef0fe299eea6344081b746e6585c0f7b6d36e; Path=/
2020-04-01-17.14.42.512000: recvresp: reading response header, space left=32411
Set-Cookie: TS014c158a=010c8805f6ec669d8527b7fd922cf1d7d921e384a8ca077158f2ce4beece6688c3148ef0fe5fb7629355d5b751cc8b7f62b393e987897dced7d937cf5818d4b17244db34a2; path=/mastercard-wrapper-service/
2020-04-01-17.14.42.512000: recvresp: reading response header, space left=32213
Transfer-Encoding: chunked
2020-04-01-17.14.42.512000: recvresp: reading response header, space left=32185
2020-04-01-17.14.42.512000: recvresp: empty line, ending header, number of eol chars=2
2020-04-01-17.14.42.512000: recvresp: header resp code = 200 repeating=0
2020-04-01-17.14.42.512000: SetError() #13: HTTP/1.1 200 OK
2020-04-01-17.14.42.512000: recvresp(): end with 200
2020-04-01-17.14.42.513000: recvdoc parms: chunked 0
2020-04-01-17.14.42.513000: recvchunk(): entered
2020-04-01-17.14.42.514000: get_chunk_size(): entered
223
2020-04-01-17.14.42.514000: chunk size = 547
2020-04-01-17.14.42.514000: get_chunk_size returned 547
2020-04-01-17.14.42.514000: calling comm_blockread
<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><S:Body><ns2:handleCardUnloadResponse xmlns:ns2="http://service.mastercard.ws.parkgroup.co.uk/"><cardUnloadResponse><amountUnload>00.00</amountUnload><availableBalance>0.0</availableBalance><blockedAmount>0.0</blockedAmount><currencyCode>GBP</currencyCode><message><status>OK</status></message></cardUnloadResponse></ns2:handleCardUnloadResponse></S:Body></S:Envelope>
2020-04-01-17.14.42.514000: comm_blockread returned 547
2020-04-01-17.14.42.515000: get_chunk_size(): entered
0
2020-04-01-17.14.42.516000: chunk size = 0
2020-04-01-17.14.42.516000: get_chunk_size returned 0
2020-04-01-17.14.42.516000: http_close(): entered
HTTPAPI Ver 1.39 released 2018-03-09
NTLM Ver 1.4.0 released 2014-12-22
OS/400 Ver V7R3M0
2020-04-01-17.14.42.751000: New iconv() objects set, PostRem=1208. PostLoc=0. ProtRem=819. ProtLoc=0
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx <ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx> on behalf of Kevin Bucknum <Kevin@xxxxxxxxxxxxxxxxxxx>
Sent: 18 March 2020 17:11 To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx <ftpapi@xxxxxxxxxxxxxxxxxxxxxx> Subject: Re: [Ftpapi] Another HTTPAPI log question Personally we just accept it. We aren't calling any services in enough volume to notice the delay.
On Wed, 2020-03-18 at 10:58 +0000, Lawrence Loz wrote:
Kevin Bucknum CONFIDENTIALITY NOTICE This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED. If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents. |
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi