AndreaGHG commented on issue #3164: Cannot open console: ConsoleProxyServlet NullPointerException URL: https://github.com/apache/cloudstack/issues/3164#issuecomment-467782443 @ustcweizhou This is my management-server.log when try to opening a console: `2019-02-27 09:08:55,483 DEBUG [c.c.a.t.Request] (qtp510113906-11:null) (logid:) Seq 1-5167036147477515108: Sending { Cmd , MgmtId: 345052229470, via: 1(cs-esxy3-san.example.it), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.GetVncPortCommand":{"id":46,"name":"i-10-46-VM","wait":0}}] } 2019-02-27 09:08:55,483 DEBUG [c.c.a.t.Request] (qtp510113906-11:null) (logid:) Seq 1-5167036147477515108: Executing: { Cmd , MgmtId: 345052229470, via: 1(cs-esxy3-san.example.it), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.GetVncPortCommand":{"id":46,"name":"i-10-46-VM","wait":0}}] } 2019-02-27 09:08:55,484 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-71:ctx-423a0a8c) (logid:207652e3) Seq 1-5167036147477515108: Executing request 2019-02-27 09:08:55,515 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-71:ctx-423a0a8c cs-esxy3-san.example.it, cmd: GetVncPortCommand) (logid:207652e3) find VM i-10-46-VM on host 2019-02-27 09:08:55,515 INFO [c.c.h.v.m.HostMO] (DirectAgent-71:ctx-423a0a8c cs-esxy3-san.example.it, cmd: GetVncPortCommand) (logid:207652e3) VM i-10-46-VM not found in host cache 2019-02-27 09:08:55,515 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-71:ctx-423a0a8c cs-esxy3-san.example.it, cmd: GetVncPortCommand) (logid:207652e3) load VM cache on host 2019-02-27 09:08:55,647 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-71:ctx-423a0a8c) (logid:207652e3) Seq 1-5167036147477515108: Response Received: 2019-02-27 09:08:55,647 DEBUG [c.c.a.t.Request] (DirectAgent-71:ctx-423a0a8c) (logid:207652e3) Seq 1-5167036147477515108: Processing: { Ans: , MgmtId: 345052229470, via: 1(cs-esxy3-san.example.it), Ver: v1, Flags: 10, [{"com.cloud.agent.api.GetVncPortAnswer":{"address":"10.168.1.173","port":5950,"result":true,"wait":0}}] } 2019-02-27 09:08:55,648 DEBUG [c.c.a.t.Request] (qtp510113906-11:null) (logid:) Seq 1-5167036147477515108: Received: { Ans: , MgmtId: 345052229470, via: 1(cs-esxy3-san.example.it), Ver: v1, Flags: 10, { GetVncPortAnswer } } 2019-02-27 09:08:55,648 DEBUG [c.c.s.ConsoleProxyServlet] (qtp510113906-11:null) (logid:) Port info 10.168.1.173 2019-02-27 09:08:55,653 INFO [c.c.s.ConsoleProxyServlet] (qtp510113906-11:null) (logid:) Parse host info returned from executing GetVNCPortCommand. host info: 10.168.1.173 2019-02-27 09:08:55,660 DEBUG [c.c.s.ConsoleProxyServlet] (qtp510113906-11:null) (logid:) Compose console url: http://cs-proxy1-pub.example.it/ajax?token=Nb4P4M53ZEwJ7ommgbcBCAfcNCpx2uOjUJxhExVQh8Xk_nbJlbVMdE9hNOeX8lyUe-icsH4QB8Xz8Qpa68EjwJS5BFW6gT_56kO7uD0nJoUxG7G51SXtKU7O3UTb2MpoexKgXP9of98foLvF0VFJZXUKcbuaSuhx-G4awJEa3kELov6zSmtT2Lskttf0nACO95KTldFwP6Il4r5b6UIuKJBPPKmIQFh7dIZlLbXS4fp9Tc3xzdFbiUekCho0FXXEpduAn2jTquLkJvcibHhvwxRs14FJ-e7DFsSJLB3XSeo 2019-02-27 09:08:55,660 DEBUG [c.c.s.ConsoleProxyServlet] (qtp510113906-11:null) (logid:) the console url is :: <html><title>galera4</title><frameset><frame src="http://cs-proxy1-pub.example.it/ajax?token=Nb4P4M53ZEwJ7ommgbcBCAfcNCpx2uOjUJxhExVQh8Xk_nbJlbVMdE9hNOeX8lyUe-icsH4QB8Xz8Qpa68EjwJS5BFW6gT_56kO7uD0nJoUxG7G51SXtKU7O3UTb2MpoexKgXP9of98foLvF0VFJZXUKcbuaSuhx-G4awJEa3kELov6zSmtT2Lskttf0nACO95KTldFwP6Il4r5b6UIuKJBPPKmIQFh7dIZlLbXS4fp9Tc3xzdFbiUekCho0FXXEpduAn2jTquLkJvcibHhvwxRs14FJ-e7DFsSJLB3XSeo"></frame></frameset></html> 2019-02-27 09:08:56,224 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-9ed3deda) (logid:8d4562a7) Begin cleanup expired async-jobs 2019-02-27 09:08:56,231 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-9ed3deda) (logid:8d4562a7) End cleanup expired async-jobs 2019-02-27 09:08:56,671 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-1bdc133a) (logid:77575973) Found 6 routers to update status. 2019-02-27 09:08:56,673 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-1bdc133a) (logid:77575973) Found 0 VPC networks to update Redundant State. 2019-02-27 09:08:56,674 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-1bdc133a) (logid:77575973) Found 0 networks to update RvR status. 2019-02-27 09:09:01,663 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-80103e67) (logid:5648ecae) Resetting hosts suitable for reconnect 2019-02-27 09:09:01,666 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-80103e67) (logid:5648ecae) Completed resetting hosts suitable for reconnect 2019-02-27 09:09:01,666 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-80103e67) (logid:5648ecae) Acquiring hosts for clusters already owned by this management server 2019-02-27 09:09:01,669 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-80103e67) (logid:5648ecae) Completed acquiring hosts for clusters already owned by this management server ` Connecting on the Console Proxy with the VMWare console I cannot any service listening on 80 or 8080 ports. Can you show me your "netstat -lntp" output on the Console Proxy?
---------------------------------------------------------------- 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
