cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Sender: Connection refused

Former Member
0 Kudos

Hi experts,

We are running a scenario with a RFC Sender communication channel.

When the RFC is executed this error occurs in the Runtime Workbench:

Transmitting the message using connection HOSTNAME failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: java.net.ConnectException: Connection refused: connect

Our basis reported that the HOSTNAME value is incorrect, but could not tell where this information is configurated.

Can anybody tell where is this hostname configurated?

Is there any transaction to check the error?

Thanks anyway.

Accepted Solutions (1)

Accepted Solutions (1)

former_member182503
Active Contributor
0 Kudos

Hello David,

Is this "HOSTNAME" server name configured at your RFC Sender Communication Channel?

BTW, do you know the hostname and the connection parameters of the system that you're trying to connect to?

Best regards,

JN

Former Member
0 Kudos

Hi Jose,

The HOSTNAME is not the one informed in the communication channel configuration.

The communication channel is configurated with the address of a cluster with two servers each one having a diferent addres.

So, the communication looks right.

former_member182503
Active Contributor
0 Kudos

David,

is this hostname something like a URL or the value is exactly "HOSTNAME"?

You can do a simple test at your PI, creating a RFC Destination at SM59 with the same data of your CC and doing a "Connection Test".

Connection refused problems are usually related to network/credentials problems.

Best regards,

JN

Former Member
0 Kudos

José,

I am sorry for the bad information.

The referred HOSTNAME field contais an addres, wich is this: http://SERVER:8002/sap/xi/engine?type=entry

In thes addres, SERVER is filled with a wrong server name.

So, we are sure that the addres is wrong and we want to know where this information is configurated.

former_member182503
Active Contributor
0 Kudos

David,

now it makes some sense.

Check the transaction SXMB_ADM, option Integration Engine Configuration -> "Specific Configuration" at your PI system. Check if the IS_URL parameter (or it's RFC Destination at SM59) has the same value of the HOSTNAME field.

If the IS_URL parameter is pointing to wrong directions, you need to correct it.

Best regards,

JN

Former Member
0 Kudos

Jose,

The configurations in SXMB_ADM and SM59 are correct but are not the same that appears in the error message.

former_member182503
Active Contributor
0 Kudos

David,

check at your SLD server if the Integration Server PIPELINE url is correct.

Go to http://<server>:5<sysnumber>00/sld , then Business System, find your INTEGRATION_SERVER_<SID> and check the Pipeline URL parameter.

Best regards,

JN

sunil_singh13
Active Contributor
0 Kudos

David,

http://SERVER:8002/sap/xi/engine?type=entry is your integration pipeline URL which belongs to your XI box.

In trasaction SXMB_ADM there are two ways through which you can enter the pipeline URL for the corresponding IE of XI system.

1) By creating and RFC destination and referring that in field "Corresponding Integ. Server" and

2) By directlyspecifying the pipeline URL in above mentioned field

in your case the URL is entered using 2nd option that can be edited by an option Edit-> Change Global parameters.

it will allow you to change the server name.

Thanks,

Sunil Singh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The pipeline configuration is really wrong.

We will change this value and see what happen.

Thanks everybody for the help.