<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PROC HTTP error in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/604737#M76524</link>
    <description>&lt;P&gt;There are PROXY host/port options that you can specify on PROC HTTP...if you can learn your organization's proxy settings.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2019 19:35:11 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2019-11-16T19:35:11Z</dc:date>
    <item>
      <title>PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/604449#M76511</link>
      <description>&lt;P&gt;I am trying to follow&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;'s article on web scraping at&amp;nbsp;&lt;A href="https://blogs.sas.com/content/sasdummy/2017/12/04/scrape-web-page-data/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2017/12/04/scrape-web-page-data/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can access the web site mentioned in the following code via my web browser, but the code returns an error.&lt;/P&gt;
&lt;PRE&gt;563   filename src temp;
564   proc http
565    method="GET"
566    url="https://www.unitedstateszipcodes.org/14068/"
567    out=src;
568   run;

ERROR: Error connecting to 13.225.212.116:443. (The connection has timed out.)
ERROR: Unable to connect to Web server.
&lt;/PRE&gt;
&lt;P&gt;I am guessing that the error is because my company's firewall prevents this type of HTTP access, but that's a guess. What do you think? Are there other possible causes of this error?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 13:14:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/604449#M76511</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-11-15T13:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/604456#M76512</link>
      <description>&lt;P&gt;I tested it under SAS On-Demand Academic ,&lt;/P&gt;
&lt;P&gt;No problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;68         
 69         filename src temp;
 70           proc http
 71            method="GET"
 72            url="https://www.unitedstateszipcodes.org/14068/"
 73            out=src;
 74         run;
 
 NOTE: “PROCEDURE HTTP”所用时间（总处理时间）:
       实际时间          0.55 秒
       用户 CPU 时间     0.04 秒
       系统 CPU 时间     0.00 秒
       内存              2202.84k
       OS 内存           27808.00k
       时间戳           2019-11-15 下午01:40:21
       Step Count                        45  Switch Count  3
       页错误数                       0
       页回收数                     1120
       页交换数                        0
       主动上下文切换数        88
       被动上下文切换数      0
       块输入操作数            0
       块输出操作数           352
       
 &lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Nov 2019 13:41:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/604456#M76512</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-11-15T13:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/604458#M76513</link>
      <description>&lt;P&gt;Yes, I tested it on my home computer using University Edition, works fine there as well.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 13:54:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/604458#M76513</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-11-15T13:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/604737#M76524</link>
      <description>&lt;P&gt;There are PROXY host/port options that you can specify on PROC HTTP...if you can learn your organization's proxy settings.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2019 19:35:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/604737#M76524</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2019-11-16T19:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/605387#M76532</link>
      <description>&lt;P&gt;I did learn the proxy settings, and then I needed to add to my PROC HTTP code the proper values for the options&lt;/P&gt;
&lt;P&gt;PROXYHOST=&lt;/P&gt;
&lt;P&gt;PROXYPORT=&lt;/P&gt;
&lt;P&gt;PROXYUSERNAME=&lt;/P&gt;
&lt;P&gt;PROXYPASSWORD=&lt;/P&gt;
&lt;P&gt;AUTH_BASIC&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 13:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/605387#M76532</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-11-19T13:31:12Z</dc:date>
    </item>
  </channel>
</rss>

