Console proxy vm in apache cloudstack – Access is denied for the console session. Please close the window and retry again

-1

When attempting to view the console for a virtual machine instance, the connection to the server fails. This issue prevents users from accessing the console interface of their VMs.

Recently we have updated the apache cloudstack version from 4.15.0 to 4.19.1.0 . After updating the version we are facing the issue that when user attempting to view the console for a virtual machine instance , the message shows on the browser “Access is denied for the console session. Please close the window and retry again”.

We also checked the /var/log/cloud.log of the consolepoxy vm. the logs are given as follows:

2024-08-03 06:59:17,552 INFO [cloud.consoleproxy.ConsoleProxy] (Console-Proxy-Main:null) Listening for HTTP CMDs on port 8001 2024-08-03 06:59:28,565 INFO [cloud.consoleproxy.ConsoleProxy] (Thread-12:null) Session null has already been used, cannot connect 2024-08-03 06:59:28,576 WARN [cloud.consoleproxy.ConsoleProxy] (Thread-12:null) External authenticator failed authentication request for vm 225aa5cd-a218-4c21-80a2-07615a03325f with sid SAJxPJ7i1KWCsiMJXCWA3g 2024-08-03 06:59:28,578 WARN [cloud.consoleproxy.ConsoleProxyAjaxHandler] (Thread-12:null) Failed to create viewer due to External authenticator failed request for vm 225aa5cd-a218-4c21-80a2-07615a03325f with sid SAJxPJ7i1KWCsiMJXCWA3g com.cloud.consoleproxy.AuthenticationException: External authenticator failed request for vm 225aa5cd-a218-4c21-80a2-07615a03325f with sid SAJxPJ7i1KWCsiMJXCWA3g at com.cloud.consoleproxy.ConsoleProxy.authenticationExternally(ConsoleProxy.java:564) at com.cloud.consoleproxy.ConsoleProxy.getAjaxVncViewer(ConsoleProxy.java:494) at com.cloud.consoleproxy.ConsoleProxyAjaxHandler.doHandle(ConsoleProxyAjaxHandler.java:142) at com.cloud.consoleproxy.ConsoleProxyAjaxHandler.handle(ConsoleProxyAjaxHandler.java:51) at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77) at jdk.httpserver/sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:82) at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:80) at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:848) at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77) at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:817) at java.base/java.lang.Thread.run(Thread.java:829) 2024-08-03 06:59:35,505 INFO [cloud.consoleproxy.ConsoleProxy] (Thread-15:null) Session null has already been used, cannot connect 2024-08-03 06:59:35,513 WARN [cloud.consoleproxy.ConsoleProxy] (Thread-15:null) External authenticator failed authentication request for vm 225aa5cd-a218-4c21-80a2-07615a03325f with sid SAJxPJ7i1KWCsiMJXCWA3g 2024-08-03 06:59:35,514 WARN [cloud.consoleproxy.ConsoleProxyAjaxHandler] (Thread-15:null) Failed to create viewer due to External authenticator failed request for vm 225aa5cd-a218-4c21-80a2-07615a03325f with sid SAJxPJ7i1KWCsiMJXCWA3g com.cloud.consoleproxy.AuthenticationException: External authenticator failed request for vm 225aa5cd-a218-4c21-80a2-07615a03325f with sid SAJxPJ7i1KWCsiMJXCWA3g at com.cloud.consoleproxy.ConsoleProxy.authenticationExternally(ConsoleProxy.java:564) at com.cloud.consoleproxy.ConsoleProxy.getAjaxVncViewer(ConsoleProxy.java:494) at com.cloud.consoleproxy.ConsoleProxyAjaxHandler.doHandle(ConsoleProxyAjaxHandler.java:142) at com.cloud.consoleproxy.ConsoleProxyAjaxHandler.handle(ConsoleProxyAjaxHandler.java:51) at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77) at jdk.httpserver/sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:82) at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:80) at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:848) at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77) at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:817) at java.base/java.lang.Thread.run(Thread.java:829) 2024-08-03 06:59:42,995 INFO [cloud.consoleproxy.ConsoleProxy] (Thread-18:null) Session null has already been used, cannot connect 2024-08-03 06:59:43,006 WARN [cloud.consoleproxy.ConsoleProxy] (Thread-18:null) External authenticator failed authentication request for vm 225aa5cd-a218-4c21-80a2-07615a03325f with sid SAJxPJ7i1KWCsiMJXCWA3g 2024-08-03 06:59:43,009 WARN [cloud.consoleproxy.ConsoleProxyAjaxHandler] (Thread-18:null) Failed to create viewer due to External authenticator failed request for vm 225aa5cd-a218-4c21-80a2-07615a03325f with sid SAJxPJ7i1KWCsiMJXCWA3g com.cloud.consoleproxy.AuthenticationException: External authenticator failed request for vm 225aa5cd-a218-4c21-80a2-07615a03325f with sid SAJxPJ7i1KWCsiMJXCWA3g at com.cloud.consoleproxy.ConsoleProxy.authenticationExternally(ConsoleProxy.java:564) at com.cloud.consoleproxy.ConsoleProxy.getAjaxVncViewer(ConsoleProxy.java:494) at com.cloud.consoleproxy.ConsoleProxyAjaxHandler.doHandle(ConsoleProxyAjaxHandler.java:142) at com.cloud.consoleproxy.ConsoleProxyAjaxHandler.handle(ConsoleProxyAjaxHandler.java:51) at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77) at jdk.httpserver/sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:82) at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:80) at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:848) at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77) at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:817) at java.base/java.lang.Thread.run(Thread.java:829)

steps tried:

  1. Navigate to the VM instances page.
  2. Select a specific VM instance.
  3. Attempt to open the console view for the selected VM.

EXPECTED RESULTS
The console should load and allow interaction with the VM instance.

New contributor

Amit is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật