cancel
Showing results for 
Search instead for 
Did you mean: 

Returns status code '500' (Internal Server Error) in response

Former Member
0 Kudos

Hi,

I got error like

HTTP connection to http://XXX.com:50600/sap/xi/cache?sap-client=001 returns status code '500' (Internal Server Error) in response

I did check this Discussion

But I don't understand can someone help me in detail.

Thanks

Kamal

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

I have a similar case, 500 response while testing RFC destination in NWA

Please update the correct resolultion.

Thanks,

Regards,

Tarun

Former Member
0 Kudos

Hi all,

when I check  sxmb_moni I got this error.

"Authorization error while sending by HTTP (error code: 401 , error text: Unauthorized)"

Is anybody know how to resolve?

Thanks,

Kamal

Former Member
0 Kudos

Hi Kamal,

Check the exchange profile and transaction SU01; try to reset the password of the User he might have used wrong password.

BTW what is your scenario?

Regards,

Mastan

Former Member
0 Kudos

Hi Kamal,

Normally error code 401 may occur due to unavailability of the end systems check if the system is down or USER is locked or don't have proper authorization of the user used at RFCDestinaiton to perform the action.

former_member184720
Active Contributor
0 Kudos

Hi Kamal - Please provide additional details..

Where are you getting this error?in PI /ECC?

what is your scenario?

former_member187010
Participant
0 Kudos

Hi Kamal,

There may be various root cause for 500 internal server error.

I'll tell you the root cause which i faced in my project.

For the one synchronous interface PI was successfully sending request to some web based application and were getting response against the request. But for few message response message goes in this error state(internal server error). Root cause was whenever there is data to be sent to PI from web based application message flow successfully but whenever that application was sending fault message structure due to any reason e.g. user doesn't have access to make the request in that application. This fault message structure was not handled in our project hence it went to error state.

So if every thing looks good from your side do check this once also.

Regards

Jitender

Former Member
0 Kudos

Hi All,

When I check RFC destination configuration with following information.


RFC Destination as "INTEGRATION_DIRECTORY_HMI"
Connection Type: H

Under Technical Setting TAB
Target Host: write the host name
Path Prefix: /dir/CacheRefresh
Service No: enter J2ee port no (e.g. 50000)

Under Logon/Security TAB
select Basic Authontication radio button
SSL select inactive

Under Logon:
Lang: EN
Client: enter client
User: XIISUSER
Password: *******

Under Special Option TAB
HTTP Setting:
HTTP Ver: HTTP 1.0
Compression: inactive
Compressed response: NO
HTTP Cookies: Yes (All)

This is the test result.

Status HTTP response : 403

Status text : Forbidden

Duration test call : 163 ms

Please help me.

Thanks,

Kamal

Harish
Active Contributor
0 Kudos

Hi Kamal,

Please check the below discussion

INTEGRATION_DIRECTORY_HMI 403 Forbidden | SCN

check the below sap note according to discussion

1894606 - HTTP errors in sxi_cache

1736729 - 403 Forbidden error in PI SXI_CACHE

former_member184720
Active Contributor
0 Kudos

Hi Kamal - As i suggested in the thread shared by Harish.. go to SXI_CACHE and hit F7.

this will tell you what is wrong with the configuration..

Former Member
0 Kudos

Hi Harish,

It will ask me userid and password.

Thanks,

kamal

Harish
Active Contributor
0 Kudos

Hi Kamal,

If the error is in connection test of rfc destination, then please check credential in Logon & secuirity tab.

you need check basic authentication and provide valid user id and password.

to access the SAP note you need market place user id and password. you can ask your basis team to register one user.

regards,

Harish

Bhargavakrishna
Active Contributor
0 Kudos

Hi Kamal,

Perform full cache refresh with user id "PIDIRUSER"

Check whether you gave the user "PIDIRUSER" in RFC destination "INTEGRATION_DIRECTORY_HMI".

http://host:port/CPACache/refresh?mode=full

Regards

Bhargava krishna

former_member184720
Active Contributor
0 Kudos

Hi Kamal - Did you execute the connection test for "INTEGRATION_DIRECTORY_HMI".

if the connection test is not successfull then compare your RFC destination configuration with

http://help.sap.com/saphelp_nwpi71/helpdata/EN/8f/770f41218ff023e10000000a155106/content.htm

Harish
Active Contributor
0 Kudos