cancel
Showing results for 
Search instead for 
Did you mean: 

417 authorization cloud connector to trial subaccount cloud Foundry

cesar
Discoverer
0 Kudos

Hi Team

I created a new trial account with access to BTP. It has a global account and trial subaccount with dev space with cloud foundry instance created
02 - subaccount_02.jpg

 

with my User for trial BTP subaccount

01 - user_02.jpg

and the above data i tried to connect my local cloud connector (from my laptop in localhost:8443 ) to my new btp trial subaccount (cloud foundry feature set B)

01 - connecttion cloud connector_02.jpg
But I get this error:

01 - error cloud connector.jpg

 417 An authorization problem ocurred when downloading the configuration.  Check the spelling of the subaccount name, user, and password. See "Log And Trace Files"

The log shows generic authorization error:

2022-05-27 01:35:48,002 -0300#WARN#com.sap.ui5.resource.ResourceUtil#https-jsse-nio2-8443-exec-10# #An error occured when accessing the /META-INF/ui5.properties! Reason: The /META-INF/ui5.properties could not be found!
2022-05-27 01:35:48,027 -0300#WARN#com.sap.ui5.resource.ResourceServlet#https-jsse-nio2-8443-exec-10# #Could not find property "x-sap-ui5-BuildTimestamp" in ui5.properties or MANIFEST.MF or the value is not valid! Using System.currentTimeMillis as cachebuster timestamp.
2022-05-27 01:36:12,717 -0300#WARN#com.sap.scc.util.JvmUtils#https-jsse-nio2-8443-exec-8# #SAP JVM monitor classes are not available, run without extended monitoring. Root cause: java.lang.ClassNotFoundException: com.sap.jvm.monitor.vm.ThreadAnnotationKey
2022-05-27 01:36:12,722 -0300#INFO#com.sap.scc.rt#https-jsse-nio2-8443-exec-8# #JVM (without monitor classes) is loaded
2022-05-27 01:44:54,025 -0300#WARN#com.sap.scc.config#https-jsse-nio2-8443-exec-5# #Cannot find host mapping configuration file C:\SAP\scc20\scc_config\cf.us10.hana.ondemand.com\faxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxfe\backends.xml
2022-05-27 01:44:54,095 -0300#WARN#com.sap.scc.config#https-jsse-nio2-8443-exec-5# #Creating an sslContextProvider for account faxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxfe@cf.us10.hana.ondemand.com without SSLContext. Keystore did not contain a certificate.
2022-05-27 01:44:54,690 -0300#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-5# #TLSSocketFactory: enabled are TLSv1, TLSv1.1, TLSv1.2
2022-05-27 01:44:54,975 -0300#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-5# #Will retrieve Connectivity CA certificate from SAP Cloud Platform
2022-05-27 01:44:54,975 -0300#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-5# #Executing Http Get request to https://connectivitycertsigning.cf.us10.hana.ondemand.com:443/certificate/management/v1/trusted/ca/a...
2022-05-27 01:44:56,710 -0300#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-5# #Returned Http Response with code 200
2022-05-27 01:44:56,720 -0300#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-5# #Connectivity CA certificate retrieved successfully from SAP Cloud Platform
2022-05-27 01:45:19,005 -0300#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-5# #New RSA keypair was generated. Key size used 4096, time 21970 ms
2022-05-27 01:45:19,305 -0300#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-5# #Send Certificate Signing Request for Cloud Connector certificate to SAP Cloud Platform
2022-05-27 01:45:19,305 -0300#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-5# #Executing Http Post request to https://connectivitycertsigning.cf.us10.hana.ondemand.com:443/certificate/management/v1/sign/account/faxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxfe
2022-05-27 01:45:22,125 -0300#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-5# #Returned Http Response with code 401
2022-05-27 01:45:22,170 -0300#INFO#com.sap.scc.config#https-jsse-nio2-8443-exec-5# #Stopping service channels on faxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxfe[CCSTRL01LOC]@cf.us10.hana.ondemand.com
2022-05-27 01:45:22,220 -0300#ERROR#com.sap.scc#https-jsse-nio2-8443-exec-5# #SCC handshake failed: 401 — Unauthorized
com.sap.scc.servlets.SccHandshakeException: SCC handshake failed: 401 — Unauthorized

I have all the relevant authorizations in my subaccount, but nothing works
01 - authorizations_02.jpg

seems like I need something in my new btp trial subaccount, because i don't have any problems if I try to connect my local cloud connector to another subaccount.

also, I see the "Universal Id home page" when I login to my new btp trial account which I couldn't connect from my cloud connector.  

01 - user_id.jpg

 If I use my another btp account that i can connect with success through my cloud connector, i don't see the Universal Id home page.

I tried with note 2461997 and 2571763, but nothing works

I create my new BTP trial account following this steps https://developers.sap.com/tutorials/hcp-create-trial-account.html 

Any suggest? I will apreciate your comments.

Regards!








 

Margit_Wagner
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @AntalP , @cesar

We have received your request and are in the process of evaluating the problem,
Please allow for a delay in our response
Kind regards
Margit
 

View Entire Topic
markushaug
Product and Topic Expert
Product and Topic Expert

Hi Nicole,

in your package.json, you have to specify the URL for the API_BUSINESS_PARTNER destination:

 

  "requires": {
      "API_BUSINESS_PARTNER": {
        "kind": "odata",
        "model": "srv/external/API_BUSINESS_PARTNER",
        "credentials": {
          "url": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_BUSINESS_PARTNER/"
        }
      }
    },

Best regards,

Markus

nknight
Explorer
0 Kudos
I already have that in my package.json
nknight
Explorer
0 Kudos
nknight
Explorer
0 Kudos
Hi @markushaug, do you have any further suggestions on this please?