Android Studio starts failed without any error message - android-studio

Android Studio starts failed
My JDK is a OpenJDK 15 from RedHat with OpenJFX. I also tried OpenJDK 8 JRE, it doesn't work.
I tried reinstall it, disconnect Internet, add a line into idea.properties, problem still.
The file
%appdata%\..\Local\Google\AndroidStudio2020.3\log\idea.log
contains the following content:
2021-08-19 17:30:28,532 [ 835] INFO - STDERR -
2021-08-19 17:30:28,532 [ 835] INFO - STDERR - Start Failed
2021-08-19 17:30:28,532 [ 835] INFO - STDERR - Internal error. Please refer to https://code.google.com/p/android/issues
2021-08-19 17:30:28,532 [ 835] INFO - STDERR -
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - java.util.concurrent.CompletionException: java.net.BindException: Address already in use: bind
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1702)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/java.security.AccessController.doPrivileged(Native Method)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/java.lang.Thread.run(Thread.java:834)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - Caused by: java.net.BindException: Address already in use: bind
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/sun.nio.ch.Net.bind0(Native Method)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/sun.nio.ch.Net.bind(Net.java:455)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/sun.nio.ch.Net.bind(Net.java:447)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:134)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:550)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:506)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:491)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:248)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
2021-08-19 17:30:28,533 [ 836] INFO - STDERR - ... 1 more
2021-08-19 17:30:28,534 [ 837] INFO - STDERR -
2021-08-19 17:30:28,534 [ 837] INFO - STDERR - -----
2021-08-19 17:30:28,534 [ 837] INFO - STDERR - Your JRE: 11.0.10+0-b96-7249189 amd64 (Oracle Corporation)
2021-08-19 17:30:28,534 [ 837] INFO - STDERR - D:\Program Files\Android\Android Studio\jre
Actually the problem is solved by rebooting the computer, but I still wonder why this happened.

Eventually I fixed this problem by rebooting the computer.
It seems that this problem is caused by a port that Idea needs was already in use.

Related

Why the emulator process has terminated?

I just installed the latest Android Studio (Dolphin) and added an AVD (Pixel 4 API 31).
When launching the emulator, I run into the following error:
The emulator process has terminated
Here's the log details. I've tried suggestions like making sure the SDK build is at least 30.0.2 (it's 30.0.3), and launching in separate window, invalidating the cache and restarting... nothing helps.
2022-11-08 01:49:12,495 [ 296648] WARN - Emulator: Pixel 4 API 31 - unexpected system image feature string, emulator might not function correctly, please try updating the emulator.
2022-11-08 01:49:13,223 [ 297376] INFO - oject.common.GradleInitScripts - init script file sync.studio.tooling contents "initscript {\n dependencies {\n classpath files(['C:\\\\Program Files\\\\Android\\\\Android Studio\\\\plugins\\\\android\\\\lib\\\\android.jar', 'C:\\\\Program Files\\\\Android\\\\Android Studio\\\\plugins\\\\android\\\\lib\\\\android.jar', 'C:\\\\Program Files\\\\Android\\\\Android Studio\\\\lib\\\\kotlin-stdlib-1.5.10-release-949.jar'])\n }\n}\nallprojects {\n apply plugin: com.android.ide.gradle.model.builder.AndroidStudioToolingPlugin\n}\n"
2022-11-08 01:49:13,301 [ 297454] INFO - xecution.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: --init-script C:\Users\NUser\AppData\Local\Temp\ijmapper.gradle -Didea.sync.active=true -Didea.resolveSourceSetDependencies=true -Porg.gradle.kotlin.dsl.provider.cid=6451108675200 --init-script C:\Users\NUser\AppData\Local\Temp\sync.studio.tooling.gradle -Djava.awt.headless=true --stacktrace -Pandroid.injected.build.model.only=true -Pandroid.injected.build.model.only.advanced=true -Pandroid.injected.invoked.from.ide=true -Pandroid.injected.build.model.only.versioned=3 -Pandroid.injected.studio.version=2021.3.1 Patch 1 -Pandroid.injected.build.model.disable.src.download=true -Pidea.gradle.do.not.build.tasks=true -Dorg.gradle.internal.GradleProjectBuilderOptions=omit_all_tasks -Pkotlin.mpp.enableIntransitiveMetadataConfiguration=true --init-script C:\Users\NUser\AppData\Local\Temp\ijinit.gradle
2022-11-08 01:49:14,129 [ 298282] INFO - Emulator: Pixel 4 API 31 - Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag.
2022-11-08 01:49:14,129 [ 298282] INFO - Emulator: Pixel 4 API 31 - IPv4 server found: 192.168....
2022-11-08 01:49:14,129 [ 298282] INFO - Emulator: Pixel 4 API 31 - IPv6 DNS server found: 2600:1...::1
2022-11-08 01:49:14,129 [ 298282] INFO - Emulator: Pixel 4 API 31 - added library vulkan-1.dll
2022-11-08 01:49:14,129 [ 298282] INFO - Emulator: Pixel 4 API 31 - configAndStartRenderer: setting vsync to 60 hz
2022-11-08 01:49:14,129 [ 298282] INFO - Emulator: Pixel 4 API 31 - Sending adb public key [Q...A= #unknown]
2022-11-08 01:49:14,129 [ 298282] INFO - Emulator: Pixel 4 API 31 - injectedQemuChannel!
2022-11-08 01:49:14,130 [ 298283] INFO - Emulator: Pixel 4 API 31 - Informing listeners of injection.
2022-11-08 01:49:14,130 [ 298283] INFO - Emulator: Pixel 4 API 31 - Rootcanal has been activated.
2022-11-08 01:49:14,130 [ 298283] INFO - Emulator: Pixel 4 API 31 - HAX is working and emulator runs in fast virt mode.
2022-11-08 01:49:15,260 [ 299413] INFO - ab.VirtualDeviceChangeListener - emulator-5554 connected
2022-11-08 01:49:15,260 [ 299413] WARN - Emulator: Pixel 4 API 31 - *** No gRPC protection active, consider launching with the -grpc-use-jwt flag.***
2022-11-08 01:49:15,261 [ 299414] INFO - Emulator: Pixel 4 API 31 - Started GRPC server at 127.0.0.1:8554, security: Local, auth: none
2022-11-08 01:49:15,261 [ 299414] INFO - Emulator: Pixel 4 API 31 - Advertising in: C:\Users\NUser\AppData\Local\Temp\avd\running\pid_13412.ini
2022-11-08 01:49:15,331 [ 299484] INFO - Emulator: Pixel 4 API 31 - setDisplayConfigs w 1080 h 2280 dpiX 440 dpiY 440
2022-11-08 01:49:16,450 [ 300603] INFO - Emulator: Pixel 4 API 31 - VCPU shutdown request
2022-11-08 01:49:16,451 [ 300604] INFO - Emulator: Pixel 4 API 31 - VCPU shutdown request
2022-11-08 01:49:16,451 [ 300604] INFO - Emulator: Pixel 4 API 31 - VCPU shutdown request
2022-11-08 01:49:16,451 [ 300604] INFO - Emulator: Pixel 4 API 31 - VCPU shutdown request
2022-11-08 01:49:16,451 [ 300604] INFO - Emulator: Pixel 4 API 31 - VCPU shutdown request
2022-11-08 01:49:16,451 [ 300604] INFO - Emulator: Pixel 4 API 31 - Deleting snapshot default_boot
2022-11-08 01:49:16,454 [ 300607] INFO - Emulator: Pixel 4 API 31 - VCPU shutdown request
2022-11-08 01:49:17,442 [ 301595] INFO - Emulator: Pixel 4 API 31 - Closing down rootcanal.
2022-11-08 01:49:18,223 [ 302376] INFO - ab.VirtualDeviceChangeListener - emulator-5554 disconnected
2022-11-08 01:49:18,465 [ 302618] INFO - Emulator: Pixel 4 API 31 - Process finished with exit code 0
I deleted the Pixel4 emulator and created an emulator with following specs:
Pixel 6 API 25
Android 7.1.1 Google APIs | x86 (recommended default)
and that worked...
My issue got resolved when I changed the ABI setting from "x86_64" to "arm64-v8a"

How can we view the error logs which caused "Error while waiting for device: The emulator process for AVD Pixel_2_API_30 has terminated."

2022-05-05 07:44:41,561 [3360158] INFO - WindowsPerformanceHintsChecker - Windows Defender status: UNKNOWN_STATUS; projectDirExcluded? false
2022-05-05 07:44:41,594 [3360191] INFO - ild.invoker.GradleBuildInvoker - Gradle build finished in 949 ms
2022-05-05 07:44:41,594 [3360191] INFO - a.gradle.run.MakeBeforeRunTask - Couldn't get post build models.
2022-05-05 07:44:41,594 [3360191] INFO - a.gradle.run.MakeBeforeRunTask - Gradle invocation complete, success = true
2022-05-05 07:44:43,200 [3361797] INFO - manager.EmulatorProcessHandler - Emulator: init: Could not find wglGetExtensionsString! arbFound 0 listarbNull/empty 1 0 extFound 0 extNull/empty 1 0 remote 0
2022-05-05 07:44:43,219 [3361816] INFO - manager.EmulatorProcessHandler - Emulator: OpenGL Core Profile not supported.
2022-05-05 07:44:43,219 [3361816] INFO - manager.EmulatorProcessHandler - Emulator: ERROR | Could not find GLES 2.x config!
2022-05-05 07:44:43,219 [3361816] INFO - manager.EmulatorProcessHandler - Emulator: ERROR | Failed to obtain GLES 2.x extensions string!
2022-05-05 07:44:43,219 [3361816] INFO - manager.EmulatorProcessHandler - Emulator: ERROR | Could not initialize emulated framebuffer
2022-05-05 07:44:43,219 [3361816] INFO - manager.EmulatorProcessHandler - Emulator:
2022-05-05 07:44:43,235 [3361832] INFO - manager.EmulatorProcessHandler - Emulator: ERROR | Failed to open /qemu.conf, err: 2
2022-05-05 07:44:43,266 [3361863] INFO - manager.EmulatorProcessHandler - Emulator: INFO | added library vulkan-1.dll
2022-05-05 07:44:43,266 [3361863] INFO - manager.EmulatorProcessHandler - Emulator: HAX is working and emulator runs in fast virt mode.
2022-05-05 07:44:43,652 [3362249] INFO - b.PhysicalDeviceChangeListener - emulator-5554 connected
2022-05-05 07:44:43,685 [3362282] INFO - manager.EmulatorProcessHandler - Emulator: INFO | Started GRPC server at 127.0.0.1:8554, security: Local
2022-05-05 07:44:43,685 [3362282] INFO - manager.EmulatorProcessHandler - Emulator: INFO | Advertising in: C:\Users\DELL\AppData\Local\Temp\avd\running\pid_4740.ini
2022-05-05 07:44:43,746 [3362343] INFO - manager.EmulatorProcessHandler - Emulator: ERROR | OpenGLES emulation failed to initialize. Please consider the following troubleshooting steps:
2022-05-05 07:44:43,746 [3362343] INFO - manager.EmulatorProcessHandler - Emulator:
2022-05-05 07:44:43,746 [3362343] INFO - manager.EmulatorProcessHandler - Emulator: 1. Make sure your GPU drivers are up to date.
2022-05-05 07:44:43,746 [3362343] INFO - manager.EmulatorProcessHandler - Emulator:
2022-05-05 07:44:43,746 [3362343] INFO - manager.EmulatorProcessHandler - Emulator: 2. Erase and re-download the emulator ($ANDROID_SDK_ROOT/emulator).
2022-05-05 07:44:43,746 [3362343] INFO - manager.EmulatorProcessHandler - Emulator:
2022-05-05 07:44:43,746 [3362343] INFO - manager.EmulatorProcessHandler - Emulator: 3. Try software rendering: Go to Extended Controls > Settings > Advanced tab and change "OpenGL ES renderer (requires restart)" to "Swiftshader".
2022-05-05 07:44:43,746 [3362343] INFO - manager.EmulatorProcessHandler - Emulator:
2022-05-05 07:44:43,746 [3362343] INFO - manager.EmulatorProcessHandler - Emulator: Or, run emulator from command line with "-gpu swiftshader_indirect". 4. Please file an issue to https://issuetracker.google.com/issues?q=componentid:192727 and provide your complete CPU/GPU info plus OS and display setup.
2022-05-05 07:44:43,746 [3362343] INFO - manager.EmulatorProcessHandler - Emulator:
2022-05-05 07:44:43,761 [3362358] INFO - manager.EmulatorProcessHandler - Emulator: ERROR | crashhandler_die: fatal: OpenGLES emulation failed to initialize. Please consider the following troubleshooting steps:
2022-05-05 07:44:43,761 [3362358] INFO - manager.EmulatorProcessHandler - Emulator:
2022-05-05 07:44:43,761 [3362358] INFO - manager.EmulatorProcessHandler - Emulator: 1. Make sure your GPU drivers are up to date.
2022-05-05 07:44:43,761 [3362358] INFO - manager.EmulatorProcessHandler - Emulator:
2022-05-05 07:44:43,761 [3362358] INFO - manager.EmulatorProcessHandler - Emulator: 2. Erase and re-download the emulator ($ANDROID_SDK_ROOT/emulator).
2022-05-05 07:44:43,761 [3362358] INFO - manager.EmulatorProcessHandler - Emulator:
2022-05-05 07:44:43,761 [3362358] INFO - manager.EmulatorProcessHandler - Emulator: 3. Try software rendering: Go to Extended Controls > Settings > Advanced tab and change "OpenGL ES renderer (requires restart)" to "Swiftshader".
2022-05-05 07:44:43,761 [3362358] INFO - manager.EmulatorProcessHandler - Emulator:
2022-05-05 07:44:43,761 [3362358] INFO - manager.EmulatorProcessHandler - Emulator: Or, run emulator from command line with "-gpu swiftshader_indirect". 4. Please file an issue to https://issuetracker.google.com/issues?q=componentid:192727 and provide your complete CPU/GPU info plus OS and display setup.
2022-05-05 07:44:43,761 [3362358] INFO - manager.EmulatorProcessHandler - Emulator:
2022-05-05 07:44:45,156 [3363753] INFO - manager.EmulatorProcessHandler - Emulator: INFO | Android emulator version 31.2.10.0 (build_id 8420304) (CL:N/A)
2022-05-05 07:44:45,156 [3363753] INFO - manager.EmulatorProcessHandler - Emulator: Process finished with exit code -1073741819 (0xC0000005)
2022-05-05 07:44:45,156 [3363753] WARN - manager.EmulatorProcessHandler - Emulator terminated with exit code -1073741819
2022-05-05 07:44:45,326 [3363923] INFO - run.AndroidLogcatOutputCapture - stopAll()
2022-05-05 07:44:45,381 [3363978] INFO - b.PhysicalDeviceChangeListener - emulator-5554 disconnected
2022-05-05 07:44:52,171 [3370768] INFO - s.MemorySettingsRecommendation - recommendation based on machine: 1280, on project: 1280

Trying to run Django app on App Engine flex, getting Server 502 when accessing handler

I'm building a simple login page. You can log in using a Django account, or using Google Sign-In. I am trying to verify that you can log in using a Django account first.
It deploys correctly, and I can access the site properly.
But when I access Django /admin and key in the login credentials, aside from the fact that loading takes forever, I keep getting Server 502 Bad Gateway
The documentations only vaguely mentions all the way at the bottom that app.yaml might be configured incorrectly but I'm not experienced enough to tell which part isnt.
# [START runtime]
runtime: python
env: flex
entrypoint: gunicorn -b :$PORT [myproject.wsgi]
beta_settings:
cloud_sql_instances: [instance]:asia-east2:[project]
automatic_scaling:
min_num_instances: 1
max_num_instances: 1
max_concurrent_requests: 80
resources:
cpu: 1
memory_gb: 0.5
disk_size_gb: 10
runtime_config:
python_version: 3
# [END runtime]
Relevant Error Log:
2021-08-19 20:12:44 default[20210820t040009] "GET /admin/" 302
2021-08-19 20:12:44 default[20210820t040009] "GET /admin/login/?next=/admin/" 200
2021-08-19 20:12:44 default[20210820t040009] "GET /static/admin/css/nav_sidebar.css" 404
2021-08-19 20:12:44 default[20210820t040009] "GET /static/admin/css/responsive.css" 404
2021-08-19 20:12:44 default[20210820t040009] "GET /static/admin/css/login.css" 404
2021-08-19 20:12:44 default[20210820t040009] "GET /static/admin/css/base.css" 404
2021-08-19 20:12:44 default[20210820t040009] "GET /static/admin/js/nav_sidebar.js" 404
2021-08-19 20:13:24 default[20210820t040009] [2021-08-19 20:13:24 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:13)
2021-08-19 20:13:24 default[20210820t040009] [2021-08-19 20:13:24 +0000] [13] [INFO] Worker exiting (pid: 13)
2021-08-19 20:13:24 default[20210820t040009] [2021-08-19 20:13:24 +0000] [15] [INFO] Booting worker with pid: 15
2021-08-19 20:13:24 default[20210820t040009] "POST /admin/login/?next=/admin/" 502
2021-08-19 20:13:43 default[20210820t040009] "GET /nginx_metrics" 200
I'm not sure why. But I had to change details in my settings.py
I asked someone I knew who did a deployment to Google Cloud previously for reference.
After checking out the difference, the main thing was how the HOST was setup with regards to the DATABASE.
What I did was this.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '[DATABASE NAME]',
'HOST': '[IP Address based on Public IP on the Google Cloud SQL Instance]',
'USER': '[SQL USER]', # Cloud
'PASSWORD': '[SQL PASSWORD]', # Cloud
}
}
What they did was this.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '[DATABASE NAME]',
'HOST': '/cloudsql/[instance]:asia-east2:[project]',
'USER': '[SQL USER]', # Cloud
'PASSWORD': '[SQL PASSWORD]', # Cloud
}
}
The closest reference I could find in the document was here, specifically under Connect with Unix sockets
Once correctly configured, you can connect your service to your Cloud SQL instance's Unix domain socket accessed on the environment's filesystem at the following path: /cloudsql/INSTANCE_CONNECTION_NAME.
The instant I made the change and deployed, I could successfully access my Django backends.
This error usually means that the server was not able to proxy the request. There are a lot of possible problems to this so a good starting spot would be to execute this command to open up the error log and troubleshoot.
sudo tail -F /var/log/nginx/error.log

Cannot connect a Gateway or Microservice to the JHipster Registry. Jhipster v5.8.2

I'm having issues connecting a Gateway or Microservice to the Jhipster-registry using Jhipster's UAA. No custom code, or entities yet, just trying to get the generated applicaitons running.
I get the following error, basically the tokenInfoUri is not set and it can't create the ResourceServerProperties bean. But what I've gathered from reading the docs is that it doesn't need to be set?
The Class-Path manifest attribute in C:\Users\salom\.m2\repository\org\liquibase\liquibase-core\3.5.5\liquibase-core-3.5.5.jar referenced one or more files that do not exist: file:/C:/Users/salom/.m2/repository/org/liquibase/liquibase-core/3.5.5/lib/snakeyaml-1.13.
jar
18:09:23.012 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Included patterns for restart : []
18:09:23.017 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Excluded patterns for restart : [/spring-boot-actuator/target/classes/, /spring-boot-devtools/target/classes/, /spring-boot/target/classes/, /spring-boot-starter-[\w-]+/, /sprin
g-boot-autoconfigure/target/classes/, /spring-boot-starter/target/classes/]
18:09:23.018 [main] DEBUG org.springframework.boot.devtools.restart.ChangeableUrls - Matching URLs for reloading : [file:/C:/git/marqzman-tech/mirco/gateway/target/classes/]
██╗ ██╗ ██╗ ████████╗ ███████╗ ██████╗ ████████╗ ████████╗ ███████╗
██║ ██║ ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
██║ ████████║ ██║ ███████╔╝ ╚█████╗ ██║ ██████╗ ███████╔╝
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║
╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗
╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝
:: JHipster ? :: Running Spring Boot 2.0.8.RELEASE ::
:: https://www.jhipster.tech ::
2019-04-29 18:09:29.529 INFO 3896 --- [ restartedMain] com.marqzman.example.gateway.GatewayApp : The following profiles are active: dev,swagger
2019-04-29 18:09:32.720 DEBUG 3896 --- [ restartedMain] c.m.e.gateway.config.AsyncConfiguration : Creating Async Task Executor
2019-04-29 18:09:35.229 WARN 3896 --- [ restartedMain] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2019-04-29 18:09:40.293 DEBUG 3896 --- [ restartedMain] c.m.e.gateway.config.WebConfigurer : Registering CORS filter
2019-04-29 18:09:40.433 INFO 3896 --- [ restartedMain] c.m.e.gateway.config.WebConfigurer : Web application configuration, using profiles: dev
2019-04-29 18:09:40.435 INFO 3896 --- [ restartedMain] c.m.e.gateway.config.WebConfigurer : Web application fully configured
2019-04-29 18:09:40.554 DEBUG 3896 --- [ restartedMain] c.m.e.gateway.config.CacheConfiguration : Configuring Hazelcast
2019-04-29 18:09:40.590 DEBUG 3896 --- [ restartedMain] c.m.e.gateway.config.CacheConfiguration : Configuring Hazelcast clustering for instanceId: gateway
2019-04-29 18:09:40.591 DEBUG 3896 --- [ restartedMain] c.m.e.gateway.config.CacheConfiguration : Application is running with the "dev" profile, Hazelcast cluster will only work with localhost instances
2019-04-29 18:09:40.670 INFO 3896 --- [ restartedMain] com.netflix.discovery.DiscoveryClient : Initializing Eureka in region us-east-1
2019-04-29 18:09:41.318 INFO 3896 --- [ restartedMain] c.n.d.provider.DiscoveryJerseyProvider : Using JSON encoding codec LegacyJacksonJson
2019-04-29 18:09:41.319 INFO 3896 --- [ restartedMain] c.n.d.provider.DiscoveryJerseyProvider : Using JSON decoding codec LegacyJacksonJson
2019-04-29 18:09:41.575 INFO 3896 --- [ restartedMain] c.n.d.provider.DiscoveryJerseyProvider : Using XML encoding codec XStreamXml
2019-04-29 18:09:41.576 INFO 3896 --- [ restartedMain] c.n.d.provider.DiscoveryJerseyProvider : Using XML decoding codec XStreamXml
2019-04-29 18:09:42.152 INFO 3896 --- [ restartedMain] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration
2019-04-29 18:09:42.665 INFO 3896 --- [ restartedMain] com.netflix.discovery.DiscoveryClient : Disable delta property : false
2019-04-29 18:09:42.665 INFO 3896 --- [ restartedMain] com.netflix.discovery.DiscoveryClient : Single vip registry refresh property : null
2019-04-29 18:09:42.666 INFO 3896 --- [ restartedMain] com.netflix.discovery.DiscoveryClient : Force full registry fetch : false
2019-04-29 18:09:42.667 INFO 3896 --- [ restartedMain] com.netflix.discovery.DiscoveryClient : Application is null : false
2019-04-29 18:09:42.667 INFO 3896 --- [ restartedMain] com.netflix.discovery.DiscoveryClient : Registered Applications size is zero : true
2019-04-29 18:09:42.668 INFO 3896 --- [ restartedMain] com.netflix.discovery.DiscoveryClient : Application version is -1: true
2019-04-29 18:09:42.669 INFO 3896 --- [ restartedMain] com.netflix.discovery.DiscoveryClient : Getting all instance registry info from the eureka server
2019-04-29 18:09:42.915 INFO 3896 --- [ restartedMain] com.netflix.discovery.DiscoveryClient : The response status is 200
2019-04-29 18:09:42.918 INFO 3896 --- [ restartedMain] com.netflix.discovery.DiscoveryClient : Starting heartbeat executor: renew interval is: 5
2019-04-29 18:09:42.922 INFO 3896 --- [ restartedMain] c.n.discovery.InstanceInfoReplicator : InstanceInfoReplicator onDemand update allowed rate per min is 12
2019-04-29 18:09:42.928 INFO 3896 --- [ restartedMain] com.netflix.discovery.DiscoveryClient : Discovery Client initialized at timestamp 1556579382926 with initial instances count: 1
2019-04-29 18:09:43.001 INFO 3896 --- [ restartedMain] com.hazelcast.instance.AddressPicker : [LOCAL] [dev] [3.9.4] Picked [127.0.0.1]:13781, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=13781], bind any local is true
2019-04-29 18:09:43.018 INFO 3896 --- [ restartedMain] com.hazelcast.system : [127.0.0.1]:13781 [dev] [3.9.4] Hazelcast 3.9.4 (20180420 - b8001d5) starting at [127.0.0.1]:13781
2019-04-29 18:09:43.019 INFO 3896 --- [ restartedMain] com.hazelcast.system : [127.0.0.1]:13781 [dev] [3.9.4] Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
2019-04-29 18:09:43.019 INFO 3896 --- [ restartedMain] com.hazelcast.system : [127.0.0.1]:13781 [dev] [3.9.4] Configured Hazelcast Serialization version: 1
2019-04-29 18:09:43.315 INFO 3896 --- [ restartedMain] c.h.s.i.o.impl.BackpressureRegulator : [127.0.0.1]:13781 [dev] [3.9.4] Backpressure is disabled
2019-04-29 18:09:43.954 INFO 3896 --- [ restartedMain] com.hazelcast.instance.Node : [127.0.0.1]:13781 [dev] [3.9.4] Creating TcpIpJoiner
2019-04-29 18:09:44.162 INFO 3896 --- [ restartedMain] c.h.s.i.o.impl.OperationExecutorImpl : [127.0.0.1]:13781 [dev] [3.9.4] Starting 8 partition threads and 5 generic threads (1 dedicated for priority tasks)
2019-04-29 18:09:44.165 INFO 3896 --- [ restartedMain] c.h.internal.diagnostics.Diagnostics : [127.0.0.1]:13781 [dev] [3.9.4] Diagnostics disabled. To enable add -Dhazelcast.diagnostics.enabled=true to the JVM arguments.
2019-04-29 18:09:44.172 INFO 3896 --- [ restartedMain] com.hazelcast.core.LifecycleService : [127.0.0.1]:13781 [dev] [3.9.4] [127.0.0.1]:13781 is STARTING
2019-04-29 18:09:44.193 INFO 3896 --- [ restartedMain] com.hazelcast.system : [127.0.0.1]:13781 [dev] [3.9.4] Cluster version set to 3.9
2019-04-29 18:09:44.195 INFO 3896 --- [ restartedMain] c.h.internal.cluster.ClusterService : [127.0.0.1]:13781 [dev] [3.9.4]
Members {size:1, ver:1} [
Member [127.0.0.1]:13781 - e134aa74-39af-454e-aac9-6190ab4bad8b this
]
2019-04-29 18:09:44.233 INFO 3896 --- [ restartedMain] com.hazelcast.core.LifecycleService : [127.0.0.1]:13781 [dev] [3.9.4] [127.0.0.1]:13781 is STARTED
2019-04-29 18:09:44.271 DEBUG 3896 --- [ restartedMain] c.m.e.gateway.config.CacheConfiguration : Starting HazelcastCacheManager
2019-04-29 18:09:44.536 DEBUG 3896 --- [ restartedMain] c.m.e.g.config.LiquibaseConfiguration : Configuring Liquibase
2019-04-29 18:09:44.587 DEBUG 3896 --- [ restartedMain] org.postgresql.Driver : Loading driver configuration via classloader sun.misc.Launcher$AppClassLoader#73d16e93
2019-04-29 18:09:44.588 DEBUG 3896 --- [ restartedMain] org.postgresql.Driver : Connecting with URL: jdbc:postgresql://localhost:5431/gateway
2019-04-29 18:09:44.614 DEBUG 3896 --- [ restartedMain] o.p.core.v3.ConnectionFactoryImpl : Trying to establish a protocol version 3 connection to localhost:5431
2019-04-29 18:09:44.623 DEBUG 3896 --- [ restartedMain] o.p.core.v3.ConnectionFactoryImpl : Receive Buffer Size is 65,536
2019-04-29 18:09:44.624 DEBUG 3896 --- [ restartedMain] o.p.core.v3.ConnectionFactoryImpl : Send Buffer Size is 65,536
2019-04-29 18:09:44.734 WARN 3896 --- [eway-Executor-1] i.g.j.c.liquibase.AsyncSpringLiquibase : Starting Liquibase asynchronously, your database might not be ready at startup!
2019-04-29 18:09:44.739 DEBUG 3896 --- [onnection adder] org.postgresql.Driver : Connecting with URL: jdbc:postgresql://localhost:5431/gateway
2019-04-29 18:09:44.741 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Trying to establish a protocol version 3 connection to localhost:5431
2019-04-29 18:09:44.752 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Receive Buffer Size is 65,536
2019-04-29 18:09:44.753 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Send Buffer Size is 65,536
2019-04-29 18:09:44.831 DEBUG 3896 --- [onnection adder] org.postgresql.Driver : Connecting with URL: jdbc:postgresql://localhost:5431/gateway
2019-04-29 18:09:44.841 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Trying to establish a protocol version 3 connection to localhost:5431
2019-04-29 18:09:44.847 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Receive Buffer Size is 65,536
2019-04-29 18:09:44.855 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Send Buffer Size is 65,536
2019-04-29 18:09:44.867 DEBUG 3896 --- [onnection adder] org.postgresql.Driver : Connecting with URL: jdbc:postgresql://localhost:5431/gateway
2019-04-29 18:09:44.867 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Trying to establish a protocol version 3 connection to localhost:5431
2019-04-29 18:09:44.875 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Receive Buffer Size is 65,536
2019-04-29 18:09:44.876 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Send Buffer Size is 65,536
2019-04-29 18:09:44.885 DEBUG 3896 --- [onnection adder] org.postgresql.Driver : Connecting with URL: jdbc:postgresql://localhost:5431/gateway
2019-04-29 18:09:44.886 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Trying to establish a protocol version 3 connection to localhost:5431
2019-04-29 18:09:44.890 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Receive Buffer Size is 65,536
2019-04-29 18:09:44.891 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Send Buffer Size is 65,536
2019-04-29 18:09:44.906 DEBUG 3896 --- [onnection adder] org.postgresql.Driver : Connecting with URL: jdbc:postgresql://localhost:5431/gateway
2019-04-29 18:09:44.907 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Trying to establish a protocol version 3 connection to localhost:5431
2019-04-29 18:09:44.914 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Receive Buffer Size is 65,536
2019-04-29 18:09:44.915 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Send Buffer Size is 65,536
2019-04-29 18:09:44.923 DEBUG 3896 --- [onnection adder] org.postgresql.Driver : Connecting with URL: jdbc:postgresql://localhost:5431/gateway
2019-04-29 18:09:44.925 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Trying to establish a protocol version 3 connection to localhost:5431
2019-04-29 18:09:44.945 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Receive Buffer Size is 65,536
2019-04-29 18:09:44.948 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Send Buffer Size is 65,536
2019-04-29 18:09:44.976 DEBUG 3896 --- [onnection adder] org.postgresql.Driver : Connecting with URL: jdbc:postgresql://localhost:5431/gateway
2019-04-29 18:09:44.977 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Trying to establish a protocol version 3 connection to localhost:5431
2019-04-29 18:09:44.984 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Receive Buffer Size is 65,536
2019-04-29 18:09:44.985 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Send Buffer Size is 65,536
2019-04-29 18:09:45.001 DEBUG 3896 --- [onnection adder] org.postgresql.Driver : Connecting with URL: jdbc:postgresql://localhost:5431/gateway
2019-04-29 18:09:45.001 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Trying to establish a protocol version 3 connection to localhost:5431
2019-04-29 18:09:45.014 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Receive Buffer Size is 65,536
2019-04-29 18:09:45.014 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Send Buffer Size is 65,536
2019-04-29 18:09:45.029 DEBUG 3896 --- [onnection adder] org.postgresql.Driver : Connecting with URL: jdbc:postgresql://localhost:5431/gateway
2019-04-29 18:09:45.030 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Trying to establish a protocol version 3 connection to localhost:5431
2019-04-29 18:09:45.048 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Receive Buffer Size is 65,536
2019-04-29 18:09:45.050 DEBUG 3896 --- [onnection adder] o.p.core.v3.ConnectionFactoryImpl : Send Buffer Size is 65,536
2019-04-29 18:09:45.238 INFO 3896 --- [y.HealthMonitor] c.h.internal.diagnostics.HealthMonitor : [127.0.0.1]:13781 [dev] [3.9.4] processors=8, physical.memory.total=31.8G, physical.memory.free=7.5G, swap.space.total=44.9G, swap.space.free=4.6G, heap.memory.used=
383.6M, heap.memory.free=713.9M, heap.memory.total=1.1G, heap.memory.max=7.1G, heap.memory.used/total=34.95%, heap.memory.used/max=5.30%, minor.gc.count=9, minor.gc.time=132ms, major.gc.count=3, major.gc.time=254ms, load.process=85.94%, load.system=89.65%, load.sys
temAverage=n/a thread.count=61, thread.peakCount=61, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0, executor.q.client.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.s
ize=0, executor.q.priorityOperation.size=0, operations.completed.count=1, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0, operations.running.count=0, operations.pending.invocations.percentage=0.00%
, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=0, connection.active.count=0, client.connection.count=0, connection.count=0
2019-04-29 18:09:46.031 DEBUG 3896 --- [eway-Executor-1] i.g.j.c.liquibase.AsyncSpringLiquibase : Liquibase has updated your database in 1294 ms
2019-04-29 18:09:46.600 INFO 3896 --- [ restartedMain] c.h.h.HazelcastCacheRegionFactory : Starting up HazelcastCacheRegionFactory
2019-04-29 18:09:46.602 INFO 3896 --- [ restartedMain] c.h.h.i.IHazelcastInstanceFactory : Using existing HazelcastInstance [gateway].
2019-04-29 18:09:48.037 INFO 3896 --- [tbeatExecutor-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_GATEWAY/gateway:7bd9d6c91e1e73eae650ab0eb809f25e - Re-registering apps/GATEWAY
2019-04-29 18:09:48.038 INFO 3896 --- [tbeatExecutor-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_GATEWAY/gateway:7bd9d6c91e1e73eae650ab0eb809f25e: registering service...
2019-04-29 18:09:48.163 INFO 3896 --- [tbeatExecutor-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_GATEWAY/gateway:7bd9d6c91e1e73eae650ab0eb809f25e - registration status: 204
2019-04-29 18:09:48.322 DEBUG 3896 --- [ restartedMain] .m.e.g.c.o.OAuth2JwtAccessTokenConverter : Public key retrieved from OAuth2 server to create SignatureVerifier
2019-04-29 18:09:50.273 WARN 3896 --- [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating be
an with name 'org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfiguration': Unsatisfied dependency expressed through field 'tokenServices'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerTokenServicesConfiguration$RemoteTokenServicesConfiguration$TokenInfoServicesConfiguration': Unsatisfied dependency expressed through constructor parameter
0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceServerProperties': Invocation of init method failed; nested exception is java.lang.IllegalStateException: org.springframework.validation.BindExce
ption: org.springframework.validation.BeanPropertyBindingResult: 1 errors
Field error in object 'resourceServerProperties' on field 'tokenInfoUri': rejected value [null]; codes [missing.tokenInfoUri.resourceServerProperties.tokenInfoUri,missing.tokenInfoUri.tokenInfoUri,missing.tokenInfoUri.java.lang.String,missing.tokenInfoUri]; argumen
ts []; default message [Missing tokenInfoUri and userInfoUri and there is no JWT verifier key]
2019-04-29 18:09:50.290 INFO 3896 --- [ restartedMain] c.h.h.HazelcastCacheRegionFactory : Shutting down HazelcastCacheRegionFactory
2019-04-29 18:09:50.291 WARN 3896 --- [ restartedMain] c.h.h.i.IHazelcastInstanceFactory : hibernate.cache.hazelcast.shutdown_on_session_factory_close property is set to 'false'. Leaving current HazelcastInstance active! (Warning: Do not disable Hazelcast
hazelcast.shutdownhook.enabled property!)
2019-04-29 18:09:50.294 INFO 3896 --- [ restartedMain] com.hazelcast.core.LifecycleService : [127.0.0.1]:13781 [dev] [3.9.4] [127.0.0.1]:13781 is SHUTTING_DOWN
2019-04-29 18:09:50.298 INFO 3896 --- [ restartedMain] com.hazelcast.instance.Node : [127.0.0.1]:13781 [dev] [3.9.4] Shutting down connection manager...
2019-04-29 18:09:50.300 INFO 3896 --- [ restartedMain] com.hazelcast.instance.Node : [127.0.0.1]:13781 [dev] [3.9.4] Shutting down node engine...
2019-04-29 18:09:50.308 INFO 3896 --- [ restartedMain] com.hazelcast.instance.NodeExtension : [127.0.0.1]:13781 [dev] [3.9.4] Destroying node NodeExtension.
2019-04-29 18:09:50.309 INFO 3896 --- [ restartedMain] com.hazelcast.instance.Node : [127.0.0.1]:13781 [dev] [3.9.4] Hazelcast Shutdown is completed in 11 ms.
2019-04-29 18:09:50.310 INFO 3896 --- [ restartedMain] com.hazelcast.core.LifecycleService : [127.0.0.1]:13781 [dev] [3.9.4] [127.0.0.1]:13781 is SHUTDOWN
2019-04-29 18:09:50.326 INFO 3896 --- [ restartedMain] c.m.e.gateway.config.CacheConfiguration : Closing Cache Manager
2019-04-29 18:09:50.338 INFO 3896 --- [ restartedMain] com.netflix.discovery.DiscoveryClient : Shutting down DiscoveryClient ...
2019-04-29 18:09:50.344 WARN 3896 --- [ restartedMain] .s.c.a.CommonAnnotationBeanPostProcessor : Invocation of destroy method failed on bean with name 'scopedTarget.eurekaClient': org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating
bean with name 'eurekaInstanceConfigBean': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
2019-04-29 18:09:50.390 ERROR 3896 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Binding to target org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties#538c2e1c failed:
Property: resourceServerProperties.tokenInfoUri
Value: null
Reason: Missing tokenInfoUri and userInfoUri and there is no JWT verifier key
Action:
Update your application's configuration
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:05 min
[INFO] Finished at: 2019-04-29T18:09:50-05:00
[INFO] ------------------------------------------------------------------------
Steps to reproduce:
Install latest version of JHipster (v5.8.2)
Generate the UAA app
Generate the Gateway app
Start the registry
Start the UAA (It successfully registers)
Start the Gateway
See it fail
Fixed: I upgraded the generator to 6.0.1 and the issue has been resolved.

Karaf client failes to connect to a server under linux

I am trying to access an opendaylight server running on Linux in a back round process.
I am running a distribution-karaf-0.2.1-Helium-SR1.
From what I understand in case you are trying to connect from the same machine all you need to do is run
./client and the connection will be done.
However all I get is :
[root#d20-srv-81-32 bin]# ./client
Logging in as karaf
258 [pool-2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /0.0.0.0:8101 presented unverified key:
[root#d20-srv-81-32 bin]#
When I to try to connect using a simple ssh:
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf#localhost
the operation is successful.
Has any one encountered the issue?
more info ./client -v result
[root#d20-srv-81-32 bin]# ./client -v
23 [main] INFO org.apache.sshd.common.util.SecurityUtils - BouncyCastle not registered, using the default JCE provider
207 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Session created...
Logging in as karaf
215 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Server version string: SSH-2.0-SSHD-CORE-0.12.0
216 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Received SSH_MSG_KEXINIT
227 [pool-2-thread-1] INFO org.apache.sshd.client.kex.DHG1 - Send SSH_MSG_KEXDH_INIT
234 [pool-2-thread-2] INFO org.apache.sshd.client.kex.DHG1 - Received SSH_MSG_KEXDH_REPLY
241 [pool-2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /0.0.0.0:8101 presented unverified key:
241 [pool-2-thread-2] INFO org.apache.sshd.client.session.ClientSessionImpl - Received SSH_MSG_NEWKEYS
245 [pool-2-thread-2] INFO org.apache.sshd.client.session.ClientSessionImpl - Send SSH_MSG_SERVICE_REQUEST for ssh-userauth
248 [main] INFO org.apache.sshd.client.auth.UserAuthAgent - Send SSH_MSG_USERAUTH_REQUEST for publickey
256 [pool-2-thread-5] INFO org.apache.sshd.client.auth.UserAuthAgent - Received SSH_MSG_USERAUTH_SUCCESS
306 [main] INFO org.apache.sshd.client.channel.ChannelShell - Send SSH_MSG_CHANNEL_OPEN on channel 101
307 [pool-2-thread-2] INFO org.apache.sshd.client.channel.ChannelShell - Send agent forwarding request
308 [pool-2-thread-2] INFO org.apache.sshd.client.channel.ChannelShell - Send SSH_MSG_CHANNEL_REQUEST pty-req
308 [pool-2-thread-2] INFO org.apache.sshd.client.channel.ChannelShell - Send SSH_MSG_CHANNEL_REQUEST env
309 [pool-2-thread-2] INFO org.apache.sshd.client.channel.ChannelShell - Send SSH_MSG_CHANNEL_REQUEST shell
[root#d20-srv-81-32 bin]#
in the end the issue was caused because i used the zip release of open day light helium.
on the opendaylight download page there are two versions. one compressed as a zip and the other as tar.gz. from what i found there are system differences between them the zip is for windows and the tar for Linux.
when i deployed the tar version on Linux the issue did not reproduce.

Resources