Re: "Get RDP File" Doesn't work first try if too fast

2011-04-08 Thread Josh Thompson
n"; > print "\n"; > print " id=\"connect\">\n"; $cdata = array('requestid' => $requestid, > 'resid' => $requestData['reservations'][0]['reservationid']); > $expire = datetimeToUnix($

RE: "Get RDP File" Doesn't work first try if too fast

2011-04-07 Thread Hartl, Gerhard L.
'reservationid']); $expire = datetimeToUnix($requestData['end']) - datetimeToUnix($requestData['start']) + 1800; # reservation time plus 30 min $cont = addContinuationsEntry('sendRDPfile', $cdata, $expire); print " \n

Re: "Get RDP File" Doesn't work first try if too fast

2011-04-04 Thread Andy Kurth
I have seen the same issue myself. It's a timing issue related to the 'reserved' state. During this state, the vcld process loops until it detects a value in reservation.remoteIP which gets set when the user clicks 'Connect'. There is a 5 second wait in between attempts. This could be reduc

"Get RDP File" Doesn't work first try if too fast

2011-04-01 Thread Hartl, Gerhard L.
(disregard previous, forgot to retitle) Since upgrading to 2.2, when a user browses to the 'connect' page, I've noticed that the clients ip is captured and the management node then ssh's to the vm and opens up the port for the clients ip on 3389. While I understand this is best practice, I ha