Please help!!!! ERROR: The connection was reset by a peer.. FATAL: Unrecoverable I/O error detected in the execution of the DATA step program. Aborted during the EXECUTION phase.

Reply
Occasional Contributor
Posts: 10

Please help!!!! ERROR: The connection was reset by a peer.. FATAL: Unrecoverable I/O error detected in the execution of the DATA step program. Aborted during the EXECUTION phase.

SAS Community:

I am running the following program using SAS 9.3.  Yet I continue to get the following error below.  Can anyone view this program and state if I am doing something wrong?

filename http socket "preprod-api.ratmoves.com:443" termstr=LF lrecl=8192;

data _null_;

infile http length=len;

file http;

if _n_=1 then put

'POST https://preprod-api.ratmoves.com:443/Quote HTTP/1.1'

'Accept-Encoding:gzip,deflate'/

'RequestRef:992932'/

'AccessKey: ***********************************************************'/

'RequestCount: 1'/

'PartnerId: 22'/

'Content-Type: application/json'/

'Content-Length: 486'/

'HostSmiley Tonguereprod-api.ratmoves.com:443'/

'Connection:Keep-Alive'/

'User-Agent:Apache-HttpClient/4.1.1 (java 1.5)'/;

input;

file log;

put _infile_;

run;

ERROR:

1                                                          The SAS System                            07:55 Monday, November 10, 2014

1          ;*';*";*/;quit;run;

2          OPTIONS PAGENO=MIN;

3          %LET _CLIENTTASKLABEL='connecttorat2';

4          %LET _CLIENTPROJECTPATH='C:\Users\abc\Desktop\newtest11_10_2014.egp';

5          %LET _CLIENTPROJECTNAME='newtest11_10_2014.egp';

6          %LET _SASPROGRAMFILE=;

7         

8          ODS _ALL_ CLOSE;

9          OPTIONS DEV=ACTIVEX;

10         GOPTIONS XPIXELS=0 YPIXELS=0;

11         FILENAME EGSR TEMP;

12         ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR STYLE=HtmlBlue

12       ! STYLESHEET=(URL="file:///I:/SASHome/SASEnterpriseGuide/5.1/Styles/HtmlBlue.css") NOGTITLE NOGFOOTNOTE

12       ! GPATH=&sasworklocation ENCODING=UTF8 options(rolap="on");

SYMBOLGEN:  Macro variable SASWORKLOCATION resolves to "I:\SASWORK\_TD4776_MSC-SAS-01B_\Prc2/"

NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR

13        

14         GOPTIONS ACCESSIBLE;

15         ods trace on / label;

16         filename http socket "preprod-api.ratmoves.com:443" termstr=LF lrecl=8192;

17         data _null_;

18         infile http length=len;

19         file http;

20         if _n_=1 then put

21         'POST https://preprod-api.ratmoves.com:443/Quote HTTP/1.1'

22         'Accept-Encoding:gzip,deflate'/

23         'RequestRef:992932'/

24         'AccessKey:********************************************************'/

25         'RequestCount: 1'/

26         'PartnerId: 22'/

27         'Content-Type: application/json'/

28         'Content-Length: 486'/

29         'HostSmiley Tonguereprod-api.ratmoves.com:443'/

30         'Connection:Keep-Alive'/

31         'User-Agent:Apache-HttpClient/4.1.1 (java 1.5)'/;

32         input;

33         file log;

34         put _infile_;

35         run;

NOTE: The file/infile HTTP is:

      Local Host Name=MSC-SAS-01B,

      Local Host IP addr=fe80::b0fc:be4a:a9fe:fd13%19,

      Peer Hostname Name=preprod-api.ratmoves.com,

      Peer IP addr=23.102.139.90,Peer Name=N/A,

      Peer Portno=443,Lrecl=8192,Recfm=Variable

ERROR: The connection was reset by a peer..

FATAL: Unrecoverable I/O error detected in the execution of the DATA step program.  Aborted during the EXECUTION phase.

NOTE: 0 records were read from the infile HTTP.

NOTE: 11 records were written to the file HTTP.

      The minimum record length was 0.

      The maximum record length was 84.

NOTE: The SAS System stopped processing this step because of errors.

NOTE: DATA statement used (Total process time):

      real time           2:06.26

      cpu time            0.00 seconds

Ask a Question
Discussion stats
  • 0 replies
  • 459 views
  • 0 likes
  • 1 in conversation