Hello group, We are getting this error "Length or start position is out of range for the string operation.", within the HTTP software when running our daily job Credit Cards Preliminary. The error is actually happening on a substring statement within procedure COMMTCP_FD_SET. I was able to generate a debug file from the HTTP software, which I've attached along with some screenshots for my proof of testing when debugging the issue showing the statement in error and the fields values used in the substring built-in function. I didn't see anything suspicious in the log that might be causing the error, so not sure what's going on. Our job consumes the web-service from two different programs, the first program works fine and the error happens on the second program on the very first called to the web-service. The weird thing is that this error only happens every Monday, but not for the rest of the weekdays that the job runs as well. One solution that I tried was running those two programs under its own activation group, but it didn't fix the issue. Please let me know your input on this. Thanks, Lewis This electronic mail message is intended exclusively for the individual or entity to which it is addressed. This message, together with any attachment, may contain confidential and privileged information. Any views, opinions or conclusions expressed in this message are those of the individual sender and do not necessarily reflect the views of Interval Leisure Group, Interval International, and their affiliates. Any unauthorized review, use, printing, copying, retention, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by replying to this email and delete all copies of this message. Thank you.
************Beginning of data**************
HTTPAPI Ver 1.24 released 2012-01-23
OS/400 Ver V7R1M0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 2
DNS resolver options: x'00000136'
DNS default domain: corp.interval-intl.com
DNS server found: 172.25.46.27
DNS server found: 172.25.46.28
-------------------------------------------------------------------------------------
Dump of server-side certificate information:
-------------------------------------------------------------------------------------
Cert Validation Code = 6000
-----BEGIN CERTIFICATE-----
MIIEjDCCA3SgAwIBAgIKYTpBsgAAAAB7dDANBgkqhkiG9w0BAQUFADA+MRIwEAYK
CZImiZPyLGQBGRYCYWQxEzARBgoJkiaJk/IsZAEZFgNpbGcxEzARBgNVBAMTCklM
CZImiZPyLGQBGRYCYWQxEzARBgoJkiaJk/IsZAEZFgNpbGcxEzARBgNVBAMTCklM
Ry1FTi1DQTEwHhcNMTMxMjE2MjM1NDUwWhcNMjMxMjE0MjM1NDUwWjB3MQswCQYD
VQQGEwJVUzEQMA4GA1UECBMHRmxvcmlkYTEOMAw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q6YgiAyiB+7
jF6X3j4D7xLE9ZHWS0brlRTwm5cm4Ej+wP6FAfmztCrDSU2FmM8DIq6YgiAyiB+7
/sJZ2oUtmNX4ORB+nXtK30DL22trOomLINv+3nxV90ztIihRpHXKlVTDbUw59Odn
aeuIn+NXiStqnwF8uU8fHxCh9s3/2Chg7LPvKuRWDRgU7JAk6sD3ID9WFtqs25dY
7eUppu1eLaNzLSvGvqb/iAYf48Bk/v4Jm7usXAztijXJboXXIj5yzyLHlgBNnatk
pnJJcadbmuYJoBFfcWs1NJZz7/RGzf6f0ILeW8aX0uurh7LoxSu/EO8I/O9FI1Hn
bX2YYcM2eiLkkykcxVsI9w==
-----END CERTIFICATE-----
Serial Number: 61:3A:41:B2:00:00:00:00:7B:74
Common Name: *.*.ii-apps.com
Country: US
State/Province: Florida
Locality: Miami
Org Unit: Interval International
Org: IT
Issuer CN: ILG-EN-CA1
Version: 3
not before: 20131216185450
Unknown Field: 18:54:50 16-12-2013
not after: 20231214185450
not after: 20231214185450
Unknown Field: 18:54:50 14-12-2023
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 /EnterpriseIntegrationWeb/services/ies/as400DataManager HTTP/1.1
Host: eiw.qa2-ii-apps.com:443
User-Agent: http-api/1.24
Content-Type: text/xml; charset=UTF-8
Content-Length: 808
SOAPAction: http://https://services.intervalintl.com/schema/as400dataservice/as400DataMessages/as400DataService/GetContactInfoRequest
senddoc(): entered
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:as4="http://services.intervalintl.com/schema/as400dataservice/as400DataMessages" xmlns:head="http://services.intervalintl.com/schema/common/headerrq"> <soapenv:Header/> <soapenv:Bodataservice/as400DataMessages" xmlns:head="http://services.intervalintl.com/schema/common/headerrq"> <soapenv:Header/> <soapenv:Body> <as4:GetBasicContactInfoRequest> <head:header CountryCd="?" LanguageCd="?" TerminalId="?" TransactionChannel="?" EchoToken="?" TimeStamp="2014-02-05T15:04:57" Target="Production" Version="0.1" RetransmissionIndicator="1" MaxResponses="100" MoreDataEchoToken="?" SessionId="?" InteractionType="?" InteractionUser="?"> <head:Requestor Id="?" IdContext="?" Password="?"/> </head:header> <as4:ContactId>1835893</as4:ContactId><as4:MembershipNumber>3644176</as4:MembershipNumber></as4:GetBasicContactInfoRequest></soapenv:Body> </soapenv:Envelope>
recvresp(): entered
************End of Data******************** Attachment:
Proof of testing for jira AS-3702.docx
Description: Proof of testing for jira AS-3702.docx
----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubscribe, please go to: http://www.scottklement.com/mailman/listinfo/ftpapi -----------------------------------------------------------------------