Skip to Content
0
Former Member
Sep 21, 2012 at 05:23 AM

DXC connection test failed

25 Views

Hi

I have configured DXC settings as per "Installation and Configuration Guide Extractor-based Data Acquisition by SAP HANA Direct Extractor" document

After setup with HANA, when i try to execute python script connectiion test is failed.
what could be checked here? any idea

Executing below command gives error

:/usr/XXX/HANAXX/connectiontest # python connectionTest.py --httpp
ort=8000 --dbpwd =11111111
Testing connectivity of url: http://localhost:8000/dxc/dxc.xscfunc
Using database user 'SYSTEM' and password '=111111111'
Sending first request (unauthorized)... done. Response status is 401 Unauthorized (as expected)
Sending second request (authorized)... done. Response status is 401 Unauthorized (unexpected)
--> please check if user credentials are correct (can be changed using parameters --dbuser and --dbpwd)
CONNECTION TEST FAILED: second request returned status 401 Unauthorized instead of 200 OK

I input correct password for SYSTEM user. anything has to be corrected in python script?

Regards