Highlighted
Visitor.
798 views

Warning -26630: HTTP Status-Code=401 (Unauthorized)

Hi,

I am getting the follwoing error when replaying my script for looging to an application. Any pointer would be appreciated -

 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Action.c(97): Warning -26630: HTTP Status-Code=401 (Unauthorized) for "http://psnrlqw.abccorp.com:4455/idl/w3.extensibility/extension/com.informatica.tools.web.infaMenu.extensibleMenu" [MsgId: MWAR-26630]

This is the LR Code that is failing -

web_url("idl",
"URL=http://psnrlqw.abccorp.com:4455/idl/",
"Resource=0",
"RecContentType=text/html",
"Referer=http://psnrlqw.abccorp.com:4455/idl/web.isp/login",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,
"URL=w3.extensibility/extension/com.informatica.tools.web.page.extensiblePage", ENDITEM,
"URL=w3.extensibility/extension/com.informatica.tools.web.pageHeader.extensiblePageHeader", ENDITEM,
"URL=w3.extensibility/extension/com.informatica.tools.web.page.timeoutStrategy", ENDITEM,
"URL=w3.core/time?infaToken={infaToken}", ENDITEM,
"URL=w3.utils/images/processingdots.gif", ENDITEM,
"URL=w3.extensibility/extension/com.informatica.tools.web.shell.common.products", ENDITEM,
"URL=web.access/access/LDM_admin_edit_resource@undefined?infaToken={infaToken}&state=allowed", ENDITEM,
"URL=w3.extensibility/extension/com.informatica.tools.web.access.access", ENDITEM,
"URL=web.ldm.indexheader/images/user.svg", ENDITEM,
"URL=web.ldm.indexheader/images/help_global.svg", ENDITEM,
"URL=web.access/access/infaw.indexPage.indexHeader.searchBox@allowed?infaToken={infaToken}&state=allowed", ENDITEM,
"URL=w3.extensibility/extension/com.informatica.tools.web.common.commands", ENDITEM,
"URL=web.ldm.indexheader/images/configure.svg", ENDITEM,
"URL=web.ldm.core/images/search.svg", ENDITEM,
"URL=web.ldm.appconfig.access", ENDITEM,
"URL=w3.jQuery.ui/images/ui-bg_flat_100_ffffff_40x100.png", ENDITEM,
"URL=w3.extensibility/extension/com.informatica.tools.web.infaMenu.extensibleMenu", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.idl.common_1.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.idl.common_1.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.idl.appConfiguration_1.0.0", ENDITEM,
"URL=web.ldm.appconfig.metadata?type=attributes&pageSize=150&offset=0", ENDITEM,
"URL=web.access/access/ldm.AppConfig@allowed?infaToken={infaToken}&state=allowed", ENDITEM,
"URL=web.ldm.appconfig.metadata?type=packages/com.infa.appmodels.ldm/", ENDITEM,
"URL=web.ldm.appconfig.metadata?type=classes&pageSize=25&offset=0", ENDITEM,
"URL=web.ldm.appconfig.metadata?type=attributes&pageSize=150&offset=150", ENDITEM,
"URL=web.ldm.appconfig.metadata?type=classes&pageSize=25&offset=25", ENDITEM,
"URL=web.ldm.appconfig.metadata?type=classes&pageSize=25&offset=50", ENDITEM,
"URL=web.ldm.appconfig.metadata?type=classes&pageSize=25&offset=75", ENDITEM,
"URL=web.ldm.appconfig.metadata?type=classes&pageSize=25&offset=100", ENDITEM,
"URL=web.ldm.appconfig.metadata?type=classes&pageSize=25&offset=125", ENDITEM,
"URL=web.ldm.appconfig.metadata?type=dataTypes&ids=refDtInst:com.infa.appmodels.ldm.businessOwner,core.String,refDtInst:com.infa.appmodels.ldm.technicalOwner", ENDITEM,
"URL=w3.extensibility/extension/com.informatica.tools.web.workspace.extensibleWorkspaces", ENDITEM,
"URL=web.infaTabs/images/down_arrow.svg", ENDITEM,
"URL=w3.jQuery.ui/images/ui-icons_222222_256x240.png", ENDITEM,
"URL=w3.imf/iclass/?infaToken={infaToken}", ENDITEM,
"URL=web.idl.home/images/home_color.svg", ENDITEM,
"URL=web.ldm.search/images/search_color.svg", ENDITEM,
"URL=web.idl.myDatasets/images/my_datasets.svg", ENDITEM,
"URL=web.idl.projectsWS/images/projects_color.svg", ENDITEM,
"URL=web.access/access/home@workspace?infaToken={infaToken}&state=readOnly", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.infaRadiogroup_10.0.0", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.infaFilePicker_10.0.0", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.infaWizardDialog_10.0.0", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.idl.fileUploads_1.0.0", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.infaProgressbar_10.0.0", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.infaCheckbox_10.0.0", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.infaDataGrid_10.0.0", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.idl.projects_1.0.0", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.infaCards_1.0.0", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.ldm.enrichment_1.0.0", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.idl.publications_1.0.0", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.idl.fileUploadsv2_1.0.0", ENDITEM,
"URL=w3.core/resource/css/com.informatica.tools.web.idl.home_1.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.w3.idl.common_1.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.w3.idl.projects_1.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.infaWizardDialog_10.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.infaFilePicker_10.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.infaRadiogroup_10.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.infaCheckbox_10.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.infaProgressbar_10.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.idl.fileUploads_1.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.infaDataGrid_10.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.idl.fileUploadsv2_1.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.infaCards_1.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.idl.projects_1.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.idl.publications_1.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.ldm.enrichment_1.0.0", ENDITEM,
"URL=w3.core/resource/js/com.informatica.tools.web.idl.home_1.0.0", ENDITEM,
"URL=w3.extensibility/extension/com.informatica.tools.web.portlet.portletContainer", ENDITEM,
LAST);

 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Tried web_set_user("psnrlqw.abccorp.com\\Administrator", "Administrator", "psnrlqw.abccorp.com:4455"); but it didn't help.

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Re: Warning -26630: HTTP Status-Code=401 (Unauthorized)

Maybe try adding web_custom_request() to pass the user/pass in the "Body=" ?

0 Likes
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: Warning -26630: HTTP Status-Code=401 (Unauthorized)

Hello,

Http code 401 means the App server requires authentication but authentication failed.

You can try Runtime Settings->Internet Protocol -> Preferences -> Authentication, try different options under that category, e.g. Enable Integrated authentication / Use the Native Windows NTLN implementation

If the issue still not solved, turn on Log-> Extended Log -> Advanced trace, find the authentication traffics between App server and Vuser, so we can do further trouble shooting .

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.