ustcweizhou commented on issue #3164: Cannot open console: ConsoleProxyServlet 
NullPointerException
URL: https://github.com/apache/cloudstack/issues/3164#issuecomment-467621552
 
 
   @AndreaGHG is there any log in management-server.log ?
   
   When I open a console, I got the following logs
   ```
   2019-02-26 21:28:36,506 DEBUG [c.c.a.t.Request] (qtp858242339-18:null) 
(logid:) Seq 1-2750010522463109132: Sending  { Cmd , MgmtId: 6827823599962, 
via: 1(node32), Ver: v1, Flags: 100011, 
[{"com.cloud.agent.api.GetVncPortCommand":{"id":3,"name":"s-3-VM","wait":0}}] }
   2019-02-26 21:28:36,514 DEBUG [c.c.a.t.Request] 
(AgentManager-Handler-14:null) (logid:) Seq 1-2750010522463109132: Processing:  
{ Ans: , MgmtId: 6827823599962, via: 1, Ver: v1, Flags: 10, 
[{"com.cloud.agent.api.GetVncPortAnswer":{"address":"10.11.118.32","port":5900,"result":true,"wait":0}}]
 }
   2019-02-26 21:28:36,514 DEBUG [c.c.a.t.Request] (qtp858242339-18:null) 
(logid:) Seq 1-2750010522463109132: Received:  { Ans: , MgmtId: 6827823599962, 
via: 1(node32), Ver: v1, Flags: 10, { GetVncPortAnswer } }
   2019-02-26 21:28:36,514 DEBUG [c.c.s.ConsoleProxyServlet] 
(qtp858242339-18:null) (logid:) Port info 10.11.118.32
   2019-02-26 21:28:36,514 INFO  [c.c.s.ConsoleProxyServlet] 
(qtp858242339-18:null) (logid:) Parse host info returned from executing 
GetVNCPortCommand. host info: 10.11.118.32
   2019-02-26 21:28:36,524 DEBUG [c.c.s.ConsoleProxyServlet] 
(qtp858242339-18:null) (logid:) Compose console url: 
http://10-11-118-125.cloud.leaseweb.net/ajax?token=QzfjXWRklXcLqh0NMp-uVMds87zWmdAEe427UG-0kqz-dRRlXZbP5VQL2Ch4WOym47w3Xogh0VEs5I-ZieOYGOWKRRhYeVeq7Isq9ocasPBa-kQ8cCb_rc7oGcC5HYJenAwgaN5xmIVyemyjgTlS6zt7e4PLqeMKH7vd_vgzyqUvJnHLOvygzcoZjT_AsqU-mwHuXnRxNaBroduX-F20wCBxwmYNqIH7Mg07XNDTb_HHa9zFp_ZbD6E3YgvjJdf_aJb8PBrS1DOCt5U5LsGpNw
   2019-02-26 21:28:36,525 DEBUG [c.c.s.ConsoleProxyServlet] 
(qtp858242339-18:null) (logid:) the console url is :: 
<html><title>s-3-VM</title><frameset><frame 
src="http://10-11-118-125.cloud.leaseweb.net/ajax?token=QzfjXWRklXcLqh0NMp-uVMds87zWmdAEe427UG-0kqz-dRRlXZbP5VQL2Ch4WOym47w3Xogh0VEs5I-ZieOYGOWKRRhYeVeq7Isq9ocasPBa-kQ8cCb_rc7oGcC5HYJenAwgaN5xmIVyemyjgTlS6zt7e4PLqeMKH7vd_vgzyqUvJnHLOvygzcoZjT_AsqU-mwHuXnRxNaBroduX-F20wCBxwmYNqIH7Mg07XNDTb_HHa9zFp_ZbD6E3YgvjJdf_aJb8PBrS1DOCt5U5LsGpNw";></frame></frameset></html>
   2019-02-26 21:28:36,726 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-15:null) (logid:) SeqA 4-757: Processing Seq 4-757:  { 
Cmd , MgmtId: -1, via: 4, Ver: v1, Flags: 11, 
[{"com.cloud.agent.api.ConsoleAccessAuthenticationCommand":{"_host":"10.11.118.32","_port":"5900","_vmId":"800c35b2-5eb9-4ed5-b167-bcacee909862","_sid":"kAJX5Sno8j3t47L_0LJjNg","_ticket":"gSZ/UHkRkFVjleZ2J0tjNbMZiK4=","_isReauthenticating":false,"wait":0}}]
 }
   2019-02-26 21:28:36,726 DEBUG [c.c.c.AgentHookBase] 
(AgentManager-Handler-15:null) (logid:) Console authentication. Ticket in url 
for 10.11.118.32:5900-800c35b2-5eb9-4ed5-b167-bcacee909862 is 
gSZ/UHkRkFVjleZ2J0tjNbMZiK4=
   2019-02-26 21:28:36,726 DEBUG [c.c.c.AgentHookBase] 
(AgentManager-Handler-15:null) (logid:) Console authentication. Ticket in 1 
minute boundary for 10.11.118.32:5900-800c35b2-5eb9-4ed5-b167-bcacee909862 is 
gSZ/UHkRkFVjleZ2J0tjNbMZiK4=
   2019-02-26 21:28:36,734 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-15:null) (logid:) SeqA 4-757: Sending Seq 4-757:  { Ans: 
, MgmtId: 6827823599962, via: 4, Ver: v1, Flags: 100010, 
[{"com.cloud.agent.api.ConsoleAccessAuthenticationAnswer":{"_success":true,"_isReauthenticating":false,"_port":0,"result":true,"wait":0}}]
 }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to