cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Cloud Connector Issue Connecting to BTP TRIAL ACCOUNT - code 401

appydg
Discoverer
0 Kudos

I have a P USER ID connected to my SAP UNIVERSAL ID (email id). I am trying to define a sub account in the SAP CLOUD CONNECTOR for the BTP TRIAL sub account. The sub account has the admin role in the BTP Cockpit.

I used both - My Universal ID email and also my P User ID to set up the sub account. However none works. I keep getting the 401 error pointing to certificate . I have the relevant sections from Log File attached here. I am using Chrome Browser and tried clearing the browser cache, as mentioned in other posts but to no success.

One thing I noticed is that my Universal ID got locked indicating that some wrong credentials might be transferring form the cloud connector to BTP TRIAL sub account but am putting the right password in cloud connector.

I am on Mac.

screen-shot-2023-10-04-at-25203-pm.png

//connectivitycertsigning.cf.xxxxxx.ondemand.com:443/certificate/management/v1/sign/account/<subaccount>2023-10-03 14:59:19,843 -0400#DEBUG#org.apache.http.impl.conn.PoolingHttpClientConnectionManager#https-jsse-nio2-8443-exec-9# #Connection released: [id: 1][route: {s}->//connectivitycertsigning.cf.xxxxxx.ondemand.com:443][total available: 1; route allocated: 1 of 2; total allocated: 1 of 20]

2023-10-03 14:59:19,843 -0400#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-9# //connectivitycertsigning.cf.xxxxxx.ondemand.com:443/certificate/management/v1/sign/account/<subaccount> Returned Http Response with code 401

2023-10-03 14:59:19,846 -0400#DEBUG#org.apache.http.impl.conn.PoolingHttpClientConnectionManager#https-jsse-nio2-8443-exec-9# #Connection manager is shutting down

2023-10-03 14:59:19,847 -0400#DEBUG#org.apache.http.impl.conn.DefaultManagedHttpClientConnection#https-jsse-nio2-8443-exec-9# #http-outgoing-1: Close connection

2023-10-03 14:59:19,850 -0400#DEBUG#org.apache.http.impl.conn.PoolingHttpClientConnectionManager#https-jsse-nio2-8443-exec-9# #Connection manager shut down

2023-10-03 14:59:19,850 -0400#INFO#com.sap.scc.config#https-jsse-nio2-8443-exec-9# #Stopping enabled service channels on acbe5ff2-d605-47aa-b544-25ccdc00015f@cf.us10.hana.ondemand.com

2023-10-03 14:59:19,851 -0400#INFO#com.sap.scc.config#https-jsse-nio2-8443-exec-9# #Stopped enabled service channels on acbe5ff2-d605-47aa-b544-25ccdc00015f@cf.us10.hana.ondemand.com

2023-10-03 14:59:19,852 -0400#DEBUG#com.sap.scc.config#https-jsse-nio2-8443-exec-9# #Tunnel stopped

2023-10-03 14:59:19,874 -0400#INFO#com.sap.scc#https-jsse-nio2-8443-exec-9# #An error occurred when trying to connect. See 'Log And Trace Files' and in particular ljs_trace.log for details. Associated entries were logged on or around 2023-10-03 14:59:19,872 -0400.

com.sap.scc.servlets.RequestFailureExecution$InvalidConfiguration: An error occurred when trying to connect. See 'Log And Trace Files' and in particular ljs_trace.log for details. Associated entries were logged on or around 2023-10-03 14:59:19,872 -0400.

at com.sap.scc.ui.SubaccountControl.createSubaccount(SubaccountControl.java:120)

at com.sap.scc.servlets.ConfigurationServlet.addAccount(ConfigurationServlet.java:1430)

at com.sap.scc.servlets.ConfigurationServlet.dispatch(ConfigurationServlet.java:229)

at com.sap.scc.servlets.ServletUtilities.service(ServletUtilities.java:55)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:583)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)

at com.sap.scc.ui.rt.UTF8Filter.doFilter(UTF8Filter.java:22)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:598)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:682)

at com.sap.js.statistics.tomcat.valve.RequestTracingValve.callNextValve(RequestTracingValve.java:113)

at com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:59)

at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:27)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932)

at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1720)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)

at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1259)

at org.apache.tomcat.util.net.SecureNio2Channel$HandshakeWriteCompletionHandler.completed(SecureNio2Channel.java:121)

at org.apache.tomcat.util.net.SecureNio2Channel$HandshakeWriteCompletionHandler.completed(SecureNio2Channel.java:114)

at java.base/sun.nio.ch.Invoker.invokeUnchecked(Unknown Source)

at java.base/sun.nio.ch.Invoker.invokeDirect(Unknown Source)

at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implWrite(Unknown Source)

at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(Unknown Source)

at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(Unknown Source)

at org.apache.tomcat.util.net.SecureNio2Channel.handshakeInternal(SecureNio2Channel.java:302)

at org.apache.tomcat.util.net.SecureNio2Channel.handshake(SecureNio2Channel.java:222)

at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1697)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)

at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1259)

at org.apache.tomcat.util.net.SecureNio2Channel$HandshakeReadCompletionHandler.completed(SecureNio2Channel.java:104)

at org.apache.tomcat.util.net.SecureNio2Channel$HandshakeReadCompletionHandler.completed(SecureNio2Channel.java:97)

at java.base/sun.nio.ch.Invoker.invokeUnchecked(Unknown Source)

at java.base/sun.nio.ch.Invoker$2.run(Unknown Source)

at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(Unknown Source)

at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)

at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.base/java.lang.Thread.run(Unknown Source)

Caused by: com.sap.scc.servlets.SccHandshakeException: SCC handshake failed: 401 — Unauthorized

at com.sap.scc.cert.HttpCertificateManagementService.processRequest(HttpCertificateManagementService.java:143)

at com.sap.scc.cert.HttpCertificateManagementService.executePostRequest(HttpCertificateManagementService.java:120)

at com.sap.scc.cert.HttpCertificateManagementService.signCertificateForSCC(HttpCertificateManagementService.java:79)

at com.sap.scc.ui.SubaccountControl.applyConfig(SubaccountControl.java:187)

at com.sap.scc.ui.SubaccountControl.createSubaccount(SubaccountControl.java:115)

... 50 common frames omitted

moshenaveh
Community Manager
Community Manager
0 Kudos

Welcome to the SAP Community! Thank you for visiting us to get answers to your questions.

Since you're asking a question here for the first time, I'd like to offer some friendly advice on how to get the most out of your community membership and experience.

First, please see https://community.sap.com/resources/questions-and-answers, as this resource page provides tips for preparing questions that draw responses from our members. Secondly, feel free to take our Q&A tutorial at https://developers.sap.com/tutorials/community-qa.html as well, as that will help you when submitting questions to the community.

Finally, I recommend that you include a profile picture. By personalizing your profile, you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html.

I hope you find this advice useful, and we're happy to have you as part of SAP Community!

appydg
Discoverer
0 Kudos

Any input ? Thanks!!!!

Accepted Solutions (0)

Answers (1)

Answers (1)

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Well, what can we say? 401 means "user or password is incorrect". No other reason possible.