[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Versions Question



   We are at version 1.24 of HTTPAPI and a client's system is at 1.23.  We
   are trying to use HTTPAPI to send and receive XML with UPS to get some
   package rates.  It is working great on our site with version 1.24 but
   on the client's side running 1.23 we keep getting a timeout error.
   Before we go chasing firewall rabbits and such just wanted to see if
   upgrading to 1.24 at the client site would alleviate.  I'm going to do
   it anyway but have some object locks right now that are keeping my from
   killing library LIBHTTP.


   Would the difference in versions have anything to do with this?  I have
   attached the debug text of both sites.


   Eric Hill

   Integrated Corporate Solutions

   ehill@xxxxxxxxxxxxx

   256-760-8239 ext. 232
HTTPAPI Ver 1.24 released 2012-01-23
OS/400 Ver V7R1M0

New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry  : 2
DNS resolver options: x'00000136'
DNS default domain: INDCOMPUTER.COM
DNS server found: 192.168.10.10
https_init(): entered
-------------------------------------------------------------------------------------
Dump of local-side certificate information:
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
Dump of server-side certificate information:
-------------------------------------------------------------------------------------
Cert Validation Code = 0
-----BEGIN CERTIFICATE-----
MIIFjjCCBHagAwIBAgIQVbUZabAciecAL+Toc7+JaTANBgkqhkiG9w0BAQUFADCB
tTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2Ug
YXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykxMDEvMC0GA1UEAxMm
VmVyaVNpZ24gQ2xhc3MgMyBTZWN1cmUgU2VydmVyIENBIC0gRzMwHhcNMTIwMzAy
MDAwMDAwWhcNMTYwNDExMjM1OTU5WjB7MQswCQYDVQQGEwJVUzETMBEGA1UECBMK
TmV3IEplcnNleTEP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oEFEtruSiWBgy70FI4myms
SweLIQUYMCYWJGh0dHA6Ly9sb2dvLnZlcmlzaWduLmNvbS92c2xvZ28xLmdpZjAN
BgkqhkiG9w0BAQUFAAOCAQEAQMls+/X9TR60duTTNTQ+Av/rrCDQG4mb6t5S/hrs
SoE6rNm4osZjD3WC5pr/cfKKYMIBYgWWU2FhNINelYlZOA2J5OD++TQ8k32Q/Jl7
IrFzPuJ4d4Qtev0zO1LPIgN3x+1Hrg4NtvySB39jxV+RIsBUEJbKK2UGOyEXy3Vg
aQxpS5HwxevN+T2q66yoZknRkzuN1OMKiVFjzVDC9vSqyXloaJeanrERNUE07swg
zhyMRgJ+TzbpRle6BFvgynsF1AFdie8oc9eVD8DnsdzSVITzfpuMWk7XyVqvIsEn
c8wfRKJVUeNktb5/kOkzKBIOwX6lR6ppV+LdTWpQ7bS0jA==
-----END CERTIFICATE-----
Serial Number: 55:B5:19:69:B0:1C:89:E7:00:2F:E4:E8:73:BF:89:69
Common Name: wwwcie.ups.com
Country: US
State/Province: New Jersey
Locality: Mahwah
Org Unit: United Parcel Service
Org: J2EE
Issuer CN: VeriSign Class 3 Secure Server CA - G3
Issuer Country: US
Issuer Org: VeriSign, Inc.
Issuer Org Unit: Terms of use at https://www.verisign.com/rpa (c)10, OU=VeriSign Trust Network
Version: 03
not before: 20120301180000
not after: 20160411185959
pub key alg: 1.2.840.113549.1.1.5

Protocol Used: TLS Version 1
http_persist_post(): entered
http_persist_req(POST) entered.
http_long_ParseURL(): entered
do_oper(POST): entered
There are 0 cookies in the cache
POST /ups.app/xml/Rate HTTP/1.1
Host: wwwcie.ups.com
User-Agent: http-api/1.24
Content-Type: text/xml
Content-Length: 1818


senddoc(): entered
<?xml version="1.0"?><AccessRequest><AccessLicenseNumber>6CB199630475D6B5</AccessLicenseNumber><UserId>icsdist</UserId><Password>Ics99999</Password></AccessRequest><?xml version="1.0"?><RatingServiceSelectionRequest xml:lang="en-US"><Request><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0</XpciVersion></TransactionReference><RequestAction>Rate</RequestAction><RequestOption>Rate</RequestOption></Request><Shipment><Description>Rate Description</Description><Shipper><CompanyName>FLORENCE</CompanyName><PhoneNumber>256-760-8239</PhoneNumber><Address><AddressLine1>P.O. BOX 443</AddressLine1><AddressLine2>501 SOUTH WOOD AVE.</AddressLine2><City>FLORENCE</City><StateProvinceCode>AL</StateProvinceCode><PostalCode>35631-0443</PostalCode><CountryCode>US</CountryCode></Address></Shipper><ShipTo><CompanyName>TESTTESTTESTTESTTESTTESTTE</CompanyName><PhoneNumber>256-768-0151</PhoneNumber><Address><AddressLine1>TEST AR0002/AR0006</AddressLine1><AddressLine2>TESTLINE2 OF ADDRESSTESTTE</AddressLine2><City>FLORENCETESTTEST**</City><StateProvinceCode>AL</StateProvinceCode><PostalCode>35630*****</PostalCode><CountryCode>US</CountryCode></Address></ShipTo><Service><Code>03</Code></Service><Package><PackagingType><Code>02</Code><Description>Customer Supplied</Description></PackagingType><Description>Rate</Description><PackageWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>12.000</Weight></PackageWeight><PackageServiceOptions><DeliveryConfirmation><DCISType>2</DCISType></DeliveryConfirmation></PackageServiceOptions></Package><ShipmentServiceOptions><OnCallAir><Schedule><PickupDay>02</PickupDay><Method>02</Method></Schedule>                                             </OnCallAir></ShipmentServiceOptions></Shipment></RatingServiceSelectionRequest>
recvresp(): entered
HTTP/1.1 200 OK
Date: Tue, 26 Mar 2013 16:38:47 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
Pragma: no-cache
Content-Length: 1471
Content-Type: application/xml


SetError() #13: HTTP/1.1 200 OK
recvresp(): end with 200
recvdoc parms: identity 1471
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
<?xml version="1.0"?>
<RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>03</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>12.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>9.02</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>3.75</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>12.77</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery/><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>9.02</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>3.75</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>12.77</MonetaryValue></TotalCharges><Weight>12.0</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>12.0</Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>
http_close(): entered
HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V7R1M0

New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry  : 2
DNS resolver options: x'00000136'
DNS default domain: ATLANTICDDA.COM
DNS server found: 148.99.104.180
https_init(): entered
-------------------------------------------------------------------------------------
Dump of local-side certificate information:
-------------------------------------------------------------------------------------
SetError() #7: Timeout occurred while trying to connect to server!
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------