cancel
Showing results for 
Search instead for 
Did you mean: 

DXC connection test failed

Former Member
0 Kudos

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

<Hostname>:/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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I accessed URL with hostname directly from IE from HANA studio side.

http://<xxxxxx>:8000/dxc/dxc.xscfunc

But now i can download the file.

I believe, we need to restart HANA service after DXC import.

but above error from Teraterm still exists...so i thaught of skipping it.

if anybody know how to make it connect successful mesage. pls let me know.