vTrack
Contributor
Contributor

opening Remote Console shows a dark screen

Hello Folks,

I am facing problems while opening Remote Consoles of my VMs from vCloud Director. The Console opens but shows a dark screen with the message"Connecting" on top.. I am able to access Console from vSphere client, so that makes me think something wrong at vCloud Director side?

What are the pre-requisites needed for the console to work from vCloudDirector?

/Jas

0 Kudos
2 Replies

Try putting the vCD URL in your browsers "Trusted sites." This is typically the result of a javascript error due to security contraints in the browser.

Cheers,

Jake

Jake Robinson VCP, vExpert - geekafterfive.com - Twitter: @jakerobinson
vogtmatt
Enthusiast
Enthusiast

Gents,

I'm running into a similar issue, but it's only failing on a few VMs. Happens from all browsers, many java versions, etc.

Checking the debug log, this pops up on a failed connection (note the "Buffer size is already at maximum" error right before the java death):

2012-07-12 09:43:39,562 | DEBUG    | 1875508862@pool-jetty-4   | JobManager                     | **** Add activity log: <JOB_ACQUIRE_SCREEN_TICKET> <NexentaStor-2(com.vmware.vcloud.entity.vm:dd6d07bc-f49f-44c0-b15d-526ea1f71b8b)> |
2012-07-12 09:43:39,562 | DEBUG    | 1875508862@pool-jetty-4   | JobString                      | Job object - Object : NexentaStor-2(com.vmware.vcloud.entity.vm:dd6d07bc-f49f-44c0-b15d-526ea1f71b8b) operation name: JOB_ACQUIRE_SCREEN_TICKET |
2012-07-12 09:43:39,569 | DEBUG    | 1875508862@pool-jetty-4   | CJob                           | No last pending job   : [NexentaStor-2(com.vmware.vcloud.entity.vm:dd6d07bc-f49f-44c0-b15d-526ea1f71b8b)], status=[2] |
2012-07-12 09:43:39,571 | DEBUG    | 1875508862@pool-jetty-4   | CJob                           | Update last job       : [NexentaStor-2(com.vmware.vcloud.entity.vm:dd6d07bc-f49f-44c0-b15d-526ea1f71b8b)], status=[2], [7/12/12 9:43 AM] |
2012-07-12 09:43:41,076 | DEBUG    | 1875508862@pool-jetty-4   | JobManager                     | **** Add activity log: <JOB_ACQUIRE_SCREEN_TICKET> <NexentaStor-2(com.vmware.vcloud.entity.vm:dd6d07bc-f49f-44c0-b15d-526ea1f71b8b)> |
2012-07-12 09:43:41,076 | DEBUG    | 1875508862@pool-jetty-4   | JobString                      | Job object - Object : NexentaStor-2(com.vmware.vcloud.entity.vm:dd6d07bc-f49f-44c0-b15d-526ea1f71b8b) operation name: JOB_ACQUIRE_SCREEN_TICKET |
2012-07-12 09:43:41,083 | DEBUG    | 1875508862@pool-jetty-4   | CJob                           | No last pending job   : [NexentaStor-2(com.vmware.vcloud.entity.vm:dd6d07bc-f49f-44c0-b15d-526ea1f71b8b)], status=[2] |
2012-07-12 09:43:41,085 | DEBUG    | 1875508862@pool-jetty-4   | CJob                           | Update last job       : [NexentaStor-2(com.vmware.vcloud.entity.vm:dd6d07bc-f49f-44c0-b15d-526ea1f71b8b)], status=[2], [7/12/12 9:43 AM] |
2012-07-12 09:50:50,036 | DEBUG    | pool-thumbnail-13-thread-657 | HttpNfcClientSession           | Getting the file [pool-01-store02] NexentaStor-2 (dd6d07bc-f49f-44c0-b15d-526ea1f71b8b)/current.png at [ip = mgmt-esx-03.vcloud.lab, username = vslauser] |
2012-07-12 09:50:50,071 | DEBUG    | pool-thumbnail-13-thread-657 | HttpNfcClientSession           | Executed HTTP method GET on mgmt-esx-03.vcloud.lab with path /folder/NexentaStor-2+%28dd6d07bc-f49f-44c0-b15d-526ea1f71b8b%29/current.png?dsName=pool-01-store02 and received status 200 |
2012-07-12 09:50:55,901 | DEBUG    | 1875508862@pool-jetty-4   | JobManager                     | **** Add activity log: <JOB_ACQUIRE_SCREEN_TICKET> <NexentaStor-2(com.vmware.vcloud.entity.vm:dd6d07bc-f49f-44c0-b15d-526ea1f71b8b)> |
2012-07-12 09:50:55,901 | DEBUG    | 1875508862@pool-jetty-4   | JobString                      | Job object - Object : NexentaStor-2(com.vmware.vcloud.entity.vm:dd6d07bc-f49f-44c0-b15d-526ea1f71b8b) operation name: JOB_ACQUIRE_SCREEN_TICKET |
2012-07-12 09:50:55,908 | DEBUG    | 1875508862@pool-jetty-4   | CJob                           | No last pending job   : [NexentaStor-2(com.vmware.vcloud.entity.vm:dd6d07bc-f49f-44c0-b15d-526ea1f71b8b)], status=[2] |
2012-07-12 09:50:55,911 | DEBUG    | 1875508862@pool-jetty-4   | CJob                           | Update last job       : [NexentaStor-2(com.vmware.vcloud.entity.vm:dd6d07bc-f49f-44c0-b15d-526ea1f71b8b)], status=[2], [7/12/12 9:50 AM] |
[root@mgmt-vcd01 logs]# less vcloud-container-debug.log
etChannel[connected local=/10.10.10.58:443 remote=/xxxxxxxxx:59884]] |
2012-07-12 10:06:56,026 | DEBUG    | consoleproxy              | SoapRequestHandler             | SOAP Request: WaitForUpdates |
2012-07-12 10:06:56,319 | DEBUG    | consoleproxy              | SoapRequestHandler             | SOAP Request: CreateFilter |
2012-07-12 10:06:56,319 | DEBUG    | consoleproxy              | LoginByCookieHandler           | Logging in via a COOKIE: cst-yU1l52S1fnNnqKlpYMGTASX3zbzbWDIQBgh8zAgZQiHBxtfWhbRXONNSsNLS0AuJdB2h3+2qnlmSlSSeCTccxgoBYj5CMPTrYpsNGfA8p0IYiGxpWOXVsqS39sde2LhIkU98EqsA7I+oXGl6nVyPaf5CfHgEuDsA7+Q98OTWiwEv6YNlEbQH91Jh0paQLHBUZ2+kfHxSdfn3nOyk1D9ADRvQ49vm/L76bXUzTNOIj4XE7zmEcLk393MJX6YA8xoPQCMfBW6RTJhvMcY0UL670IoP8EiyBIchO4uC6ggpoGY=-qmI2AOlkZBe0hOZh9S4CS8jcS32377Lw7m4TyQ==--tp-0E:C5:0A:4E:89:73:E0:44:1D:25:FD:DB:71:5B:38:D5:86:7D:DE:0B-- |
2012-07-12 10:06:56,319 | DEBUG    | consoleproxy              | ABaseInitialServerTransfer     | Initiating a destination connection to 10.10.10.60 on port 443 |
2012-07-12 10:06:56,319 | DEBUG    | consoleproxy              | SSLSocketChannelFactory        | Encoded VM Host: 10.10.10.60 |
2012-07-12 10:06:56,327 | DEBUG    | consoleproxy              | SoapRequestHandler             | SOAP Request: CreateFilter |
2012-07-12 10:06:56,328 | DEBUG    | consoleproxy              | LoginByCookieHandler           | Logging in via a COOKIE: cst-yU1l52S1fnNnqKlpYMGTASX3zbzbWDIQBgh8zAgZQiHBxtfWhbRXONNSsNLS0AuJdB2h3+2qnlmSlSSeCTccxgoBYj5CMPTrYpsNGfA8p0IYiGxpWOXVsqS39sde2LhIkU98EqsA7I+oXGl6nVyPaf5CfHgEuDsA7+Q98OTWiwEv6YNlEbQH91Jh0paQLHBUZ2+kfHxSdfn3nOyk1D9ADRvQ49vm/L76bXUzTNOIj4XE7zmEcLk393MJX6YA8xoPQCMfBW6RTJhvMcY0UL670IoP8EiyBIchO4uC6ggpoGY=-qmI2AOlkZBe0hOZh9S4CS8jcS32377Lw7m4TyQ==--tp-0E:C5:0A:4E:89:73:E0:44:1D:25:FD:DB:71:5B:38:D5:86:7D:DE:0B-- |
2012-07-12 10:06:56,328 | DEBUG    | consoleproxy              | ABaseInitialServerTransfer     | Initiating a destination connection to 10.10.10.60 on port 443 |
2012-07-12 10:06:56,328 | DEBUG    | consoleproxy              | SSLSocketChannelFactory        | Encoded VM Host: 10.10.10.60 |
2012-07-12 10:06:56,544 | DEBUG    | consoleproxy              | SoapRequestHandler             | SOAP Request: CreateFilter |
2012-07-12 10:06:56,547 | DEBUG    | consoleproxy              | SoapRequestHandler             | SOAP Request: CreateFilter |
2012-07-12 10:06:56,548 | DEBUG    | consoleproxy              | SoapRequestHandler             | SOAP Request: CreateFilterResponse |
2012-07-12 10:06:56,565 | DEBUG    | consoleproxy              | SoapRequestHandler             | SOAP Request: CreateFilterResponse |
2012-07-12 10:06:56,575 | ERROR    | consoleproxy              | BufferContext                  | Buffer size is already at maximum: {1}. Denying resize. |
2012-07-12 10:06:56,576 | WARN     | consoleproxy              | EventDispatcher                | [CP] =An exception occurred during the execution of an ISelectionOperation |
java.nio.BufferOverflowException
        at com.vmware.consoleproxy.async.impl.BufferContext.enlargeBuffer(BufferContext.java:69)
        at com.vmware.consoleproxy.async.impl.transfer.MatchContext.expandBuffer(MatchContext.java:134)
        at com.vmware.consoleproxy.async.impl.transfer.MatchProcessor.processData(MatchProcessor.java:115)
        at com.vmware.consoleproxy.async.impl.transfer.http.HttpTransfer.processData(HttpTransfer.java:282)
        at com.vmware.consoleproxy.async.impl.transfer.http.HttpTransfer.performTransfer(HttpTransfer.java:270)
        at com.vmware.consoleproxy.async.impl.transfer.http.HttpProxyTransfer.performTransfer(HttpProxyTransfer.java:104)
        at com.vmware.consoleproxy.async.impl.operations.ReadOperation.performSelectionOperation(ReadOperation.java:106)
        at com.vmware.consoleproxy.async.impl.operations.CompositeParallelSelectionOperation.performSelectionOperation(CompositeParallelSelectionOperation.java:70)
        at com.vmware.consoleproxy.async.impl.operations.CompositeSerialSelectionOperation.performSelectionOperation(CompositeSerialSelectionOperation.java:89)
        at com.vmware.consoleproxy.async.EventDispatcher.handleOperation(EventDispatcher.java:203)
        at com.vmware.consoleproxy.async.EventDispatcher.processKeys(EventDispatcher.java:181)
        at com.vmware.consoleproxy.async.EventDispatcher.run(EventDispatcher.java:142)
        at java.lang.Thread.run(Thread.java:662)

Would appreciate any insights.

matt

0 Kudos