Hi Guys,

The problem was that the time on the management server was slightly different 
to that of the console proxy.

Always use NTP!

Len

-----Original Message-----
From: Geoff Higginbottom [mailto:[email protected]]
Sent: 15 March 2014 09:06
To: <[email protected]>
Subject: Re: Access Denied on Console Proxy

Hi Len,

We've seen this issue before with older versions if CloudPlatform and it's 
related to the management server the user is authenticated against not being 
the same server the console proxy VM is assigned to.  You can work around this 
by configuring the management server load balancer to favour one server over 
the other.

Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540> 
| M: +447968161581<tel:+447968161581>

[email protected]<mailto:[email protected]> | 
www.shapeblue.com<htp://www.shapeblue.com/> | 
Twitter:@cloudstackguru<https://twitter.com/#!/cloudstackguru>

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
4HS<x-apple-data-detectors://5>


On 14 Mar 2014, at 09:51, "Len Bellemore" 
<[email protected]<mailto:[email protected]>> wrote:

Hi Guys

I get random "access denied" errors when trying to access the console window to 
some of my instances.  I am seeing the following errors in the cloud.log file 
on the console proxy vm:


2014-03-14 08:19:54,741 DEBUG [cloud.consoleproxy.ConsoleProxyAjaxImageHandler] 
(Thread-11837:null) 
/ajaximg?token=FfKTKoGlyQcbuuhf01iQ4J5YgvnNCMuAvbCMSfXE9X3S5ptynRckLW8_zDR9R_QGXa8EiujaW7GsNk6M0JPkztEKqfz-wmOIu_lbwpA1HrknBDUbFHuUY0gJUYmfS_GQPA-lydFOHTDq8pxbDkb_uQ40uy-Al3P0IBScWzug2mtdEh0mAur6c6M4DLUrbP4Ss5qh1Nowe6Rlput_Qe-RHnxP3sMZnsDFhNFP8a_hGKCq7ba-g8eLYtn5ofb4eIqB4aZ1nfU6BrBex1pgaUxzPJzNWtZxttKM5D-m76wol1ugWe5VLD6en8pHhM7tM_dWZufjicYH0Ioz9jz_mmoXBySAahjkx19pW3lyIq05cuhSTonj8PjglHTbXjL--W5Eb6xNBsAzBkrIvoEN-XiyBmrjl5ypC1vCeDysYSkWCfm-NiSt38a11N0ipekR84cUfUP2mC3FqzwtjmqsM_tskM1dba9VA5XGgNjxVnO8Ato&key=125&ts=1394785194374Process
 time 3 ms
2014-03-14 08:19:56,881 ERROR [consoleproxy.vnc.VncServerPacketReceiver] 
(Thread-11432:null) Unexpected exception:
java.io.EOFException
       at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:290)
       at 
com.cloud.consoleproxy.vnc.VncServerPacketReceiver.run(VncServerPacketReceiver.java:61)
       at com.cloud.consoleproxy.vnc.VncClient.doConnect(VncClient.java:184)
       at com.cloud.consoleproxy.vnc.VncClient.connectTo(VncClient.java:143)
       at 
com.cloud.consoleproxy.ConsoleProxyVncClient$1.run(ConsoleProxyVncClient.java:90)
       at java.lang.Thread.run(Thread.java:679)
2014-03-14 08:19:56,882 INFO  [consoleproxy.vnc.VncServerPacketReceiver] 
(Thread-11432:null) Receiving thread exit processing, shutdown connection
2014-03-14 08:19:56,994 ERROR [consoleproxy.vnc.VncClientPacketSender] 
(Thread-11434:null) Unexpected exception:
java.net.SocketException: Socket is closed
       at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1354)
       at sun.security.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1375)
       at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:62)
       at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:133)
       at java.io.DataOutputStream.writeByte(DataOutputStream.java:153)
       at 
com.cloud.consoleproxy.vnc.packet.client.MouseEventPacket.write(MouseEventPacket.java:36)
       at 
com.cloud.consoleproxy.vnc.VncClientPacketSender.run(VncClientPacketSender.java:72)
       at java.lang.Thread.run(Thread.java:679)
2014-03-14 08:19:56,994 INFO  [consoleproxy.vnc.VncClientPacketSender] 
(Thread-11434:null) Sending thread exit processing, shutdown connection
2014-03-14 08:19:57,008 DEBUG [cloud.consoleproxy.ConsoleProxyAjaxImageHandler] 
(Thread-11841:null) AjaxImageHandler 
/ajaximg?token=FfKTKoGlyQcbuuhf01iQ4J5YgvnNCMuAvbCMSfXE9X3S5ptynRckLW8_zDR9R_QGXa8EiujaW7GsNk6M0JPkztEKqfz-wmOIu_lbwpA1HrknBDUbFHuUY0gJUYmfS_GQPA-lydFOHTDq8pxbDkb_uQ40uy-Al3P0IBScWzug2mtdEh0mAur6c6M4DLUrbP4Ss5qh1Nowe6Rlput_Qe-RHnxP3sMZnsDFhNFP8a_hGKCq7ba-g8eLYtn5ofb4eIqB4aZ1nfU6BrBex1pgaUxzPJzNWtZxttKM5D-m76wol1ugWe5VLD6en8pHhM7tM_dWZufjicYH0Ioz9jz_mmoXBySAahjkx19pW3lyIq05cuhSTonj8PjglHTbXjL--W5Eb6xNBsAzBkrIvoEN-XiyBmrjl5ypC1vCeDysYSkWCfm-NiSt38a11N0ipekR84cUfUP2mC3FqzwtjmqsM_tskM1dba9VA5XGgNjxVnO8Ato&key=126&ts=1394785196726

Anyone seen this before?

Len

________________________________
IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes Need Enterprise Grade Support for Apache 
CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. 
Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

________________________________
IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes

Reply via email to