DomiStyle / docker-idrac6

iDRAC 6 web interface and VNC proxy
https://hub.docker.com/r/domistyle/idrac6/
MIT License
756 stars 135 forks source link

Connection failed #26

Closed timnovinger closed 4 years ago

timnovinger commented 4 years ago

I have two iDRAC 6 servers in my rack, a T610 and an R410.

Both are Enterprise iDRAC and I can connect to the normal iDRAC web interface on each.

I've set up both docker containers exactly the same way with the only variations of course being the internal IP address and names. Yet, only the R410 works. Every time I try to connect to the T610 via the web GUI at port 5800, it comes back with "Connection failed". I'm not doing anything fancy with ports or configs.

R410: port 5800:5800, port 5900:5900 T610: port 5801:5800, port 5901:5900

What could be the issue here? The firmware on the T610 is up to date and I just performed an iDRAC reset (as mentioned in another issue ticket) which did not help.

Below is the log output from the T610:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting xvfb...
[xvfb] starting...
[services.d] starting openbox...
[openbox] starting...
[services.d] starting statusmonitor...
[services.d] starting nginx...
[statusmonitor] no file to monitor: disabling service...
[services.d] starting logmonitor...
[nginx] starting...
[services.d] starting certsmonitor...
[logmonitor] no file to monitor: disabling service...
[services.d] starting x11vnc...
[services.d] starting app...
[certsmonitor] disabling service: secure connection not enabled.
[x11vnc] starting...
[app] starting T610...
Starting
Environment ok
Creating library folder
[services.d] done.
Downloading avctKVM
07/04/2020 01:22:52 passing arg to libvncserver: -rfbport
07/04/2020 01:22:52 passing arg to libvncserver: 5900
07/04/2020 01:22:52 passing arg to libvncserver: -rfbportv6
07/04/2020 01:22:52 passing arg to libvncserver: -1
07/04/2020 01:22:52 passing arg to libvncserver: -httpportv6
07/04/2020 01:22:52 passing arg to libvncserver: -1
07/04/2020 01:22:52 passing arg to libvncserver: -desktop
07/04/2020 01:22:52 passing arg to libvncserver: T610
07/04/2020 01:22:52 x11vnc version: 0.9.14 lastmod: 2015-11-14  pid: 765
07/04/2020 01:22:52 Using X display :0
07/04/2020 01:22:52 rootwin: 0x25c reswin: 0x400001 dpy: 0x241e910
07/04/2020 01:22:52
07/04/2020 01:22:52 ------------------ USEFUL INFORMATION ------------------
--2020-04-07 01:22:52--  https://192.168.2.11/software/avctKVM.jar
07/04/2020 01:22:52 X DAMAGE available on display, using it for polling hints.
07/04/2020 01:22:52   To disable this behavior use: '-noxdamage'
07/04/2020 01:22:52
07/04/2020 01:22:52   Most compositing window managers like 'compiz' or 'beryl'
07/04/2020 01:22:52   cause X DAMAGE to fail, and so you may not see any screen
07/04/2020 01:22:52   updates via VNC.  Either disable 'compiz' (recommended) or
07/04/2020 01:22:52   supply the x11vnc '-noxdamage' command line option.
07/04/2020 01:22:52 X COMPOSITE available on display, using it for window polling.
07/04/2020 01:22:52   To disable this behavior use: '-noxcomposite'
07/04/2020 01:22:52
07/04/2020 01:22:52 Wireframing: -wireframe mode is in effect for window moves.
07/04/2020 01:22:52   If this yields undesired behavior (poor response, painting
07/04/2020 01:22:52   errors, etc) it may be disabled:
07/04/2020 01:22:52    - use '-nowf' to disable wireframing completely.
07/04/2020 01:22:52    - use '-nowcr' to disable the Copy Rectangle after the
07/04/2020 01:22:52      moved window is released in the new position.
07/04/2020 01:22:52   Also see the -help entry for tuning parameters.
07/04/2020 01:22:52   You can press 3 Alt_L's (Left "Alt" key) in a row to
07/04/2020 01:22:52   repaint the screen, also see the -fixscreen option for
Connecting to 192.168.2.11:443... 07/04/2020 01:22:52   periodic repaints.
07/04/2020 01:22:52 GrabServer control via XTEST.
connected.
07/04/2020 01:22:52
07/04/2020 01:22:52 Scroll Detection: -scrollcopyrect mode is in effect to
07/04/2020 01:22:52   use RECORD extension to try to detect scrolling windows
07/04/2020 01:22:52   (induced by either user keystroke or mouse input).
07/04/2020 01:22:52   If this yields undesired behavior (poor response, painting
07/04/2020 01:22:52   errors, etc) it may be disabled via: '-noscr'
07/04/2020 01:22:52   Also see the -help entry for tuning parameters.
07/04/2020 01:22:52   You can press 3 Alt_L's (Left "Alt" key) in a row to
07/04/2020 01:22:52   repaint the screen, also see the -fixscreen option for
07/04/2020 01:22:52   periodic repaints.
07/04/2020 01:22:52
07/04/2020 01:22:52 XKEYBOARD: number of keysyms per keycode 7 is greater
07/04/2020 01:22:52   than 4 and 51 keysyms are mapped above 4.
07/04/2020 01:22:52   Automatically switching to -xkb mode.
07/04/2020 01:22:52   If this makes the key mapping worse you can
07/04/2020 01:22:52   disable it with the "-noxkb" option.
07/04/2020 01:22:52   Also, remember "-remap DEAD" for accenting characters.
07/04/2020 01:22:52
07/04/2020 01:22:52 X FBPM extension not supported.
07/04/2020 01:22:52 X display is not capable of DPMS.
07/04/2020 01:22:52 --------------------------------------------------------
07/04/2020 01:22:52
07/04/2020 01:22:52 Default visual ID: 0x21
07/04/2020 01:22:52 Read initial data from X display into framebuffer.
07/04/2020 01:22:52 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
07/04/2020 01:22:52
07/04/2020 01:22:52 X display :0 is 32bpp depth=24 true color
07/04/2020 01:22:52
07/04/2020 01:22:52 Listening for VNC connections on TCP port 5900
07/04/2020 01:22:52
07/04/2020 01:22:52 Xinerama is present and active (e.g. multi-head).
07/04/2020 01:22:52 Xinerama: number of sub-screens: 1
07/04/2020 01:22:52 Xinerama: no blackouts needed (only one sub-screen)
07/04/2020 01:22:52
07/04/2020 01:22:52 fb read rate: 791 MB/sec
07/04/2020 01:22:52 fast read: reset -wait  ms to: 10
07/04/2020 01:22:52 fast read: reset -defer ms to: 10
07/04/2020 01:22:52 The X server says there are 10 mouse buttons.
07/04/2020 01:22:52 screen setup finished.
07/04/2020 01:22:52

The VNC desktop is:      ab0dbf7801e1:0
PORT=5900

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval.  It should work with any VNC viewer.  Try it by running:

    x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching

WARNING: cannot verify 192.168.2.11's certificate, issued by 'CN=iDRAC6 default certificate,OU=Remote Access Group,O=Dell Inc.,L=Round Rock,ST=Texas,C=US':
  Self-signed certificate encountered.
    WARNING: certificate common name 'iDRAC6 default certificate' doesn't match requested host name '192.168.2.11'.
HTTP request sent, awaiting response... 200 OK
Length: 1006154 (983K) [application/octet-stream]
Saving to: 'avctKVM.jar'

     0K .......... .......... .......... .......... ..........  5%  320K 3s
    50K .......... .......... .......... .......... .......... 10%  316K 3s
   100K .......... .......... .......... .......... .......... 15%  256K 3s
   150K .......... .......... .......... .......... .......... 20%  314K 3s
   200K .......... .......... .......... .......... .......... 25%  319K 2s
   250K .......... .......... .......... .......... .......... 30%  247K 2s
   300K .......... .......... .......... .......... .......... 35%  319K 2s
   350K .......... .......... .......... .......... .......... 40%  320K 2s
   400K .......... .......... .......... .......... .......... 45%  263K 2s
   450K .......... .......... .......... .......... .......... 50%  312K 2s
   500K .......... .......... .......... .......... .......... 55%  258K 1s
   550K .......... .......... .......... .......... .......... 61%  323K 1s
   600K .......... .......... .......... .......... .......... 66%  320K 1s
   650K .......... .......... .......... .......... .......... 71%  291K 1s
   700K .......... .......... .......... .......... .......... 76%  283K 1s
   750K .......... .......... .......... .......... .......... 81%  313K 1s
   800K .......... .......... .......... .......... .......... 86%  261K 0s
   850K .......... .......... .......... .......... .......... 91%  322K 0s
   900K .......... .......... .......... .......... .......... 96%  243K 0s
   950K .......... .......... .......... ..                   100%  230K=3.4s

2020-04-07 01:22:58 (289 KB/s) - 'avctKVM.jar' saved [1006154/1006154]

Downloading avctKVMIOLinux64
--2020-04-07 01:22:58--  https://192.168.2.11/software/avctKVMIOLinux64.jar
Connecting to 192.168.2.11:443... connected.
WARNING: cannot verify 192.168.2.11's certificate, issued by 'CN=iDRAC6 default certificate,OU=Remote Access Group,O=Dell Inc.,L=Round Rock,ST=Texas,C=US':
  Self-signed certificate encountered.
    WARNING: certificate common name 'iDRAC6 default certificate' doesn't match requested host name '192.168.2.11'.
HTTP request sent, awaiting response... 200 OK
Length: 983672 (961K) [application/octet-stream]
Saving to: 'lib/avctKVMIOLinux64.jar'

     0K .......... .......... .......... .......... ..........  5%  319K 3s
    50K .......... .......... .......... .......... .......... 10%  318K 3s
   100K .......... .......... .......... .......... .......... 15%  244K 3s
   150K .......... .......... .......... .......... .......... 20%  319K 3s
   200K .......... .......... .......... .......... .......... 26%  322K 2s
   250K .......... .......... .......... .......... .......... 31%  261K 2s
   300K .......... .......... .......... .......... .......... 36%  323K 2s
   350K .......... .......... .......... .......... .......... 41%  139K 2s
   400K .......... .......... .......... .......... .......... 46%  321K 2s
   450K .......... .......... .......... .......... .......... 52%  323K 2s
   500K .......... .......... .......... .......... .......... 57%  253K 2s
   550K .......... .......... .......... .......... .......... 62%  323K 1s
   600K .......... .......... .......... .......... .......... 67%  315K 1s
   650K .......... .......... .......... .......... .......... 72%  275K 1s
   700K .......... .......... .......... .......... .......... 78%  320K 1s
   750K .......... .......... .......... .......... .......... 83%  324K 1s
   800K .......... .......... .......... .......... .......... 88%  278K 0s
   850K .......... .......... .......... .......... .......... 93%  318K 0s
   900K .......... .......... .......... .......... .......... 98%  320K 0s
   950K ..........                                            100%  300K=3.4s

2020-04-07 01:23:03 (284 KB/s) - 'lib/avctKVMIOLinux64.jar' saved [983672/983672]

Downloading avctVMLinux64
--2020-04-07 01:23:03--  https://192.168.2.11/software/avctVMLinux64.jar
Connecting to 192.168.2.11:443... connected.
WARNING: cannot verify 192.168.2.11's certificate, issued by 'CN=iDRAC6 default certificate,OU=Remote Access Group,O=Dell Inc.,L=Round Rock,ST=Texas,C=US':
  Self-signed certificate encountered.
    WARNING: certificate common name 'iDRAC6 default certificate' doesn't match requested host name '192.168.2.11'.
HTTP request sent, awaiting response... 200 OK
Length: 135203 (132K) [application/octet-stream]
Saving to: 'lib/avctVMLinux64.jar'

     0K .......... .......... .......... .......... .......... 37%  321K 0s
    50K .......... .......... .......... .......... .......... 75%  244K 0s
   100K .......... .......... .......... ..                   100%  317K=0.5s

2020-04-07 01:23:05 (286 KB/s) - 'lib/avctVMLinux64.jar' saved [135203/135203]

Extracting avctKVMIOLinux64
Extracting avctVMLinux64
Initialization complete, starting virtual console
Apr 07, 2020 1:23:07 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
Apr 07, 2020 1:23:07 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: java.io.IOException: Not a directory
04/07/2020 01:23:07:733: Starting client.
====setPowerMenuStatus: (##2)

ProtocolAPCP: Version [1.0]

04/07/2020 01:23:09:378:  Connection failed.
07/04/2020 01:23:28 Got connection from client 127.0.0.1
07/04/2020 01:23:28   other clients:
07/04/2020 01:23:28 Got 'ws' WebSockets handshake
07/04/2020 01:23:28 Got protocol: binary
07/04/2020 01:23:28   - webSocketsHandshake: using binary/raw encoding
07/04/2020 01:23:28   - WebSockets client version hybi-13
07/04/2020 01:23:28 Disabled X server key autorepeat.
07/04/2020 01:23:28   to force back on run: 'xset r on' (3 times)
07/04/2020 01:23:28 incr accepted_client=1 for 127.0.0.1:33038  sock=10
07/04/2020 01:23:28 Client Protocol Version 3.8
07/04/2020 01:23:28 Protocol version sent 3.8, using 3.8
07/04/2020 01:23:28 rfbProcessClientSecurityType: executing handler for type 1
07/04/2020 01:23:28 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
07/04/2020 01:23:28 copy_tiles: allocating first_line at size 41
07/04/2020 01:23:28 Pixel format for client 127.0.0.1:
07/04/2020 01:23:28   32 bpp, depth 24, little endian
07/04/2020 01:23:28   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
07/04/2020 01:23:28 no translation needed
07/04/2020 01:23:28 Enabling NewFBSize protocol extension for client 127.0.0.1
07/04/2020 01:23:28 Enabling full-color cursor updates for client 127.0.0.1
07/04/2020 01:23:28 Using image quality level 6 for client 127.0.0.1
07/04/2020 01:23:28 Using JPEG subsampling 0, Q79 for client 127.0.0.1
07/04/2020 01:23:28 Using compression level 9 for client 127.0.0.1
07/04/2020 01:23:28 Enabling LastRect protocol extension for client 127.0.0.1
07/04/2020 01:23:28 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
07/04/2020 01:23:28 Using tight encoding for client 127.0.0.1
07/04/2020 01:23:29 client_set_net: 127.0.0.1  0.0005
07/04/2020 01:23:29 created   xdamage object: 0x40002c
Apr 07, 2020 1:23:32 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs.  Unix error code 20.
Apr 07, 2020 1:23:32 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
[app] starting T610...
Starting
Environment ok
Extracting avctKVMIOLinux64
Extracting avctVMLinux64
Initialization complete, starting virtual console
Apr 07, 2020 1:23:34 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
Apr 07, 2020 1:23:34 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: java.io.IOException: Not a directory
04/07/2020 01:23:34:471: Starting client.
====setPowerMenuStatus: (##2)

ProtocolAPCP: Version [1.0]

04/07/2020 01:23:35:592:  Connection failed.
07/04/2020 01:23:38 created selwin: 0x40002d
07/04/2020 01:23:38 called initialize_xfixes()
[services.d] stopping services
[services.d] stopping app...
Apr 07, 2020 1:23:46 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs.  Unix error code 20.
Apr 07, 2020 1:23:46 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
[services.d] stopping x11vnc...
caught signal: 15
07/04/2020 01:23:46 deleted 40 tile_row polling images.
07/04/2020 01:23:46 Restored X server key autorepeat to: 1
[services.d] stopping certsmonitor...
[services.d] stopping logmonitor...
[services.d] stopping nginx...
[services.d] stopping statusmonitor...
[services.d] stopping openbox...
[services.d] stopping xvfb...
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting xvfb...
[xvfb] starting...
[services.d] starting openbox...
[openbox] starting...
[services.d] starting statusmonitor...
[services.d] starting nginx...
[statusmonitor] no file to monitor: disabling service...
[services.d] starting logmonitor...
[nginx] starting...
[logmonitor] no file to monitor: disabling service...
[services.d] starting certsmonitor...
[services.d] starting x11vnc...
[certsmonitor] disabling service: secure connection not enabled.
[x11vnc] starting...
[services.d] starting app...
[app] starting T610...
Starting
Environment ok
Extracting avctKVMIOLinux64
07/04/2020 01:24:12 passing arg to libvncserver: -rfbport
07/04/2020 01:24:12 passing arg to libvncserver: 5900
07/04/2020 01:24:12 passing arg to libvncserver: -rfbportv6
07/04/2020 01:24:12 passing arg to libvncserver: -1
07/04/2020 01:24:12 passing arg to libvncserver: -httpportv6
07/04/2020 01:24:12 passing arg to libvncserver: -1
07/04/2020 01:24:12 passing arg to libvncserver: -desktop
07/04/2020 01:24:12 passing arg to libvncserver: T610
07/04/2020 01:24:12 x11vnc version: 0.9.14 lastmod: 2015-11-14  pid: 767
07/04/2020 01:24:12 Using X display :0
07/04/2020 01:24:12 rootwin: 0x25c reswin: 0x400001 dpy: 0x1734910
07/04/2020 01:24:12
07/04/2020 01:24:12 ------------------ USEFUL INFORMATION ------------------
[services.d] done.
07/04/2020 01:24:12 X DAMAGE available on display, using it for polling hints.
07/04/2020 01:24:12   To disable this behavior use: '-noxdamage'
07/04/2020 01:24:12
07/04/2020 01:24:12   Most compositing window managers like 'compiz' or 'beryl'
07/04/2020 01:24:12   cause X DAMAGE to fail, and so you may not see any screen
07/04/2020 01:24:12   updates via VNC.  Either disable 'compiz' (recommended) or
07/04/2020 01:24:12   supply the x11vnc '-noxdamage' command line option.
07/04/2020 01:24:12 X COMPOSITE available on display, using it for window polling.
07/04/2020 01:24:12   To disable this behavior use: '-noxcomposite'
07/04/2020 01:24:12
07/04/2020 01:24:12 Wireframing: -wireframe mode is in effect for window moves.
07/04/2020 01:24:12   If this yields undesired behavior (poor response, painting
07/04/2020 01:24:12   errors, etc) it may be disabled:
07/04/2020 01:24:12    - use '-nowf' to disable wireframing completely.
07/04/2020 01:24:12    - use '-nowcr' to disable the Copy Rectangle after the
07/04/2020 01:24:12      moved window is released in the new position.
07/04/2020 01:24:12   Also see the -help entry for tuning parameters.
07/04/2020 01:24:12   You can press 3 Alt_L's (Left "Alt" key) in a row to
07/04/2020 01:24:12   repaint the screen, also see the -fixscreen option for
07/04/2020 01:24:12   periodic repaints.
07/04/2020 01:24:12 GrabServer control via XTEST.
07/04/2020 01:24:12
07/04/2020 01:24:12 Scroll Detection: -scrollcopyrect mode is in effect to
07/04/2020 01:24:12   use RECORD extension to try to detect scrolling windows
07/04/2020 01:24:12   (induced by either user keystroke or mouse input).
07/04/2020 01:24:12   If this yields undesired behavior (poor response, painting
07/04/2020 01:24:12   errors, etc) it may be disabled via: '-noscr'
07/04/2020 01:24:12   Also see the -help entry for tuning parameters.
07/04/2020 01:24:12   You can press 3 Alt_L's (Left "Alt" key) in a row to
07/04/2020 01:24:12   repaint the screen, also see the -fixscreen option for
07/04/2020 01:24:12   periodic repaints.
07/04/2020 01:24:12
07/04/2020 01:24:12 XKEYBOARD: number of keysyms per keycode 7 is greater
07/04/2020 01:24:12   than 4 and 51 keysyms are mapped above 4.
07/04/2020 01:24:12   Automatically switching to -xkb mode.
07/04/2020 01:24:12   If this makes the key mapping worse you can
07/04/2020 01:24:12   disable it with the "-noxkb" option.
07/04/2020 01:24:12   Also, remember "-remap DEAD" for accenting characters.
07/04/2020 01:24:12
07/04/2020 01:24:12 X FBPM extension not supported.
07/04/2020 01:24:12 X display is not capable of DPMS.
07/04/2020 01:24:12 --------------------------------------------------------
07/04/2020 01:24:12
07/04/2020 01:24:12 Default visual ID: 0x21
07/04/2020 01:24:12 Read initial data from X display into framebuffer.
07/04/2020 01:24:12 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
07/04/2020 01:24:12
07/04/2020 01:24:12 X display :0 is 32bpp depth=24 true color
07/04/2020 01:24:12
07/04/2020 01:24:12 Listening for VNC connections on TCP port 5900
07/04/2020 01:24:12
07/04/2020 01:24:12 Xinerama is present and active (e.g. multi-head).
07/04/2020 01:24:12 Xinerama: number of sub-screens: 1
07/04/2020 01:24:12 Xinerama: no blackouts needed (only one sub-screen)
07/04/2020 01:24:12
07/04/2020 01:24:12 fb read rate: 623 MB/sec
07/04/2020 01:24:12 fast read: reset -wait  ms to: 10
07/04/2020 01:24:12 fast read: reset -defer ms to: 10
07/04/2020 01:24:12 The X server says there are 10 mouse buttons.
07/04/2020 01:24:12 screen setup finished.
07/04/2020 01:24:12

The VNC desktop is:      ab0dbf7801e1:0
PORT=5900

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval.  It should work with any VNC viewer.  Try it by running:

    x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching

Extracting avctVMLinux64
Initialization complete, starting virtual console
Apr 07, 2020 1:24:13 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
Apr 07, 2020 1:24:14 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: java.io.IOException: Not a directory
04/07/2020 01:24:14:209: Starting client.
====setPowerMenuStatus: (##2)
07/04/2020 01:24:15 Got connection from client 127.0.0.1
07/04/2020 01:24:15   other clients:
07/04/2020 01:24:15 Got 'ws' WebSockets handshake
07/04/2020 01:24:15 Got protocol: binary
07/04/2020 01:24:15   - webSocketsHandshake: using binary/raw encoding
07/04/2020 01:24:15   - WebSockets client version hybi-13
07/04/2020 01:24:15 Disabled X server key autorepeat.
07/04/2020 01:24:15   to force back on run: 'xset r on' (3 times)
07/04/2020 01:24:15 incr accepted_client=1 for 127.0.0.1:54960  sock=10
07/04/2020 01:24:15 Client Protocol Version 3.8
07/04/2020 01:24:15 Protocol version sent 3.8, using 3.8
07/04/2020 01:24:15 rfbProcessClientSecurityType: executing handler for type 1
07/04/2020 01:24:15 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
07/04/2020 01:24:15 copy_tiles: allocating first_line at size 41
07/04/2020 01:24:15 Pixel format for client 127.0.0.1:
07/04/2020 01:24:15   32 bpp, depth 24, little endian
07/04/2020 01:24:15   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
07/04/2020 01:24:15 no translation needed
07/04/2020 01:24:15 Enabling NewFBSize protocol extension for client 127.0.0.1
07/04/2020 01:24:15 Enabling full-color cursor updates for client 127.0.0.1
07/04/2020 01:24:15 Using image quality level 6 for client 127.0.0.1
07/04/2020 01:24:15 Using JPEG subsampling 0, Q79 for client 127.0.0.1
07/04/2020 01:24:15 Using compression level 9 for client 127.0.0.1
07/04/2020 01:24:15 Enabling LastRect protocol extension for client 127.0.0.1
07/04/2020 01:24:15 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
07/04/2020 01:24:15 Using tight encoding for client 127.0.0.1
07/04/2020 01:24:15 client_set_net: 127.0.0.1  0.0005
07/04/2020 01:24:15 created   xdamage object: 0x40002c

ProtocolAPCP: Version [1.0]

04/07/2020 01:24:16:031:  Connection failed.
07/04/2020 01:24:24 created selwin: 0x40002d
07/04/2020 01:24:24 called initialize_xfixes()
Apr 07, 2020 1:24:45 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs.  Unix error code 20.
Apr 07, 2020 1:24:45 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
Apr 07, 2020 1:25:15 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs.  Unix error code 20.
Apr 07, 2020 1:25:15 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
Apr 07, 2020 1:25:45 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs.  Unix error code 20.
Apr 07, 2020 1:25:45 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
Apr 07, 2020 1:26:15 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs.  Unix error code 20.
Apr 07, 2020 1:26:15 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
timnovinger commented 4 years ago

Can anyone help me?

DomiStyle commented 4 years ago

Unfortunately there is not much I can do to debug issues with iDRAC.

I assume you already took the usual troubleshooting steps like trying to connect to iDRAC from the same IP without Docker and see if it works?

timnovinger commented 4 years ago

@DomiStyle

I can connect to the iDRAC web gui just fine. As for trying to connect to the virtual console via Java....I honestly don't know how to do that (which is why I sought out your project in the first place). I recently acquired these servers and I'm unfamiliar with running Java on new Macs/OSs.

Looking at the log output, does it look like your project/code is doing everything correctly and that the issue is on the server/iDRAC side of the equation? Just knowing that much may be helpful; I'm not sure which exactly is causing the issue.

DomiStyle commented 4 years ago

The files are downloaded just fine, the error message is coming from iDRAC itself, can't tell much more than that unfortunately.

You can try posting your docker-compose or docker commands for both of your servers, maybe something sticks out there.

If you can run VMs you might also try setting up a quick Windows VM to check if you can connect normally to the server by using the Java launcher from the web interface.

timnovinger commented 4 years ago

I doubt it's the command that is the issue; I used the same for the other server with minor variations that wouldn't break anything.

That is very helpful to know that the issue is on the iDRAC side itself. At least I have a path to dig down now. That's a great tip about the windows VM idea. I'll fire one up on my ESXi box and poke around. Thanks!

srinathman commented 2 years ago

I was having the same problem and solved by removing all restrictions in java.security file. In my case, I actually changed Dockerfile to remove the file altogether.

...
#RUN perl -i -pe 's/^(\h*jdk\.tls\.disabledAlgorithms\h*=\h*)([\w.\h<>\n\\,]*)(TLSv1[,\n\h]\h*)/$1$2/m' /usr/lib/jvm/zulu-7-amd64/jre/lib/security/java.security
RUN rm /usr/lib/jvm/zulu-7-amd64/jre/lib/security/java.security
...
arne-cl commented 2 years ago

Thanks @srinathman, I had the same issue on one of my R610 servers (iDRAC6 Firmware Version 2.91 (Build 02)). Removing the java.security file helped.

timnovinger commented 2 years ago

@srinathman and @arne-cl - thanks for figuring this out! That solved my issue! Yeah!