HI Daan,

 I have tested console proxy with new changes  in 4.3 and didn't noticed this 
below mentioned problem(tested with xenserver)

Upload SSL certificate(UI/API) :Pass
CPVM-Console view-->
IN HTTP Mode(default) --Pass
HTTPs mode(with wild card)-Pass

SSVM(with new domain name):
Download template-Pass.


Please provide the following details to understand the problem

Is it fresh setup or upgraded setup. 

What is the value  set  in global config  " Console proxy url domain " .if its 
empty then it will use http mode(By default in 4.3 its http mode ..traffic uses 
port 80) based on the request url its seems its empty please confirm?

If you upgrade from previous release then  its set it as *.realhostip.com and 
expects request should be https mode.




Regards
Sadhu








-----Original Message-----
From: Nitin Mehta [mailto:nitin.me...@citrix.com] 
Sent: 21 March 2014 03:50
To: dev@cloudstack.apache.org
Subject: Re: concole proxy in 4.3RC9

I also tried on XS setup and default case seems to be as expected.

 the console url is ::
<html><title>VM-1f2d2061-07ca-4867-9f12-edc7b845247c</title><frameset><fram
e
src="http://10.223.247.3/ajax?token=P3yRFP_NZaXFv0KoRrKD6U9Riz0Cp0-0mgeGCj7
hCD5BpKSBc9pKMl53c-1zjaKyk-NsJt4qh0L82PqTOmF6ahCdNE5TJytveKZPvO5Th2NI48beO9
0uIKD0y7zTwv1x4ONdCnkeOTyq53U5X9XdGkai62FGCZG-ve1Bc8sU2G62JnvqTsZpwruHS4V32
Jxiv8cw8eUtVcr0SGqNQRqQ-UqRwP8WITKerETW6GVVf7VI0N5A_CKGkqhqZx2P62CW2KxvAZWp
g5b8Hoiukzc7DtJc_jLsOaULfzNiGLki4yz07nT5phCrbOdht3D7r7kXBPik9TEU8lxZStaAhtJ
XPo0sVGqwCBRhoxmmP_tLGjgzDww34q24ENL3OuL20iA57IZmbO1rDerB2TSJUjedhuqW1x0wxG
FGTaC5w1TNYT-HY6XIr2WpXKRETEPMgu2PCAcu6pGUBKRcoRjAyjjlLSXfFwEWZel_tUDwTPJXc
P0"></frame></frameset></html>

Thanks,
-Nitin

On 20/03/14 1:10 PM, "Daan Hoogland" <daan.hoogl...@gmail.com> wrote:

>Amogh, I am running the ms on windows but I did build a 4.3 systemvm on 
>a differnt machine and copied it to the hypervisors. port 80 can go to 
>the hypervisor which says that it does not have the page /console
>
>On Thu, Mar 20, 2014 at 7:45 PM, Amogh Vasekar 
><amogh.vase...@citrix.com>
>wrote:
>> Hi,
>>
>> Tried on XenServer set-up, and the defaults work fine for me. The 
>>console  URL for me :
>> 2014-03-20 18:43:08,558 DEBUG [c.c.s.ConsoleProxyServlet]
>> (24565443@qtp-27436568-8:null) Compose console url:
>> 
>>http://192.168.56.139/ajax?token=tVsokSDt2PUASaa77NN_qBAZFJsma76qRT5Y1
>>OLQ
>>FW
>> 
>>1zl82-vizkq36Fii1yLNvR1h7Ul3CL0L8yrtn2y7FkqLgZyXFc3bObM5U2H6n-3CO01d-z
>>qJG
>>xq
>> 
>>hNom6i-oUEgQhp-QPJ0rKkEZErTeYF6YyMwHghWabLuAyDYYT9gA39VWAVHcySUtSjFcjR
>>FWh
>>IA
>> 
>>vOs9RghpY9D6rvzgjeCvBOuy4aOD1kQlT_7lUIX3BIcLyipMR200o0y2ZjAfxwdfN-9oyM
>>uuU
>>jr
>> 
>>YsObY9xb-BQxOb5p5cZogqqqiCnXGhr1mPwlN6Ba-BI-UQzgNjlHX95sp0x_hnHhdzMfZ0
>>vfa
>>Ao
>> 
>>7SZLrfD1oGRxMOWFonu-WHSsu4OBcDSELFxd-2Yt_noZ6Mdz2kheMvGfYmFC2r1gjii0rx
>>zuj
>>8L
>> 
>>w8p42DZAGLq8TqSWyBUGsQWhMveyHVJHbKJDrsOcJVMyUdDLKsVhGR9voti7TJUAAzQb75
>>Aha
>>w
>>
>> Just to reconfirm - did you build using systemvm profile? Is port 80 
>> blocked somewhere?
>>
>> Thanks,
>> Amogh
>>
>> On 3/20/14 10:15 AM, "Daan Hoogland" <daan.hoogl...@gmail.com> wrote:
>>
>>>btw
>>>
>>>the last lines:
>>>
>>>2014-03-20 13:57:09,858 DEBUG [c.c.a.t.Request]
>>>(1372260265@qtp-1676921458-10:null) Seq 1-762183775: Sending  { Cmd ,
>>>MgmtId: 24062491136, via: 1(mccdxen2), Ver: v1, Flags: 100011, 
>>>[{"com.cloud.agent.api.GetVncPortCommand":{"id":5,"name":"i-2-5-VM","
>>>wai
>>>t"
>>>:0}}]
>>>}
>>>2014-03-20 13:57:09,858 DEBUG [c.c.a.t.Request]
>>>(1372260265@qtp-1676921458-10:null) Seq 1-762183775: Executing:  { 
>>>Cmd , MgmtId: 24062491136, via: 1(mccdxen2), Ver: v1, Flags: 100011, 
>>>[{"com.cloud.agent.api.GetVncPortCommand":{"id":5,"name":"i-2-5-VM","
>>>wai
>>>t"
>>>:0}}]
>>>}
>>>2014-03-20 13:57:09,859 DEBUG [c.c.a.m.DirectAgentAttache]
>>>(DirectAgent-63:ctx-6c8a6687) Seq 1-762183775: Executing request
>>>2014-03-20 13:57:09,976 DEBUG [c.c.a.m.DirectAgentAttache]
>>>(DirectAgent-63:ctx-6c8a6687) Seq 1-762183775: Response Received:
>>>2014-03-20 13:57:09,976 DEBUG [c.c.a.t.Request]
>>>(DirectAgent-63:ctx-6c8a6687) Seq 1-762183775: Processing:  { Ans: ,
>>>MgmtId: 24062491136, via: 1, Ver: v1, Flags: 10, 
>>>[{"com.cloud.agent.api.GetVncPortAnswer":{"address":"consoleurl=https
>>>://
>>>10
>>>.200.23.42/console?uuid=d539642a-7c78-622e-9c22-e6b3b0771122&sessionr
>>>ef=
>>>Op
>>>aqueRef:160e30d3-5f3e-255e-ef8a-596e69ad30d4","port":-1,"result":true
>>>,"w
>>>ai
>>>t":0}}]
>>>}
>>>2014-03-20 13:57:09,976 DEBUG [c.c.a.t.Request]
>>>(1372260265@qtp-1676921458-10:null) Seq 1-762183775: Received:  { Ans:
>>>, MgmtId: 24062491136, via: 1, Ver: v1, Flags: 10, { GetVncPortAnswer 
>>>} }
>>>2014-03-20 13:57:09,976 DEBUG [c.c.s.ConsoleProxyServlet]
>>>(1372260265@qtp-1676921458-10:null) Port info 
>>>consoleurl=https://10.200.23.42/console?uuid=d539642a-7c78-622e-9c22-
>>>e6b
>>>3b
>>>0771122&sessionref=OpaqueRef:160e30d3-5f3e-255e-ef8a-596e69ad30d4
>>>2014-03-20 13:57:09,976 INFO  [c.c.s.ConsoleProxyServlet]
>>>(1372260265@qtp-1676921458-10:null) Parse host info returned from 
>>>executing GetVNCPortCommand. host info:
>>>consoleurl=https://10.200.23.42/console?uuid=d539642a-7c78-622e-9c22-
>>>e6b
>>>3b
>>>0771122&sessionref=OpaqueRef:160e30d3-5f3e-255e-ef8a-596e69ad30d4
>>>2014-03-20 13:57:09,979 DEBUG [c.c.s.ConsoleProxyServlet]
>>>(1372260265@qtp-1676921458-10:null) Compose console url:
>>>http://195.66.90.213/ajax?token=9Rrl0mjwUQd3Ym9mEb-ziydOD0YOSWJNi_QZF
>>>P7e
>>>fE
>>>r1mIalpz2Xg0UvR2eUUyqbgFqNXQJOlt0yJsfkH7CnubShCuEb82qKCD4zf50hyHxZufj
>>>glf
>>>9N
>>>efAuIXRJmmXe10afkEVYHARondjCtJ80RkovHVtQHkErX9s2wB2HT9Zx7kuKGdYmigVQ8
>>>_Aj
>>>qF
>>>yusOCQ6XTplJOlr4ZdvSZoafu0dowEYJysruLtBvY9qsi5eMXC4ozvodmRUfBN4jARisU
>>>jus
>>>BC
>>>DUSzQyrdXImCjLFT3cL1GVmdNPQz7L7s3PJrSyMdB9ZZshnzNYAYkCjUtjiLwAf3aJfZt
>>>3z3
>>>r9
>>>TuJg6k5kfhRbBsvpBVtrYcI1DXJfEANZD6g9f4hDRghnsXxrUpPrA973CiSUaKsKzUMqV
>>>WM4
>>>Vu
>>>iDtHkWIgk_p100K-ai9wzufJYAk9lZ_vhY9GWYkQhpBtZeupk3Gl5Gc_iudCMwP9kFvEA
>>>12i
>>>6j
>>>Nvtng
>>>2014-03-20 13:57:09,979 DEBUG [c.c.s.ConsoleProxyServlet]
>>>(1372260265@qtp-1676921458-10:null) the console url is ::
>>><html><title>g</title><frameset><frame
>>>src="http://195.66.90.213/ajax?token=9Rrl0mjwUQd3Ym9mEb-ziydOD0YOSWJN
>>>i_Q
>>>ZF
>>>P7efEr1mIalpz2Xg0UvR2eUUyqbgFqNXQJOlt0yJsfkH7CnubShCuEb82qKCD4zf50hyH
>>>xZu
>>>fj
>>>glf9NefAuIXRJmmXe10afkEVYHARondjCtJ80RkovHVtQHkErX9s2wB2HT9Zx7kuKGdYm
>>>igV
>>>Q8
>>>_AjqFyusOCQ6XTplJOlr4ZdvSZoafu0dowEYJysruLtBvY9qsi5eMXC4ozvodmRUfBN4j
>>>ARi
>>>sU
>>>jusBCDUSzQyrdXImCjLFT3cL1GVmdNPQz7L7s3PJrSyMdB9ZZshnzNYAYkCjUtjiLwAf3
>>>aJf
>>>Zt
>>>3z3r9TuJg6k5kfhRbBsvpBVtrYcI1DXJfEANZD6g9f4hDRghnsXxrUpPrA973CiSUaKsK
>>>zUM
>>>qV
>>>WM4VuiDtHkWIgk_p100K-ai9wzufJYAk9lZ_vhY9GWYkQhpBtZeupk3Gl5Gc_iudCMwP9
>>>kFv
>>>EA
>>>12i6jNvtng"></frame></frameset></html>
>>>
>>>and next nothing but the browser saying connection refused.
>>>
>>>So what changed? Where do I need to adjust my infra to make it work 
>>>again? Or is my setup not supported anymore?
>>>
>>>On Thu, Mar 20, 2014 at 5:49 PM, Daan Hoogland 
>>><daan.hoogl...@gmail.com>
>>>wrote:
>>>> meaning the console of the ssvm? or the cpvm?
>>>>
>>>> I just confirmed myself that there is indeed a diff between 4.2.1 
>>>>and
>>>>4.3RC9
>>>>
>>>> On Thu, Mar 20, 2014 at 5:32 PM, Nux! <n...@li.nux.ro> wrote:
>>>>> On 20.03.2014 16:29, Ove Ewerlid wrote:
>>>>>>
>>>>>> Console SSVM works in my 4.3 setup.
>>>>>> Traffic does not use SSL and is on port 80.
>>>>>
>>>>>
>>>>> Did you have to do anything in particular to disable SSL or is 
>>>>>this the new  default?
>>>>>
>>>>> I was having problems with 4.4 where VC VM was in Alert mode and 
>>>>>the VMs'
>>>>> console was dead; will have to revisit this.
>>>>>
>>>>> Lucian
>>>>>
>>>>> --
>>>>> Sent from the Delta quadrant using Borg technology!
>>>>>
>>>>> Nux!
>>>>> www.nux.ro
>>>>
>>>>
>>>>
>>>> --
>>>> Daan
>>>
>>>
>>>
>>>--
>>>Daan
>>
>
>
>
>--
>Daan

Reply via email to