sap-tutorials / Issues

Creative Commons Attribution 4.0 International
6 stars 4 forks source link

Use the Cloud Connector to Connect SAP HANA On-Premise to SAP HANA Cloud, SAP HANA Database #621

Closed dungvti closed 2 years ago

dungvti commented 3 years ago

Tutorials: https://developers.sap.com/tutorials/hana-cloud-mission-extend-08.html

When I defined a subaccount in step 4, I've got a errors:

417 An authorization problem occurred when downloading the configuration. Check the spelling of the subaccount name, user, and password. See ''Log And Trace Files'' and in particular ljs_trace.log for details. Consult SAP note 2461997 for possible remedies.

Here is log data:

2021-09-29 09:19:28,134 +0700#INFO#com.sap.scc.config#https-jsse-nio2-8443-exec-6# #Proxy update not required - no changed detected 2021-09-29 09:19:28,233 +0700#WARN#com.sap.scc.config#https-jsse-nio2-8443-exec-6# #Creating an sslContextProvider for account xxxx-xxxx-xxxx-xxxx@eu2.hana.ondemand.com without SSLContext. Keystore did not contain a certificate. 2021-09-29 09:19:28,237 +0700#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-6# #Will retrieve Connectivity CA certificate from SAP Cloud Platform 2021-09-29 09:19:28,237 +0700#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-6# #Executing Http Get request to https://connectivitycertsigning.eu2.hana.ondemand.com:443/certificate/management/v1/trusted/ca/account/xxxx-xxxx-xxxx-xxxx 2021-09-29 09:19:29,262 +0700#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-6# #Returned Http Response with code 401 2021-09-29 09:19:29,262 +0700#INFO#com.sap.scc.config#https-jsse-nio2-8443-exec-6# #Stopping service channels on xxxx-xxxx-xxxx-xxxx[demo]@eu2.hana.ondemand.com 2021-09-29 09:19:29,263 +0700#ERROR#com.sap.scc#https-jsse-nio2-8443-exec-6# #SCC handshake failed: 401 com.sap.scc.servlets.SccHandshakeException: SCC handshake failed: 401

How I fix it? Best regards, Dung

VijayKrishnanSR commented 2 years ago

Hi Dung,

Sorry for the late reply and thank you for your feedback. Our product experts have been notified about the issue. We will get back you soon with our suggestions. Sorry for the delay.

Regards, Vijay

dungvti commented 2 years ago

Hi Vijay, Thanks for your reply, hope to hear from you soon. Best regards, Dung

VijayKrishnanSR commented 2 years ago

Hi Dung, According to the response from our product expert, the issue could be with the password. "The tutorial only mentions password, but normally it also needs the 6 digit authenticator code as part of two-factor authentication". For example, your final password is : <6-digit code>

Do you have a 2-factor authentication activated for your account? Let me know if this helps.

Best regards, Vijay

dungvti commented 2 years ago

Hi Vijay, Currently, I'm using SAP BTP trial account not enable two-factor authentication and my BTP password is conform to password policy recommendations. Must enable two-factor authentication to resolve this error? Best regards, Dung

VijayKrishnanSR commented 2 years ago

Hi Dung, We would recommend you to try the 2-factor authentication, in this case. Let us know if that helps to resolve the issue completely.

Best regards, Vijay

dungvti commented 2 years ago

Hi Vijay, Sorry for my late reply. Currently, my team has pended this task so I cann't confirm it. I'll contact you later.

Best regards, Dung