AAI - WARN [SubscriptionService] Exception: : org.springframework.web.client.HttpServerErrorException: 504 Gateway Timeout

book

Article ID: 192657

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

Error seen in AAI logs:

WARN [SubscriptionService] Unable to deliver message

 

WARN [SubscriptionService] Exception: : org.springframework.web.client.HttpServerErrorException: 504 Gateway Timeout at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88) at org.springframework.web.client.AsyncRestTemplate.handleResponseError(AsyncRestTemplate.java:534) at org.springframework.web.client.AsyncRestTemplate.access$100(AsyncRestTemplate.java:70) at org.springframework.web.client.AsyncRestTemplate$ResponseExtractorFuture.adapt(AsyncRestTemplate.java:604) at org.springframework.web.client.AsyncRestTemplate$ResponseExtractorFuture.adapt(AsyncRestTemplate.java:581) at org.springframework.util.concurrent.FutureAdapter.adaptInternal(FutureAdapter.java:99) at org.springframework.util.concurrent.ListenableFutureAdapter$1.onSuccess(ListenableFutureAdapter.java:57) at org.springframework.util.concurrent.ListenableFutureCallbackRegistry.notifySuccess(ListenableFutureCallbackRegistry.java:73) at org.springframework.util.concurrent.ListenableFutureCallbackRegistry.success(ListenableFutureCallbackRegistry.java:138) at org.springframework.util.concurrent.ListenableFutureTask.done(ListenableFutureTask.java:72) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:384) at java.util.concurrent.FutureTask.set(FutureTask.java:233) at java.util.concurrent.FutureTask.run(FutureTask.java:274) at java.lang.Thread.run(Thread.java:748)

Environment

Release : 5.8.6

Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE

Resolution

This is not an issue on the AAI side, but rather indicates an error at the receiving end of the subscription service.

Check to make sure the receiving web service is available and not blocked by any firewall rules.