cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ERROR => Read info from message server failed: HTTP code 404

former_member183788
Active Participant
0 Likes
10,377

Dear,

Sap web-dispatcher is not connecting to back-end system, it showing the below error.

ERROR => Read info from PRD message server sapprdcluster.awqaf.gov.kw failed: HTTP code 404, see also SAP note 1528396

dev_webdisp log:

---------------------------------------------------

trc file: "dev_webdisp", trc level: 1, release: "745"

---------------------------------------------------

sysno      00

sid        WDA

systemid   562 (PC with Windows NT)

relno      7450

patchlevel 0

patchno    14

intno      20151301

make       multithreaded, Unicode, 64 bit, optimized

profile    F:\usr\sap\WDA\SYS\profile\WDA_W00_AWQ-WEBDISP1

pid        3048

[Thr 572] Thu Jan 07 09:10:36 2016

[Thr 572] started security log to file ./dev_icm_sec

[Thr 572] SAP Web Dispatcher running on: AWQ-WEBDISP1.awqaf.gov.kw

[Thr 572] MtxInit: 30001 0 2

[Thr 572] ***LOG IM1=> IcmInit, Startup (SAP Web Dispatcher&AWQ-WEBDISP1.awqaf.gov.kw&3048&) [icxxman.c    1966]

[Thr 572] IcmInit: listening to admin port: 65000

[Thr 572] MPI: dynamic quotas disabled.

[Thr 572] MPI init: pipes=4000 buffers=2718 reserved=815 quota=10%

[Thr 572] CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Ext.

[Thr 572] CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Ext.

[Thr 572] IcrIAddSingleSystem: Added backend system: SID=JPR, MSHOST=sapprtlclus.awqaf.gov.kw, MSPORT=8100

[Thr 572] IcrIAddSingleSystem: Added backend system: SID=PRD, MSHOST=sapprdcluster.awqaf.gov.kw, MSPORT=8100

[Thr 572] *** ERROR => ERROR Parameter icm/HTTP/redirect_0 defined multiple times. [icxxcheckcon 2697]

[Thr 572] *** ERROR => ERROR Parameter icm/HTTP/redirect_1 defined multiple times. [icxxcheckcon 2697]

[Thr 572] *** ERROR => ERROR Parameter icm/server_port_0 defined multiple times. [icxxcheckcon 2697]

[Thr 572] *** ERROR => ERROR Parameter icm/server_port_1 defined multiple times. [icxxcheckcon 2697]

[Thr 572] *** ERROR => ERROR Parameter "icm/HTTP/redirect_2" is set to invalid value "PREFIX=/, FROMPORT=https, FOR=sapprdcluster.awqaf.gov.kw, TO=/sap/bc/webdynpro/sap/HRESS_A_MENU, PROT=https, HOST=sapprdcluster": Unknown sub parameter name: FROMPORT [icxxcheckcon 2697]

[Thr 572] IcrCoreInitSessionTable: Session table initialized

[Thr 1876] Adding HttpRedirectHandler: PREFIX=/,TO=/irj/portal,HOST=sapweb.awqaf.gov.kw

[Thr 1876] HttpISubHandlerAdd: Added handler HttpRedirectHandler(00000000024CB540), slot=0, flags=4098) for /, active: 1, table 00000000024796C0

[Thr 1876] Adding HttpRedirectHandler: PREFIX=/,TO=/irj/portal,HOST=sapweb.awqaf.gov.kw

[Thr 1876] HttpISubHandlerAdd: Added handler HttpRedirectHandler(00000000022FA250), slot=1, flags=4098) for /, active: 1, table 00000000024796C0

[Thr 1876] Adding HttpRedirectHandler: PREFIX=/, FROMPORT=https, FOR=sapprdcluster.awqaf.gov.kw, TO=/sap/bc/webdynpro/sap/HRESS_A_MENU, PROT=https, HOST=sapprdcluster

[Thr 1876] *** WARNING => IcmParseSubParam: unknown subparam "https" for parameter: PREFIX=/, FROMPORT=https, FOR=sapprdcluster.awqaf.gov.kw, TO=/sap/bc/webdynpro/sap/HRESS_A_MENU, PROT=https, HOST=sapprdcluster [icxxpara.c   644]

[Thr 1876] HttpISubHandlerAdd: Added handler HttpRedirectHandler(00000000022FA2D0), slot=2, flags=4098) for /, active: 1, table 00000000024796C0

[Thr 1876] Adding HttpAdminHandler: PREFIX=/sap/wdisp/admin,DOCROOT=F:\usr\sap\WDA\W00\data\icmandir,AUTHFILE=F:\usr\sap\WDA\SYS\global\security\data\icmauth.txt

[Thr 1876] HttpExtractArchive: files from archive F:\usr\sap\WDA\SYS\exe\uc\NTAMD64/wdispadmin.SAR in directory F:/usr/sap/WDA/W00/data/icmandir are up to date

[Thr 1876] HttpISubHandlerAdd: Added handler HttpAdminHandler(00000000024798F0), slot=3, flags=45061) for /sap/wdisp/admin, active: 1, table 00000000024796C0

[Thr 1876] Adding HttpModHandler: PREFIX=/

[Thr 1876] CsiInit(): Initializing the Content Scan Interface

[Thr 1876]            PC with Windows NT (mt,unicode,SAP_CHAR/size_t/void* = 16/64/64)

[Thr 1876] CsiInit(): CSA_LIB = "F:\usr\sap\WDA\SYS\exe\uc\NTAMD64\sapcsa.dll"

[Thr 1876] HttpISubHandlerAdd: Added handler HttpModHandler(0000000002479970), slot=4, flags=12293) for /, active: 1, table 00000000024796C0

[Thr 1876] Thu Jan 07 09:10:36 2016

[Thr 1876] Adding HttpAuthHandler: PREFIX=/,FILTER=SAP

[Thr 1876] HttpISubHandlerAdd: Added handler HttpAuthHandler(00000000078B5E50), slot=5, flags=12293) for /, active: 1, table 00000000024796C0

[Thr 1876] HttpISubHandlerAdd: Added handler HttpWebDispHandler(0000000017553470), slot=6, flags=1060869) for /, active: 1, table 00000000024796C0

[Thr 1876] WebSocketPlugInInit: WebSocket Plugin initialized

[Thr 1876] IcmAddHiddenService: Hidden service WEBSOCKETS started

[Thr 1876] =================================================

[Thr 1876] = SSL Initialization    platform tag=(ntamd64-msc18)

[Thr 1876] =   (745_REL,Oct 12 2015,mt,ascii-uc,SAP_UC/size_t/void* = 16/64/64)

[Thr 1876]   DIR_INSTANCE="F:\usr\sap\WDA\W00"

[Thr 1876]   DIR_LIBRARY="F:\usr\sap\WDA\SYS\exe\uc\NTAMD64"

[Thr 1876]   ssl/ssl_lib="F:\usr\sap\WDA\SYS\exe\uc\NTAMD64\sapcrypto.dll"

[Thr 1876]   profile param "ssl/ssl_lib" = "F:\usr\sap\WDA\SYS\exe\uc\NTAMD64\sapcrypto.dll"

[Thr 1876]            resulting Filename = "F:\usr\sap\WDA\SYS\exe\uc\NTAMD64\sapcrypto.dll"

[Thr 1876] =   disabled FIPS 140-2 crypto kernel

[Thr 1876] =   found CommonCryptoLib (SAPCRYPTOLIB) Version 8.4.41 pl40 (Aug 18 2015) MT-safe

[Thr 1876] =   current UserID: AWQAF\SAPServiceWDA

[Thr 1876] =   found SECUDIR environment variable

[Thr 1876] =   using SECUDIR=F:\usr\sap\WDA\W00\sec

[Thr 1876]   ssl/ciphersuites="HIGH:MEDIUM:+e3DES:!aNULL"

[Thr 1876]   ssl/client_ciphersuites="HIGH:MEDIUM:+e3DES:!aNULL"

[Thr 1876] =  secussl_Create_SSL_CTX():  PSE "F:\usr\sap\WDA\W00\sec\SAPSSLC.pse" not found,

[Thr 1876] =      using PSE "F:\usr\sap\WDA\W00\sec\SAPSSLS.pse" as fallback

[Thr 1876] =  secussl_Create_SSL_CTX():  PSE "F:\usr\sap\WDA\W00\sec\SAPSSLA.pse" not found,

[Thr 1876] =      using PSE "F:\usr\sap\WDA\W00\sec\SAPSSLS.pse" as fallback

[Thr 1876] ******** Warning ********

[Thr 1876] *** No SSL-client PSE "SAPSSLC.pse" available

[Thr 1876] *** -- this might limit SSL-client side connectivity

[Thr 1876] ********

[Thr 1876] = Success -- SapCryptoLib SSL ready!

[Thr 1876] =================================================

[Thr 1876]

[Thr 1876] Started service HOST=sapweb.awqaf.gov.kw,PORT=443,PROT=HTTPS,TIMEOUT=60,PROCTIMEOUT=60,VCLIENT=1

[Thr 1876] SSL settings: verify_client: 1, cache_size: -1, cache_lifetime: -1, credfile: SAPSSLS.pse, ciphers: default

[Thr 1876] IcmAddHiddenService: Hidden service WEBSOCKET started

[Thr 1876] Started service HOST=sapweb.awqaf.gov.kw,PORT=80,PROT=HTTP,TIMEOUT=60,PROCTIMEOUT=60

[Thr 572] IcmCreateWorkerThreads: created worker thread 0

[Thr 572] IcmCreateWorkerThreads: created worker thread 1

[Thr 572] IcmCreateWorkerThreads: created worker thread 2

[Thr 572] IcmCreateWorkerThreads: created worker thread 3

[Thr 572] IcmCreateWorkerThreads: created worker thread 4

[Thr 572] IcmCreateWorkerThreads: created worker thread 5

[Thr 572] IcmCreateWorkerThreads: created worker thread 6

[Thr 572] Thu Jan 07 09:10:36 2016

[Thr 572] IcmCreateWorkerThreads: created worker thread 7

[Thr 572] IcmCreateWorkerThreads: created worker thread 8

[Thr 572] IcmCreateWorkerThreads: created worker thread 9

[Thr 2820] IcmWatchDogThread: watchdog started

[Thr 1488] Thu Jan 07 09:10:38 2016

[Thr 1488] *** ERROR => Read info from PRD message server sapprdcluster.awqaf.gov.kw failed: HTTP code 404, see also SAP note 1528396 [icrxx.c      4205]

[Thr 572] *** SAP Web Dispatcher up and operational (pid: 3048, HTTP: 80, HTTPS: 443) ***

[Thr 572] ***LOG IM3=> SAP Web Dispatcher, Startup (SAP Web Dispatcher&3048&) [IoEngine.cpp 74]

[Thr 1924] Thu Jan 07 09:11:03 2016

[Thr 1924] *** ERROR => Read info from PRD message server sapprdcluster.awqaf.gov.kw failed: HTTP code 404, see also SAP note 1528396 [icrxx.c      4205]

View Entire Topic
Former Member
0 Likes

Hi Prathish,

Can you please paste the instance profile of web dispatcher.

With Regards

Ashutosh Chaturvedi

former_member183788
Active Participant
0 Likes

Dear Ashutosh,

Below the profile parameter:

SAPSYSTEMNAME = WDA

SAPGLOBALHOST = AWQ-WEBDISP1

SAPSYSTEM = 00

INSTANCE_NAME = W00

DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64

DIR_EXECUTABLE = $(DIR_CT_RUN)

DIR_PROFILE = $(DIR_INSTALL)\profile

_PF = $(DIR_PROFILE)\WDA_W00_AWQ-WEBDISP1

SETENV_00 = PATH=$(DIR_EXECUTABLE);%PATH%

#-----------------------------------------------------------------------

# Back-end system configuration

#-----------------------------------------------------------------------

wdisp/system_0 = SID=JPR, MSHOST=sapprtlclus.awqaf.gov.kw, MSPORT=8100

wdisp/system_1 = SID=PRD, MSHOST=sapprdcluster.awqaf.gov.kw, MSPORT=8100

#-----------------------------------------------------------------------

# Configuration of maximum number of concurrent connections

#-----------------------------------------------------------------------

icm/max_conn = 2000

#-----------------------------------------------------------------------

# SAP Web Dispatcher Ports

#-----------------------------------------------------------------------

icm/server_port_0 = PROT=HTTPS,PORT=443

icm/server_port_1 = PROT=HTTP,PORT=8005

#-----------------------------------------------------------------------

# SAP Web Dispatcher Administration

#-----------------------------------------------------------------------

icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=$(DIR_DATA)$(DIR_SEP)icmandir,AUTHFILE=$(icm/authfile)

#-----------------------------------------------------------------------

# Start webdispatcher

#-----------------------------------------------------------------------

_WD = $(DIR_EXECUTABLE)\sapwebdisp$(FT_EXE)

Restart_Program_00 = local $(_WD) pf=$(_PF)

SETENV_01 = SECUDIR=$(DIR_INSTANCE)/sec

#-----------------------------------------------------------------------

icm/log_level = 1

icm/HTTP/redirect_0 = PREFIX=/, FROMPORT=http, FOR=sapprtlclus, TO=/irj/portal, PROT=http, HOST=sapprtlclus

icm/HTTP/redirect_1 = PREFIX=/, FROMPORT=http, FOR=sapprdcluster.awqaf.gov.kw, TO=/sap/bc/webdynpro/sap/HRESS_A_MENU, PROT=https, HOST=sapprdcluster

icm/HTTP/redirect_2 = PREFIX=/, FROMPORT=https, FOR=sapprdcluster.awqaf.gov.kw, TO=/sap/bc/webdynpro/sap/HRESS_A_MENU, PROT=https, HOST=sapprdcluster

icm/server_port_0 = PROT=HTTPS,PORT=443,HOST=sapweb.awqaf.gov.kw

icm/HTTP/redirect_0 = PREFIX=/,TO=/irj/portal,HOST=sapweb.awqaf.gov.kw

icm/server_port_0 = PROT=HTTP,PORT=80,HOST=sapweb.awqaf.gov.kw

icm/HTTP/redirect_1 = PREFIX=/,TO=/irj/portal,HOST=sapweb.awqaf.gov.kw

Isaias_SAP
Product and Topic Expert
Product and Topic Expert
0 Likes

Dear Prathish,

The wdisp/system_X parameters seem to be ok...

Are you able to open the following URL at your computer?

http://sapprdcluster.awqaf.gov.kw:8100/msgserver/text/logon?version=1.2

And from the Web Dispatcher server?

Regards,

Isaías

former_member183788
Active Participant
0 Likes

Dear Isaias,

Am getting error as below:

Isaias_SAP
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

This is strange... I agree that the log states that the Message Server opened the HTTP port 8100.

But as you can see, it is an ABAP instance that is responding requests made to that port.

Did you configure the ICM to also use the port 8100?

Either that, or the hostname sapprdcluster.awqaf.gov.kw is not pointing to the Message Server host, but to an ABAP host.

Confirm that the hostname is pointing to the correct server.

Then logon to the ABAP instance and access the transaction SMICM, menu goto -> services.

If you have an HTTP port 8100 there as well, you need to change it (or change the HTTP port of the Message Server...).

Regards,

Isaías

former_member183788
Active Participant
0 Likes

Dear Isaias,

You said is right http is pointing to 8100, If i am changing the http port is there any issue for backend and frontend system.

Cluster parameter:

Isaias_SAP
Product and Topic Expert
Product and Topic Expert
0 Likes

Since the end users would perform the access though the Web Dispatcher, there would be no issues in changing the ICM port.

You can use RZ10 to change the port at the profile, and then use SMICM to change it dynamically, avoiding the need to restart the instance (notice that changes made through SMICM will be lost when SAP is restarted; that is why you also need to adjust the parameter through RZ10).

Isaias_SAP
Product and Topic Expert
Product and Topic Expert
0 Likes

Forgot to mention that you might need to restart the Message Server... To remove any "garbage" that could be left due to the port conflict (two processes using the same port, at the same time).

former_member183788
Active Participant
0 Likes

Dear Isaias,

If i am adding an new port ms/port for message server ex:8001 in backend server, it would affect backend frontend connectivity?

Users are still using  server name to access sap portal as below:

http://hostname:50100/irj/portal

If am adding a ms/port through RZ10, the issue will solve?

Isaias_SAP
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

Instead of changing the ICM port, you can change the ms/port.

Then, adjust the MSPORT argument at the parameter "wdisp/system_0", at the Web Dispatcher profile.

Your end users should perform the access through the Web Dispatcher only, not through the hostname/port of the backend systems.

Otherwise, why would you install a Web Dispatcher?

former_member183788
Active Participant
0 Likes

Dear Isaias,

I changed the parameter as below:

SE38 : RSM51000_CHANGE_PARAMETER

How can i set the parameter permanently in ABAP server?

While am opening the site in Internet Explorer am getting the below message:

If am clicking "Yes" the backend will not connect, But if "No", then backend  will work fine, should i have to create a "https" port for ABAP system?

former_member227283
Active Contributor
0 Likes

Dear Prathish,

Is your ASCS instance with cluster hostname and Primary application server with physical host name running on same host ?

Also can you share the instance ASCS instance and profile parameter on SDN please.

Regards,

Anil Bhandary

former_member183788
Active Participant
0 Likes

Anil,

Parameter is as blow:

former_member227283
Active Contributor
0 Likes

Please login to abap stack and then perfom the below steps to provide the parameter details

1. Goto SMMS tcode.

2. Select GOTO Menu --> Parameter --> Display

From the list of parameter provide the below details:

server host

server host (fqn)

ms/http_port

Regards,

Anil

former_member183788
Active Participant
0 Likes

Anil,

There is no parameter in ms/port in smms, i already checked it.

former_member227283
Active Contributor
0 Likes

If there is no ms/http_port present in SMMS, then can you let us know how you have determine HTTP Message server port ?

Basically SMMS tcode should show the MS/HTTP_PORT and SERVER HOST parameter with value

Regards,

Anil

Isaias_SAP
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

ms/http_port is deprecated.

The parameter is "ms/server_port_X", now, allowing you to define multiple ports (like in already existed in the ICM, with the parameter "icm/server_port_X")

You can change the existing parameter through the transaction RZ10, by editing the profile of the instance where the Message Server is running, or by manually editing the parameter (directly at operating system level).

Regards,

Isaías

former_member183788
Active Participant
0 Likes

Anil,

ms/server_port_<xx> is not there, its taking http port communication.


After Isaias reply i added ms/serverport as below:


SE38 : RSM51000_CHANGE_PARAMETER, then the connection to backend worked fine with http, not with https, am getting the error as above attached for Isaias.



Server parameter  

                                                

icm/host_name_full = SAPPRDCLUSTER.awqaf.gov.kw

SAPSYSTEMNAME = PRD

#old_value: SAPPRDCLUSTER                                                             

SAPGLOBALHOST = SAPPRDCLUSTER.awqaf.gov.kw

system/type = ABAP

SAPFQDN = awqaf.gov.kw

#old_value: $(SAPLOCALHOST).$(SAPFQDN)                                                   

#old_value: AWQ-ERPPRD1.awqaf.gov.kw                                                       

SAPLOCALHOSTFULL = $(SAPLOCALHOST).$(SAPFQDN)

rdisp/mshost = SAPPRDCLUSTER

rdisp/msserv = sapmsPRD

rdisp/msserv_internal = 3900

enque/process_location = REMOTESA

enque/serverhost = SAPPRDCLUSTER

enque/serverinst = 00

is/HTTP/show_detailed_errors = FALSE

icf/user_recheck = 1

gw/acl_mode = 1

icm/HTTP/ASJava/disable_url_session_tracking = TRUE

service/protectedwebmethods = SDEFAULT

rsec/ssfs_datapath = $(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data

rsec/ssfs_keypath = $(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key

enque/deque_wait_answer = TRUE

ssf/name = SAPSECULIB

#old_value: 000                                                                               

login/system_client = 300

SAPDBHOST = SQLPRDCLUSTER

dbms/type = mss

dbs/mss/server = SQLPRDCLUSTER

dbs/mss/dbname = PRD

dbs/mss/schema = prd

rsdb/ssfs_connect = 0

#  Added lines

DIR_PUT = F:\usr\sap\seem\SUM\abap

# *** PERMANENT 731 CHANGE ***

DIR_TRANS = \\$(SAPTRANSHOST)\sapmnt\trans

Isaias_SAP
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,


How can i set the parameter permanently in ABAP server?

You have to edit the instance profile (not the DEFAULT.PFL!) of the ASCS00 instance (should be PRD_ASCS00_SAPPRDCLUSTER).

Add the parameter there.

Most likely, the parameter "ms/server_port_0" will already exist there.

In this case, just change its "PORT" argument and restart the ASCS.

Then, edit the Web Dispatcher profile and set the "MSPORT" argument of the parameter "wdisp/system_1" to the same value you used at "PORT", at the ASCS profile.

I also see that you have shared the DEFAULT.PFL of the system.

You need to remove the parameter "icm/host_name_full" from it, or issues will occur.

Each SAP system must have its own, unique "icm/host_name_full". If this parameter is not set, it will take the value of SAPLOCALHOSTFULL.

The parameters SAPLOCALHOST and SAPLOCALHOSTFULL must also be unique at each instance.

Regards,

Isaías

former_member183788
Active Participant
0 Likes

Dear Isaias,

I updated the ms/server port, i am able to loginto the backend server without https, with https its still gives error.