Service Callout connection Refused,Service Callout connection error while logging message on loggly

I am trying to log messages in Loggly:-

1. Using Message logging policy, I am able to send logs on Loggly.

2. When trying using service callout getting below error:-

{ "fault": { "faultstring": "Execution of ServiceCallout SC-Logging failed. Reason: Connection refused", "detail": { "errorcode": "steps.servicecallout.ExecutionFailed" } } }

Please suggest what is required?

,

I am trying to log messages on loggly.

1. Through Message Logging Policy it is working fine.

2. When trying to use service callout getting below error:-

{ "fault": { "faultstring": "Execution of ServiceCallout SC-Logging failed. Reason: Connection refused", "detail": { "errorcode": "steps.servicecallout.ExecutionFailed" } } }

Can you please suggest what is missing in service callout

0 1 293
1 REPLY 1

A ServiceCallout will fail if the remote service refuses the connection. This could occur for many reasons.

One possible reason: the TLS configuration is incorrect.

Have you verified that the ServiceCallout is using the appropriate TLS configuration for your Loggly endpoint?

If you have

Show us the configuration of the policy,

and also show us a curl command or some other indication of a known correct outbound message that is not rejected by Loggly.