BookmarkSubscribeRSS Feed
dincooo
Obsidian | Level 7

Hi all,

 

We have a real time SAS server which takes and sends real time requests. 

It works for 2 years but from yesterday there is an error:

 

After waiting nearly 110 seconds the requests are getting error like this: 

 

Response :

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>502 Proxy Error</title>

</head><body>

<h1>Proxy Error</h1>

<p>The proxy server received an invalid

response from an upstream server.<br />

The proxy server could not handle the request <em><a href="/SASBIWS/services/claim_info_ws">POST&nbsp;/SASBIWS/services/claim_info_ws</a></em>.<p>

Reason: <strong>Error reading from remote server</strong></p></p>

<hr>

<address>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

 

 

Also when logging to a SAS web UI the error is:

 

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: 

at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:328)

at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:291)

at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:344)

at org.jasig.cas.client.proxy.Cas20ProxyRetriever.getProxyTicketIdFor(Cas20ProxyRetriever.java:65)

at org.jasig.cas.client.authentication.AttributePrincipalImpl.getProxyTicketFor(AttributePrincipalImpl.java:87)

at com.sas.svcs.authentication.helper.LazySpringSecurityContext.getSecurityContextWithAuthManager(LazySpringSecurityContext.java:155)

at com.sas.svcs.authentication.helper.LazySpringSecurityContext.getSecurityContext(LazySpringSecurityContext.java:234)

at com.sas.svcs.authentication.helper.LazySpringSecurityContext.getAuthentication(LazySpringSecurityContext.java:245)

at com.sas.svcs.security.aop.RunAsInterceptor.invoke(RunAsInterceptor.java:84)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

at com.sun.proxy.$Proxy1985.loadRelationships(Unknown Source)

at com.sas.svcs.content.relationship.dao.scheduling.RelationshipSchedulingHandler$LoadRunnable.run(RelationshipSchedulingHandler.java:317)

at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.IOException: Server returned HTTP response code: 502 for URL: 

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1627)

at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:311)

... 20 more

1 REPLY 1
boemskats
Lapis Lazuli | Level 10

How long do your services take to execute? Is it anywhere near 5 minutes?

 

Have you already tried restarting your WebAppServer?

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 4865 views
  • 0 likes
  • 2 in conversation