DomiStyle / docker-idrac6

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

Server disconnected #19

Closed maedoc closed 5 years ago

maedoc commented 5 years ago

I have been successfully using a modified (for the arrow keys) image started liek so

docker run -d --name idrac.h2 \
    -p 127.0.0.1:42802:5800 \
    -p 10.11.6.201:43802:5800 \
    -p 127.0.0.1:42902:5900 \
    -e IDRAC_HOST=192.168.152.101 \
    -e IDRAC_USER=asdf \
    -e IDRAC_PASSWORD=asdf \
    idrac6fix

behind a reverse proxy for a while, but I frequently encounter errors where the idrac6 website (with the blue box in the upper left) has a red X, and the tool tip says Server disconnected (error 1006).

.... truncated

Initialization complete, starting virtual console
Oct 12, 2019 12:06:27 PM java.util.prefs.FileSystemPreferences$1 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
Oct 12, 2019 12:06:27 PM java.util.prefs.FileSystemPreferences$1 run
WARNING: java.io.IOException: Not a directory
10/12/2019 12:06:28:084: Starting client.
==== propertyChange: (power_status):2====
====setPowerMenuStatus: (##2)
==== propertyChange: (singleCursorTerminationKey):66====
==== propertyChange: (SESSION_STATE):CONNECTING====
==== propertyChange: (VIDEO_PANEL_SIZE_CHANGED):java.awt.Dimension[width=820,height=620]====
==== propertyChange: (VIDEO_PANEL_SIZE_CHANGED):java.awt.Dimension[width=820,height=620]====
 setPassthroughEnabled(true)
 setPassthroughEnabled(false)
10/12/2019 12:06:33:101:  User login response: 0

  Sending appliance random: 0, 0, 0, 0

 Client random: 5945256
10/12/2019 12:06:33:815: Video Session: Starting session thread.
==== propertyChange: (mouse_accel):1====
==== propertyChange: (power_menu_enable):1====
 Video connect status: true
==== propertyChange: (SESSION_STATE):RUNNING====
10/12/2019 12:06:33:822:   Mouse packet thread stopping.
 Fullscreen window setVisible false
 Unknown message type: primary (0x3), secondary (0x3).
Unexpected packet: NoOpResponse
Java Version    [1.7.0_95]
Peer Class Name [sun.awt.X11.XFramePeer]
Peer Class Name [xGetInputFocus]
Window Peer     [sun.awt.X11.XFramePeer@7504a5ce(1000004)]
10/12/2019 12:06:33:842:  Input resolution: 1280, 1024
10/12/2019 12:06:33:859:  Input resolution: 1280, 1024
10/12/2019 12:06:33:861:  Video resolution: 1280, 1024
10/12/2019 12:06:33:861: AVSPKVMSession:  Video output resolution changed to: 1280x1024
10/12/2019 12:06:33:861: AVSP Session: requesting full screen refresh.
 Native window ID: 16777226
 Native library debug flag set to: 10/12/2019 12:06:33:964:  Sending input focus message with focus set to: true
==== propertyChange: (VIDEO_PANEL_SIZE_CHANGED):java.awt.Dimension[width=1280,height=1024]====
==== propertyChange: (VIDEO_PANEL_SIZE_CHANGED):java.awt.Dimension[width=1280,height=1024]====
10/12/2019 12:06:43:816: ****************Send GetAvailableServersMessage
==== propertyChange: (power_status):1====
====setPowerMenuStatus: (##1)
10/12/2019 12:06:53:817: ****************Send GetAvailableServersMessage
Oct 12, 2019 12:06:59 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs.  Unix error code 20.
Oct 12, 2019 12:06:59 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
10/12/2019 12:07:03:817: ****************Send GetAvailableServersMessage
10/12/2019 12:07:13:817: ****************Send GetAvailableServersMessage
10/12/2019 12:07:23:817: ****************Send GetAvailableServersMessage
Oct 12, 2019 12:07:29 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs.  Unix error code 20.
Oct 12, 2019 12:07:29 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
10/12/2019 12:07:33:818: ****************Send GetAvailableServersMessage
10/12/2019 12:07:43:818: ****************Send GetAvailableServersMessage
10/12/2019 12:07:53:818: ****************Send GetAvailableServersMessage
Oct 12, 2019 12:07:59 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs.  Unix error code 20.
Oct 12, 2019 12:07:59 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
10/12/2019 12:08:03:819: ****************Send GetAvailableServersMessage

which continues endlessly.

I managed to get it working again by boot looping the machine and this image, but it stopped working after a few hours. Any tips would be appreciated.

maedoc commented 5 years ago

Seems to be a problem with Safari browser. Android Chrome & Firefox have no problem, so I'm closing.