Connection Refused error being thrown - Gel Script
search cancel

Connection Refused error being thrown - Gel Script


Article ID: 255514


Updated On:


Clarity PPM On Premise Clarity PPM SaaS


The following error is being thrown by a Gel Script. It is trying to invoke the SOAP API of the application when this error gets thrown.

ERROR: null:317:84: <core:invoke> method send threw exception: Connection refused: connect


The script was fetching the SOAP API Endpoint based on the Scheduler URL. There were two nodes in the environment. One with the correct Scheduler URL and the other with an incorrect one, in the properties.xml. Whenever, the process executed on the node with the incorrect Scheduler URL, the Gel Script would fail.


Corrected the Scheduler URL.

Note that the specific script that was being used here referred to the Scheduler URL. However, there can be instances where the logic of the script refers to other fields from the properties.xml also.