<?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: 502 Proxy Error: The proxy server received an invalid  response from an upstream server. in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/502-Proxy-Error-The-proxy-server-received-an-invalid-response/m-p/483896#M13816</link>
    <description>&lt;P&gt;How long do your services take to execute? Is it anywhere near 5 minutes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you already tried restarting your WebAppServer?&lt;/P&gt;</description>
    <pubDate>Fri, 03 Aug 2018 19:30:22 GMT</pubDate>
    <dc:creator>boemskats</dc:creator>
    <dc:date>2018-08-03T19:30:22Z</dc:date>
    <item>
      <title>502 Proxy Error: The proxy server received an invalid  response from an upstream server.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/502-Proxy-Error-The-proxy-server-received-an-invalid-response/m-p/483299#M13787</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a real time SAS server which takes and sends real time requests.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works for 2 years but from yesterday there is an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After waiting nearly 110 seconds the requests are getting error like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Response :&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;title&amp;gt;502 Proxy Error&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;h1&amp;gt;Proxy Error&amp;lt;/h1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;p&amp;gt;The proxy server received an invalid&lt;/P&gt;&lt;P&gt;response from an upstream server.&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;The proxy server could not handle the request &amp;lt;em&amp;gt;&amp;lt;a href="/SASBIWS/services/claim_info_ws"&amp;gt;POST&amp;amp;nbsp;/SASBIWS/services/claim_info_ws&amp;lt;/a&amp;gt;&amp;lt;/em&amp;gt;.&amp;lt;p&amp;gt;&lt;/P&gt;&lt;P&gt;Reason: &amp;lt;strong&amp;gt;Error reading from remote server&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/p&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;hr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;address&amp;gt;Apache/2.2.29.0 (Unix) PivotalWebServer/5.4.3 mod_ssl/2.2.29.0 OpenSSL/1.0.1j-fips mod_bmx/0.9.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also when logging to a SAS web UI the error is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2018-08-01 20:05:05,190 [task-scheduler-2] ERROR [unknown] org.springframework.integration.handler.LoggingHandler - java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 502 for URL:&amp;nbsp;&lt;/P&gt;&lt;P&gt;at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:328)&lt;/P&gt;&lt;P&gt;at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:291)&lt;/P&gt;&lt;P&gt;at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:344)&lt;/P&gt;&lt;P&gt;at org.jasig.cas.client.proxy.Cas20ProxyRetriever.getProxyTicketIdFor(Cas20ProxyRetriever.java:65)&lt;/P&gt;&lt;P&gt;at org.jasig.cas.client.authentication.AttributePrincipalImpl.getProxyTicketFor(AttributePrincipalImpl.java:87)&lt;/P&gt;&lt;P&gt;at com.sas.svcs.authentication.helper.LazySpringSecurityContext.getSecurityContextWithAuthManager(LazySpringSecurityContext.java:155)&lt;/P&gt;&lt;P&gt;at com.sas.svcs.authentication.helper.LazySpringSecurityContext.getSecurityContext(LazySpringSecurityContext.java:234)&lt;/P&gt;&lt;P&gt;at com.sas.svcs.authentication.helper.LazySpringSecurityContext.getAuthentication(LazySpringSecurityContext.java:245)&lt;/P&gt;&lt;P&gt;at com.sas.svcs.security.aop.RunAsInterceptor.invoke(RunAsInterceptor.java:84)&lt;/P&gt;&lt;P&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/P&gt;&lt;P&gt;at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)&lt;/P&gt;&lt;P&gt;at com.sun.proxy.$Proxy1985.loadRelationships(Unknown Source)&lt;/P&gt;&lt;P&gt;at com.sas.svcs.content.relationship.dao.scheduling.RelationshipSchedulingHandler$LoadRunnable.run(RelationshipSchedulingHandler.java:317)&lt;/P&gt;&lt;P&gt;at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)&lt;/P&gt;&lt;P&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)&lt;/P&gt;&lt;P&gt;at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)&lt;/P&gt;&lt;P&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)&lt;/P&gt;&lt;P&gt;at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)&lt;/P&gt;&lt;P&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&lt;/P&gt;&lt;P&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)&lt;/P&gt;&lt;P&gt;at java.lang.Thread.run(Thread.java:745)&lt;/P&gt;&lt;P&gt;Caused by: java.io.IOException: Server returned HTTP response code: 502 for URL:&amp;nbsp;&lt;/P&gt;&lt;P&gt;at sun.net.&lt;A href="http://www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1627" target="_blank"&gt;www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1627&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:311)&lt;/P&gt;&lt;P&gt;... 20 more&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 07:38:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/502-Proxy-Error-The-proxy-server-received-an-invalid-response/m-p/483299#M13787</guid>
      <dc:creator>dincooo</dc:creator>
      <dc:date>2018-08-02T07:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: 502 Proxy Error: The proxy server received an invalid  response from an upstream server.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/502-Proxy-Error-The-proxy-server-received-an-invalid-response/m-p/483896#M13816</link>
      <description>&lt;P&gt;How long do your services take to execute? Is it anywhere near 5 minutes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you already tried restarting your WebAppServer?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 19:30:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/502-Proxy-Error-The-proxy-server-received-an-invalid-response/m-p/483896#M13816</guid>
      <dc:creator>boemskats</dc:creator>
      <dc:date>2018-08-03T19:30:22Z</dc:date>
    </item>
  </channel>
</rss>

