HTTPS Agent behind a proxy server does not respond to HTTPS enabled scheduler / application server, CAUAJM_E_50281 AutoPing from the Scheduler WAS NOT SUCCESSFUL.
search cancel

HTTPS Agent behind a proxy server does not respond to HTTPS enabled scheduler / application server, CAUAJM_E_50281 AutoPing from the Scheduler WAS NOT SUCCESSFUL.

book

Article ID: 439117

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

HTTPS configuration was implemented the same way across two agents, one (good-agent) agent needs to go through a proxy server to connect to the manager, while the other one does not (bad-agent)
 
autoping and jobs work fine against good-agent, but bad-agent cannot be reached.
 
Agent's receiver.log shows incoming connections succesfully
Agent's transmitter.log shows connection problems sending message to manager:
 
 
04/16/2026 18:15:37.434+0000 2 main.MainThread.CybTransmitterScheduler.<init>[:149] - Delay time after maximum errors limit reached - 120000ms.
04/16/2026 18:15:37.506+0000 5 TCP/IP Controller Plugin.Transmitter pool thread <Regular:1>.CybTargetHandlerChannel.call[:819] - Attempting to send:    20260416 18153744+0000 ACE_SCH BAD_AGENT . CONTROL ACTIVE OSText(Linux for amd64) ByUser(...) AgentRelease(24.1)  AgentBuild(8235, Service Pack 00)  User(...) Host(bad-agent.example.com)
04/16/2026 18:15:37.506+0000 5 TCP/IP Controller Plugin.Transmitter pool thread <Regular:1>.CybTargetHandlerChannelLogHelper.logConnectionAttempt[:107] - Attempting to open conversation to ACE_SCH@https://manager-example.com:17595/ using https socket
04/16/2026 18:15:37.511+0000 5 TCP/IP Controller Plugin.Transmitter pool thread <Regular:1>.CybTargetHandlerChannel.a[:1434] - Creating HTTPs connection
04/16/2026 18:15:40.726+0000 1 TCP/IP Controller Plugin.Transmitter pool thread <Regular:1>.CybTargetHandlerChannel.a[:1472] - Error connecting to D95_SCH:
   cybermation.library.communications.CybConversationConnectException: Connection failed to: <https://manager.example.com:17595/>. Connection reset
    at cybermation.commplugins.tcpip.handler.CybHttpsConnection.a(CybHttpsConnection.java:102)
    at cybermation.commplugins.tcpip.handler.CybHttpsConnection.getConnection(CybHttpsConnection.java:57)
    at cybermation.library.communications.CybConversation.<init>(CybConversation.java:345)
    at cybermation.commplugins.tcpip.handler.CybTargetHandlerChannel.a(CybTargetHandlerChannel.java:1439)
    at cybermation.commplugins.tcpip.handler.CybTargetHandlerChannel.call(CybTargetHandlerChannel.java:825)
    at cybermation.commplugins.tcpip.handler.CybTargetHandlerChannel.call(CybTargetHandlerChannel.java:80)
    at cybermation.commplugins.tcpip.handler.CybTransmitterScheduler$CallableWrapper.call(CybTransmitterScheduler$CallableWrapper.java:397)
    at cybermation.commplugins.tcpip.handler.CybTransmitterScheduler$CallableWrapper.call(CybTransmitterScheduler$CallableWrapper.java:361)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:750)
 Caused by: javax.net.ssl.SSLException: Connection reset
    at sun.security.ssl.Alert.createSSLException(Alert.java:127)
    at sun.security.ssl.TransportContext.fatal(TransportContext.java:331)
    at sun.security.ssl.TransportContext.fatal(TransportContext.java:274)
    at sun.security.ssl.TransportContext.fatal(TransportContext.java:269)
    at sun.security.ssl.SSLTransport.decode(SSLTransport.java:138)
    at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1401)
    at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1309)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:440)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:197)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:167)
    at cybermation.commplugins.tcpip.handler.CybHttpsConnection.a(CybHttpsConnection.java:96)
    at cybermation.commplugins.tcpip.handler.CybHttpsConnection.getConnection(CybHttpsConnection.java:57)
    at cybermation.library.communications.CybConversation.<init>(CybConversation.java:345)
    at cybermation.commplugins.tcpip.handler.CybTargetHandlerChannel.a(CybTargetHandlerChannel.java:1439)
    at cybermation.commplugins.tcpip.handler.CybTargetHandlerChannel.call(CybTargetHandlerChannel.java:825)
    at cybermation.commplugins.tcpip.handler.CybTargetHandlerChannel.call(CybTargetHandlerChannel.java:80)
    at cybermation.commplugins.tcpip.handler.CybTransmitterScheduler$CallableWrapper.call(CybTransmitterScheduler$CallableWrapper.java:397)
    at cybermation.commplugins.tcpip.handler.CybTransmitterScheduler$CallableWrapper.call(CybTransmitterScheduler$CallableWrapper.java:361)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:750)
 
Addiitonal debug: 
Transmitter logs show similar reset on SSL layer when you enable SSL debug via agentparm.txt ->   oscomponent.jvm.x.options=-Djavax.net.debug=all
 
javax.net.ssl|SEVERE|1B|Transmitter pool thread <Regular:1>|2026-04-16 18:15:40.724 UTC|TransportContext.java:323|Fatal (UNEXPECTED_MESSAGE): Connection reset (
"throwable" : {
  java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:210)
      at java.net.SocketInputStream.read(SocketInputStream.java:141)
      at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:464)
      at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:165)
      at sun.security.ssl.SSLTransport.decode(SSLTransport.java:109)
      at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1401)
      at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1309)
      at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:440)
      at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:197)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:167)
      at cybermation.commplugins.tcpip.handler.CybHttpsConnection.a(Unknown Source)
      at cybermation.commplugins.tcpip.handler.CybHttpsConnection.getConnection(Unknown Source)
      at cybermation.library.communications.CybConversation.<init>(Unknown Source)
      at cybermation.commplugins.tcpip.handler.CybTargetHandlerChannel.a(Unknown Source)
      at cybermation.commplugins.tcpip.handler.CybTargetHandlerChannel.call(Unknown Source)
      at cybermation.commplugins.tcpip.handler.CybTargetHandlerChannel.call(Unknown Source)
      at cybermation.commplugins.tcpip.handler.CybTransmitterScheduler$CallableWrapper.call(Unknown Source)
      at cybermation.commplugins.tcpip.handler.CybTransmitterScheduler$CallableWrapper.call(Unknown Source)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:750)}

)

Environment

AutoSys Agent 24.1.1/24.2 behind a proxy server

Cause

  • This typically occurs when the agent needs to reach the AutoSys server via a proxy, but the agent's Java runtime is not aware of the proxy settings.
  • The AutoSys agent uses the Java HttpURLConnection class for HTTPS communication.
  • If the network architecture requires the agent to communicate through a proxy, the standard Java JRE proxy settings must be explicitly defined in the agent's configuration.
  • Without these, the agent attempts a direct connection which is blocked or reset by the network

Resolution

  • To resolve this, configure the agent to use the appropriate proxy by adding Java system properties to the agentparm.txt file, replace the placeholders with your proxy details:

https.proxyHost=[PROXY_HOSTNAME]
https.proxyPort=[PROXY_PORT]
http.proxyHost=[PROXY_HOSTNAME]
http.proxyPort=[PROXY_PORT]

  • In some environments, you may need to enable specific tunneling or authentication schemes by adding:

jdk.http.auth.proxying.disabledSchemes=
jdk.http.auth.tunneling.disabledSchemes=

  • Save the changes to agentparm.txt and restart the agent service.

 

Additional Information

To enable the proxy tracing on the agent: 

  • Add a line similar to the following in agentparm.txt

java.util.logging.config.file=/opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT/logging.properties

  • Create a file loggin.properties with the following:

java.util.logging.ConsoleHandler.level=FINEST
sun.net.www.protocol.http.HttpURLConnection.level=FINEST
sun.net.www.protocol.http.level=FINEST
sun.net.www.http.level=FINEST

  • This will write the trace to to the nohup.stderr.


Apr 21, 2026 9:56:59 AM sun.net.www.protocol.http.HttpURLConnection plainConnect0
FINEST: ProxySelector Request for https://proxy-server-url.example.com:#####/
Apr 21, 2026 9:56:59 AM sun.net.www.protocol.https.HttpsClient New
FINEST: Looking for HttpClient for URL https://proxy-server-url.example.com:#####/ and proxy value of HTTP @ wakrb-squid:3130
Apr 21, 2026 9:56:59 AM sun.net.www.protocol.https.HttpsClient <init>
FINEST: Creating new HttpsClient with url:https://proxy-server-url.example.com:#####/ and proxy:HTTP @ wakrb-squid:3130 with connect timeout:-1
Apr 21, 2026 9:56:59 AM sun.net.www.protocol.http.HttpURLConnection plainConnect0
FINEST: Proxy used: HTTP @ wakrb-squid:3130
Apr 21, 2026 9:56:59 AM sun.net.www.protocol.http.HttpURLConnection sendCONNECTRequest
FINE: sun.net.www.MessageHeader@1a8137d15 pairs: {CONNECT proxy-server-url.example.com:##### HTTP/1.1: null}{User-Agent: Java/1.8.0_462}{Host: proxy-server-url.example.com:#####}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Proxy-Connection: keep-alive}
Apr 21, 2026 9:56:59 AM sun.net.www.protocol.http.HttpURLConnection doTunneling
FINE: sun.net.www.MessageHeader@22403e931 pairs: {null: HTTP/1.1 200 Connection established}