on 10-23-2019 3:53 AM
Hi guys,
I seem to have trouble deploying to SCP using the NEO SDK. Error as follows:
(!) ERROR: Wrong credentials. Enter correct user name and password. Note that your user will be locked after 5 consecutive failed authentication attempts.
FYI, this works when i'm not behind the corporate proxy and i've already set my proxy settings in the NEO SDK accordingly. I've also imported my companies certificates into the java cacerts file.
@Samuel Mok @Jonatan Schropel Did you find any solution to this issue.I am facing the same error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samuel Mok,
Do you face the issue with other commands that require authentication as well? or only when executing the deploy command?
regards,
Jonatan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samuel,
Have you configured your environment variables as described here:
Regards,
Jonatan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Some updates: My client's network team has to disable SSL for it to work. Not a good solution. Is there an alternative way with the SDK around this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samuel,
Could you please provide the additional log entries. From the log messages above we could not investigate.
Best regards,
Jonatan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jonatan,
Here's the full log:
2019-10-23 14:21:28,535 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Arguments: -host ap1.hana.ondemand.com --account pw2lafapbi --user smok --id mobxtest 2019-10-23 14:21:29,287 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Starting execution of command [display-mta] 2019-10-23 14:21:29,446 INFO [pool-2-thread-1] com.sap.jpaas.infrastructure.console.ConsoleLogger: No SDK status file for your configuration was found. Creating a new status file... 2019-10-23 14:21:30,111 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: There is no tools page available on host ap1.hana.ondemand.com. The default tools page on host hana.ondemand.com will be used instead. This is expected behaviour as some hosts do not have corresponding tools pages 2019-10-23 14:21:30,114 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Version validity check is completed 2019-10-23 14:21:30,115 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Command [display-mta] init() finished for [828] ms 2019-10-23 14:21:30,118 INFO [main] com.sap.cloud.lm.sl.hcp.client.cmd.SlServiceBaseCommand: Executing 'display-mta' with the following parameters 2019-10-23 14:21:30,118 INFO [main] com.sap.cloud.lm.sl.hcp.client.cmd.SlServiceBaseCommand: mta-id: mobxtest 2019-10-23 14:21:33,939 INFO [main] com.sap.cloud.lm.sl.hcp.client.utils.UrlBuilder: Appended SAP CP SL Service base domain to the host ULR 'slservice.ap1.hana.ondemand.com' 2019-10-23 14:21:34,144 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Command [display-mta] cleanup() finished for [0] ms 2019-10-23 14:21:34,147 FATAL [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: (!) ERROR: Wrong credentials. Enter correct user name and password. Note that your user will be locked after 5 consecutive failed authentication attempts. com.sap.jpaas.infrastructure.console.exception.SecurityException: Wrong credentials. Enter correct user name and password. Note that your user will be locked after 5 consecutive failed authentication attempts. at com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:207) at com.sap.jpaas.infrastructure.console.ConsoleClient.main(ConsoleClient.java:80) Caused by: com.sap.core.utils.infrastructure.validation.AuthenticationException: Wrong credentials. Enter correct user name and password. Note that your user will be locked after 5 consecutive failed authentication attempts. at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.validateHttpResponseStatus(LandscapeHostValidator.java:437) at com.sap.core.utils.infrastructure.validation.HttpResponseValidator.process(HttpResponseValidator.java:36) at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:139) at org.apache.http.protocol.HttpRequestExecutor.postProcess(HttpRequestExecutor.java:308) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:495) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) at com.sap.cloud.lm.sl.hcp.client.cmd.SlServiceBaseCommand.authorizeUser(SlServiceBaseCommand.java:75) at com.sap.cloud.lm.sl.hcp.client.cmd.SlServiceBaseCommand.getHttpClient(SlServiceBaseCommand.java:39) at com.sap.cloud.lm.sl.hcp.client.cmd.DisplayMTACommand.getInventoryClient(DisplayMTACommand.java:56) at com.sap.cloud.lm.sl.hcp.client.cmd.DisplayMTACommand.run(DisplayMTACommand.java:63) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:185) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:146) at com.sap.jpaas.infrastructure.console.ConsoleClient.executeCommand(ConsoleClient.java:243) at com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:185) ... 1 more
FYI, this is via the Cloud Platform Console Client. Logs are as below:
2019-10-23 14:21:33,939 INFO [main] com.sap.cloud.lm.sl.hcp.client.utils.UrlBuilder: Appended SAP CP SL Service base domain to the host ULR 'slservice.ap1.hana.ondemand.com' 2019-10-23 14:21:34,144 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Command [display-mta] cleanup() finished for [0] ms 2019-10-23 14:21:34,147 FATAL [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: (!) ERROR: Wrong credentials. Enter correct user name and password. Note that your user will be locked after 5 consecutive failed authentication attempts. com.sap.jpaas.infrastructure.console.exception.SecurityException: Wrong credentials. Enter correct user name and password. Note that your user will be locked after 5 consecutive failed authentication attempts. at com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:207) at com.sap.jpaas.infrastructure.console.ConsoleClient.main(ConsoleClient.java:80) Caused by: com.sap.core.utils.infrastructure.validation.AuthenticationException: Wrong credentials. Enter correct user name and password. Note that your user will be locked after 5 consecutive failed authentication attempts. at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.validateHttpResponseStatus(LandscapeHostValidator.java:437) at com.sap.core.utils.infrastructure.validation.HttpResponseValidator.process(HttpResponseValidator.java:36)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.