WebSock error: [object Event]

Hi,

After hooking up a libvirt server to foreman I'm unable to access the
VNC console. I already checked everything from
Foreman :: Manual but I still get
the "WebSock error: [object Event]" error.

I've set "network.websocket.allowInsecureFromHTTPS" to true on
firefox-29.0.1-1.fc20.x86_64 and telnet to the vnc port is working from
both my workstation and the foreman server. Also there is a websocket.py
running and the port is connectable with telnet.

I cannot test chrome because the "Allow insecure WebSocket from https
origin" option is not available in chromium 34 which is the latest I get
from a repo.

Also tried it on a windows 7 machine with chrome with the same error.

Anything else I can do to debug?

Kind regards,

Jorick Astrego
Netbulae B.V.

Could you check if your Foreman server has SELinux enforcing
(getenforce) and if there are any AVCs (grep AVC /var/log/audit/audit.log)?

Somebody in the IRC channel reported the same error a couple of days
ago, and it was down to AVCs. We tried to add policy for the consoles
in 1.5, so it may be this is incomplete.

If that's the case, please file the AVCs over at
Foreman and we can
try to fix it.

Cheers,

··· On 11/06/14 07:56, Jorick Astrego wrote: > Hi, > > After hooking up a libvirt server to foreman I'm unable to access the > VNC console. I already checked everything from > http://theforeman.org/manuals/1.5/index.html#7.1NoVNC but I still get > the "WebSock error: [object Event]" error.


Dominic Cleal
Red Hat Engineering

Yest that is the case, I'll put it in permissive and file the issue.

Thanks!

Kind regards,

Jorick Astrego
Netbulae B.V.

··· On 06/11/2014 02:12 PM, Dominic Cleal wrote: > On 11/06/14 07:56, Jorick Astrego wrote: >> Hi, >> >> After hooking up a libvirt server to foreman I'm unable to access the >> VNC console. I already checked everything from >> http://theforeman.org/manuals/1.5/index.html#7.1NoVNC but I still get >> the "WebSock error: [object Event]" error. > Could you check if your Foreman server has SELinux enforcing > (`getenforce`) and if there are any AVCs (`grep AVC > /var/log/audit/audit.log`)? > > Somebody in the IRC channel reported the same error a couple of days > ago, and it was down to AVCs. We tried to add policy for the consoles > in 1.5, so it may be this is incomplete. > > If that's the case, please file the AVCs over at > http://projects.theforeman.org/projects/selinux/issues/new and we can > try to fix it. > > Cheers, >

Hi All,
Can any one help me on this below error ? "WebSock error: [object
Event]" error.

2017-10-24 11:54:18 efa2e55c [app] [D] Starting VNC Proxy:
/usr/share/foreman/extras/noVNC/websockify.py --daemon --idle-timeout=120
–timeout=120 5913 kvm.radisys.com:5907 --cert
/etc/puppetlabs/puppet/ssl/certs/certnew.pem --key
/etc/puppetlabs/puppet/ssl/private_keys/my-private-key.pem
2017-10-24 11:54:18 efa2e55c [app] [D] [WARNING: no 'numpy' module, HyBi
protocol will be slower
>
2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: WebSocket server
settings:
>
2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Listen on :5913
>
2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Flash security
policy server
>
2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - SSL/TLS support
>
2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Backgrounding
(daemon)

Regards,
Subramaniyan.R

··· On Wednesday, 11 June 2014 17:26:16 UTC+5:30, Jorick Astrego wrote: > > Hi, > > After hooking up a libvirt server to foreman I'm unable to access the > VNC console. I already checked everything from > http://theforeman.org/manuals/1.5/index.html#7.1NoVNC but I still get > the "WebSock error: [object Event]" error. > > I've set "network.websocket.allowInsecureFromHTTPS" to true on > firefox-29.0.1-1.fc20.x86_64 and telnet to the vnc port is working from > both my workstation and the foreman server. Also there is a websocket.py > running and the port is connectable with telnet. > > I cannot test chrome because the "Allow insecure WebSocket from https > origin" option is not available in chromium 34 which is the latest I get > from a repo. > > Also tried it on a windows 7 machine with chrome with the same error. > > Anything else I can do to debug? > > Kind regards, > > Jorick Astrego > Netbulae B.V. > >

Jorick,

please ping me on IRC. I am unable to reproduce too.

The issue is:

http://projects.theforeman.org/issues/6162

LZ

··· On Wed, Jun 11, 2014 at 03:25:21PM +0200, Jorick Astrego wrote: > > On 06/11/2014 02:12 PM, Dominic Cleal wrote: > >On 11/06/14 07:56, Jorick Astrego wrote: > >>Hi, > >> > >>After hooking up a libvirt server to foreman I'm unable to access the > >>VNC console. I already checked everything from > >>http://theforeman.org/manuals/1.5/index.html#7.1NoVNC but I still get > >>the "WebSock error: [object Event]" error. > >Could you check if your Foreman server has SELinux enforcing > >(`getenforce`) and if there are any AVCs (`grep AVC > >/var/log/audit/audit.log`)? > > > >Somebody in the IRC channel reported the same error a couple of days > >ago, and it was down to AVCs. We tried to add policy for the consoles > >in 1.5, so it may be this is incomplete. > > > >If that's the case, please file the AVCs over at > >http://projects.theforeman.org/projects/selinux/issues/new and we can > >try to fix it. > > > >Cheers, > > > Yest that is the case, I'll put it in permissive and file the issue. > > Thanks! > > Kind regards, > > Jorick Astrego > Netbulae B.V. > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman

What compute resource is it? This will only work with libvirt and
oVirt/RHEV I believe.

LZ

··· On Tue, Oct 24, 2017 at 8:28 AM, Subramaniyan .R wrote: > Hi All, > Can any one help me on this below error ? "WebSock error: [object > Event]" error. > > > 2017-10-24 11:54:18 efa2e55c [app] [D] Starting VNC Proxy: > /usr/share/foreman/extras/noVNC/websockify.py --daemon --idle-timeout=120 > --timeout=120 5913 kvm.radisys.com:5907 --cert > /etc/puppetlabs/puppet/ssl/certs/certnew.pem --key > /etc/puppetlabs/puppet/ssl/private_keys/my-private-key.pem > 2017-10-24 11:54:18 efa2e55c [app] [D] [WARNING: no 'numpy' module, HyBi > protocol will be slower > > > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: WebSocket server > settings: > > > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Listen on :5913 > > > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Flash security > policy server > > > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - SSL/TLS support > > > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Backgrounding > (daemon) > > > Regards, > Subramaniyan.R > > > On Wednesday, 11 June 2014 17:26:16 UTC+5:30, Jorick Astrego wrote: >> >> Hi, >> >> After hooking up a libvirt server to foreman I'm unable to access the >> VNC console. I already checked everything from >> http://theforeman.org/manuals/1.5/index.html#7.1NoVNC but I still get >> the "WebSock error: [object Event]" error. >> >> I've set "network.websocket.allowInsecureFromHTTPS" to true on >> firefox-29.0.1-1.fc20.x86_64 and telnet to the vnc port is working from >> both my workstation and the foreman server. Also there is a websocket.py >> running and the port is connectable with telnet. >> >> I cannot test chrome because the "Allow insecure WebSocket from https >> origin" option is not available in chromium 34 which is the latest I get >> from a repo. >> >> Also tried it on a windows 7 machine with chrome with the same error. >> >> Anything else I can do to debug? >> >> Kind regards, >> >> Jorick Astrego >> Netbulae B.V. >> > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal

Hi,

I'm connected on irc://freenode/foreman but I don't see you there…

Kind regards,

Jorick

··· On 06/12/2014 01:36 PM, Lukas Zapletal wrote: > Jorick, > > please ping me on IRC. I am unable to reproduce too. > > The issue is: > > http://projects.theforeman.org/issues/6162 > > LZ > > On Wed, Jun 11, 2014 at 03:25:21PM +0200, Jorick Astrego wrote: >> On 06/11/2014 02:12 PM, Dominic Cleal wrote: >>> On 11/06/14 07:56, Jorick Astrego wrote: >>>> Hi, >>>> >>>> After hooking up a libvirt server to foreman I'm unable to access the >>>> VNC console. I already checked everything from >>>> http://theforeman.org/manuals/1.5/index.html#7.1NoVNC but I still get >>>> the "WebSock error: [object Event]" error. >>> Could you check if your Foreman server has SELinux enforcing >>> (`getenforce`) and if there are any AVCs (`grep AVC >>> /var/log/audit/audit.log`)? >>> >>> Somebody in the IRC channel reported the same error a couple of days >>> ago, and it was down to AVCs. We tried to add policy for the consoles >>> in 1.5, so it may be this is incomplete. >>> >>> If that's the case, please file the AVCs over at >>> http://projects.theforeman.org/projects/selinux/issues/new and we can >>> try to fix it. >>> >>> Cheers, >>> >> Yest that is the case, I'll put it in permissive and file the issue. >> >> Thanks! >> >> Kind regards, >> >> Jorick Astrego >> Netbulae B.V. >> >> -- >> You received this message because you are subscribed to the Google Groups "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. >> To post to this group, send email to foreman-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout.

i have used libvirt,

··· On Wednesday, 25 October 2017 19:14:34 UTC+5:30, Lukas Zapletal wrote: > > What compute resource is it? This will only work with libvirt and > oVirt/RHEV I believe. > > LZ > > On Tue, Oct 24, 2017 at 8:28 AM, Subramaniyan .R > wrote: > > Hi All, > > Can any one help me on this below error ? "WebSock error: [object > > Event]" error. > > > > > > 2017-10-24 11:54:18 efa2e55c [app] [D] Starting VNC Proxy: > > /usr/share/foreman/extras/noVNC/websockify.py --daemon > --idle-timeout=120 > > --timeout=120 5913 kvm.radisys.com:5907 --cert > > /etc/puppetlabs/puppet/ssl/certs/certnew.pem --key > > /etc/puppetlabs/puppet/ssl/private_keys/my-private-key.pem > > 2017-10-24 11:54:18 efa2e55c [app] [D] [WARNING: no 'numpy' module, HyBi > > protocol will be slower > > > > > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: WebSocket server > > settings: > > > > > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Listen on > :5913 > > > > > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Flash > security > > policy server > > > > > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - SSL/TLS > support > > > > > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Backgrounding > > (daemon) > > > > > > Regards, > > Subramaniyan.R > > > > > > On Wednesday, 11 June 2014 17:26:16 UTC+5:30, Jorick Astrego wrote: > >> > >> Hi, > >> > >> After hooking up a libvirt server to foreman I'm unable to access the > >> VNC console. I already checked everything from > >> http://theforeman.org/manuals/1.5/index.html#7.1NoVNC but I still get > >> the "WebSock error: [object Event]" error. > >> > >> I've set "network.websocket.allowInsecureFromHTTPS" to true on > >> firefox-29.0.1-1.fc20.x86_64 and telnet to the vnc port is working from > >> both my workstation and the foreman server. Also there is a > websocket.py > >> running and the port is connectable with telnet. > >> > >> I cannot test chrome because the "Allow insecure WebSocket from https > >> origin" option is not available in chromium 34 which is the latest I > get > >> from a repo. > >> > >> Also tried it on a windows 7 machine with chrome with the same error. > >> > >> Anything else I can do to debug? > >> > >> Kind regards, > >> > >> Jorick Astrego > >> Netbulae B.V. > >> > > -- > > You received this message because you are subscribed to the Google > Groups > > "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at https://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Later, > Lukas @lzap Zapletal >

>
> Hi,
>
> I'm connected on irc://freenode/foreman but I don't see you there…

Try #theforeman :slight_smile:
>
> Kind regards,
>
> Jorick
>
>
>>
>> Jorick,
>>
>> please ping me on IRC. I am unable to reproduce too.
>>
>> The issue is:
>>
>> Bug #6162: "WebSock error: [object Event]" - SELinux - Foreman
>>
>> LZ
>>
>>>
>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> After hooking up a libvirt server to foreman I'm unable to access the
>>>>> VNC console. I already checked everything from
>>>>> Foreman :: Manual but I still get
>>>>> the "WebSock error: [object Event]" error.
>>>>
>>>> Could you check if your Foreman server has SELinux enforcing
>>>> (getenforce) and if there are any AVCs (grep AVC >>>> /var/log/audit/audit.log)?
>>>>
>>>> Somebody in the IRC channel reported the same error a couple of days
>>>> ago, and it was down to AVCs. We tried to add policy for the consoles
>>>> in 1.5, so it may be this is incomplete.
>>>>
>>>> If that's the case, please file the AVCs over at
>>>> Foreman and we can
>>>> try to fix it.
>>>>
>>>> Cheers,
>>>>
>>> Yest that is the case, I'll put it in permissive and file the issue.
>>>
>>> Thanks!
>>>
>>> Kind regards,
>>>
>>> Jorick Astrego
>>> Netbulae B.V.
>>>
>>> –
>>> You received this message because you are subscribed to the Google
Groups "Foreman users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com.
>>> To post to this group, send email to foreman-users@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/foreman-users.
>>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> –
> You received this message because you are subscribed to the Google Groups
"Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.

··· On Jun 12, 2014 8:55 AM, "Jorick Astrego" wrote: > On 06/12/2014 01:36 PM, Lukas Zapletal wrote: >> On Wed, Jun 11, 2014 at 03:25:21PM +0200, Jorick Astrego wrote: >>> On 06/11/2014 02:12 PM, Dominic Cleal wrote: >>>> On 11/06/14 07:56, Jorick Astrego wrote: > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.

Please read:

https://theforeman.org/manuals/1.15/index.html#7.1NoVNC

and follow the instructions there.

LZ

··· On Thu, Oct 26, 2017 at 7:04 AM, Subramaniyan .R wrote: > i have used libvirt, > > On Wednesday, 25 October 2017 19:14:34 UTC+5:30, Lukas Zapletal wrote: >> >> What compute resource is it? This will only work with libvirt and >> oVirt/RHEV I believe. >> >> LZ >> >> On Tue, Oct 24, 2017 at 8:28 AM, Subramaniyan .R >> wrote: >> > Hi All, >> > Can any one help me on this below error ? "WebSock error: [object >> > Event]" error. >> > >> > >> > 2017-10-24 11:54:18 efa2e55c [app] [D] Starting VNC Proxy: >> > /usr/share/foreman/extras/noVNC/websockify.py --daemon >> > --idle-timeout=120 >> > --timeout=120 5913 kvm.radisys.com:5907 --cert >> > /etc/puppetlabs/puppet/ssl/certs/certnew.pem --key >> > /etc/puppetlabs/puppet/ssl/private_keys/my-private-key.pem >> > 2017-10-24 11:54:18 efa2e55c [app] [D] [WARNING: no 'numpy' module, HyBi >> > protocol will be slower >> > > >> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: WebSocket server >> > settings: >> > > >> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Listen on >> > :5913 >> > > >> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Flash >> > security >> > policy server >> > > >> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - SSL/TLS >> > support >> > > >> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Backgrounding >> > (daemon) >> > >> > >> > Regards, >> > Subramaniyan.R >> > >> > >> > On Wednesday, 11 June 2014 17:26:16 UTC+5:30, Jorick Astrego wrote: >> >> >> >> Hi, >> >> >> >> After hooking up a libvirt server to foreman I'm unable to access the >> >> VNC console. I already checked everything from >> >> http://theforeman.org/manuals/1.5/index.html#7.1NoVNC but I still get >> >> the "WebSock error: [object Event]" error. >> >> >> >> I've set "network.websocket.allowInsecureFromHTTPS" to true on >> >> firefox-29.0.1-1.fc20.x86_64 and telnet to the vnc port is working from >> >> both my workstation and the foreman server. Also there is a >> >> websocket.py >> >> running and the port is connectable with telnet. >> >> >> >> I cannot test chrome because the "Allow insecure WebSocket from https >> >> origin" option is not available in chromium 34 which is the latest I >> >> get >> >> from a repo. >> >> >> >> Also tried it on a windows 7 machine with chrome with the same error. >> >> >> >> Anything else I can do to debug? >> >> >> >> Kind regards, >> >> >> >> Jorick Astrego >> >> Netbulae B.V. >> >> >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Foreman users" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to foreman-user...@googlegroups.com. >> > To post to this group, send email to forema...@googlegroups.com. >> > Visit this group at https://groups.google.com/group/foreman-users. >> > For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> Later, >> Lukas @lzap Zapletal > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal

Having the same error message again after upgrading to 1.6 release:

foreman-1.6.0-1.el6.noarch

And I have selinux still in permissive mode.

There is nothing in the logs except:

Started GET "/hosts/testnode.test.nu/console" for 10.xxx.xxx.x at
2014-09-16 13:05:37 +0200
Processing by HostsController#console as HTML
   Parameters: {"id"=>"testnode.test.nu"}
   Rendered hosts/console/vnc.html.erb within layouts/application
(5.5ms)
   Rendered home/_user_dropdown.html.erb (1.6ms)
Read fragment views/tabs_and_title_records-3 (0.1ms)
   Rendered home/_topbar.html.erb (108.4ms)
   Rendered layouts/base.html.erb (109.8ms)
Completed 200 OK in 248ms (Views: 117.5ms | ActiveRecord: 2.9ms)

After looking at webslockify.py, it appears to use port 5900

foreman 21762 1 0 13:29 ? 00:00:00 /usr/bin/python
/usr/share/foreman/extras/noVNC/websockify.py --daemon
–idle-timeout=120 --timeout=120 5910 testnode.test.nu:5900 --cert
/var/lib/puppet/ssl/certs/testforeman.test.nu.pem --key
/var/lib/puppet/ssl/private_keys/testforeman.test.nu.pem

The manual states a port range of 5910 - 5930:

    7.1 NoVNC

Foreman uses the excellent javascript VNC library noVNC
<http://kanaka.github.com/noVNC/noVNC/vnc.html>, which allows
clientless VNC within a web browser. When a console is opened by the
user's web browser, Foreman opens a connection to TCP Port 5910 (and
up) on the hypervisor and redirects that itself.


      Requirements

  * Recent web browser
  * Open network connection from the workstation where the web
    browser runs on to your Foreman server and from your Foreman
    server to the hypervisor on TCP *ports 5910 - 5930.*

Even though, I now opened up port 5900 it still doesn't work. It does
listen to it:

netstat -an|grep 59
tcp        0      0 0.0.0.0:5900 0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:5901 0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:5902 0.0.0.0:*                   LISTEN
tcp        0      0 127.0.0.1:5903 0.0.0.0:*                   LISTEN
tcp        0      0 xxx.xxx.xxx.xxx:5900
xxx.xxx.xxx.xxx:57932          TIME_WAIT

Kind regards,

Jorick Astrego
Netbulae

··· On 06/12/2014 02:57 PM, Ohad Levy wrote: > > > > > On 06/12/2014 01:36 PM, Lukas Zapletal wrote: > >> > >> Jorick, > >> > >> please ping me on IRC. I am unable to reproduce too. > >> > >> The issue is: > >> > >> http://projects.theforeman.org/issues/6162 > >> > >> LZ > >> > >> On Wed, Jun 11, 2014 at 03:25:21PM +0200, Jorick Astrego wrote: > >>> > >>> On 06/11/2014 02:12 PM, Dominic Cleal wrote: > >>>> > >>>> On 11/06/14 07:56, Jorick Astrego wrote: > >>>>> > >>>>> Hi, > >>>>> > >>>>> After hooking up a libvirt server to foreman I'm unable to > access the > >>>>> VNC console. I already checked everything from > >>>>> http://theforeman.org/manuals/1.5/index.html#7.1NoVNC but I > still get > >>>>> the "WebSock error: [object Event]" error. > >>>> > >>>> Could you check if your Foreman server has SELinux enforcing > >>>> (`getenforce`) and if there are any AVCs (`grep AVC > >>>> /var/log/audit/audit.log`)? > >>>> > >>>> Somebody in the IRC channel reported the same error a couple of days > >>>> ago, and it was down to AVCs. We tried to add policy for the > consoles > >>>> in 1.5, so it may be this is incomplete. > >>>> > >>>> If that's the case, please file the AVCs over at > >>>> http://projects.theforeman.org/projects/selinux/issues/new and we can > >>>> try to fix it. > >>>> > >>>> Cheers, > >>>> > >>> Yest that is the case, I'll put it in permissive and file the issue. > >>> > >>> Thanks! > >>> > >>> Kind regards, > >>> > >>> Jorick Astrego > >>> Netbulae B.V. > >>> > >

Hi Lzap,
Thanka for your reply. I'm following the same article,but not able to get
the console for libvirt, getting the same error.can you help me to trace
the issue?

Please read:

https://theforeman.org/manuals/1.15/index.html#7.1NoVNC

and follow the instructions there.

LZ

> i have used libvirt,
>
>>
>> What compute resource is it? This will only work with libvirt and
>> oVirt/RHEV I believe.
>>
>> LZ
>>
>> > Hi All,
>> > Can any one help me on this below error ? "WebSock error: [object
>> > Event]" error.
>> >
>> >
>> > 2017-10-24 11:54:18 efa2e55c [app] [D] Starting VNC Proxy:
>> > /usr/share/foreman/extras/noVNC/websockify.py --daemon
>> > --idle-timeout=120
>> > --timeout=120 5913 kvm.radisys.com:5907 --cert
>> > /etc/puppetlabs/puppet/ssl/certs/certnew.pem --key
>> > /etc/puppetlabs/puppet/ssl/private_keys/my-private-key.pem
>> > 2017-10-24 11:54:18 efa2e55c [app] [D] [WARNING: no 'numpy' module,
HyBi
>> > protocol will be slower
>> > >
>> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: WebSocket server
>> > settings:
>> > >
>> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Listen on
>> > :5913
>> > >
>> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Flash
>> > security
>> > policy server
>> > >
>> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - SSL/TLS
>> > support
>> > >
>> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: -
Backgrounding
>> > (daemon)
>> >
>> >
>> > Regards,
>> > Subramaniyan.R
>> >
>> >
>> >>
>> >> Hi,
>> >>
>> >> After hooking up a libvirt server to foreman I'm unable to access the
>> >> VNC console. I already checked everything from
>> >> Foreman :: Manual but I still get
>> >> the "WebSock error: [object Event]" error.
>> >>
>> >> I've set "network.websocket.allowInsecureFromHTTPS" to true on
>> >> firefox-29.0.1-1.fc20.x86_64 and telnet to the vnc port is working
from

··· On Oct 26, 2017 7:25 PM, "Lukas Zapletal" wrote: On Thu, Oct 26, 2017 at 7:04 AM, Subramaniyan .R wrote: > On Wednesday, 25 October 2017 19:14:34 UTC+5:30, Lukas Zapletal wrote: >> On Tue, Oct 24, 2017 at 8:28 AM, Subramaniyan .R >> wrote: >> > On Wednesday, 11 June 2014 17:26:16 UTC+5:30, Jorick Astrego wrote: >> >> both my workstation and the foreman server. Also there is a >> >> websocket.py >> >> running and the port is connectable with telnet. >> >> >> >> I cannot test chrome because the "Allow insecure WebSocket from https >> >> origin" option is not available in chromium 34 which is the latest I >> >> get >> >> from a repo. >> >> >> >> Also tried it on a windows 7 machine with chrome with the same error. >> >> >> >> Anything else I can do to debug? >> >> >> >> Kind regards, >> >> >> >> Jorick Astrego >> >> Netbulae B.V. >> >> >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Foreman users" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to foreman-user...@googlegroups.com. >> > To post to this group, send email to forema...@googlegroups.com. >> > Visit this group at https://groups.google.com/group/foreman-users. >> > For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> Later, >> Lukas @lzap Zapletal > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/foreman-users/JSxObqrbXKE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

5900 is the port your VMHost is serving your vmguest VNC for the
websockify.py proxy. noVNC in your browser connects to one of the ports
from 5910-5930 range, on your foreman host and websockify passes it to the
VMhost. You have the 5910 port indication in front of your
testnode.test.nu:5900 in 'ps aux' output line.

You are probably using a self-signed certificate which your browser does
not accept - and it does not popup with the warning. It would do that if it
was https but that's not the case with websockets protocol which
websockify.py uses.

Right after you go to the hosts 'Console' and get websocket error, in
another tab, open https://yourforemanhostname:5910 and add certificate
exception (you will still get a connection error in that tab) - you need to
do that within 120sec websockify.py time-out. Then kill all the
websockify.py processes and try opening the host's console again - it
should work now but only one time (or after another 120sec) because:

Every time you open the 'Console' page, another websockify.py is started
with the first unused port number from 5910-5930 range. So you need to add
exceptions in your browser for a couple of them to get it working reliably.
The perfect solution would be to have a certificate issued by a CA your
browser trusts.

I spent half of my last Friday finding that out :slight_smile:

Cheers,
Greg

Please read and copy paste all lines from Troubleshooting and Known
Issues section and make note to each of them, if you tested this and
how.

I can hardly help you - all I need is "it does not work". But 90% of
issues are listed here ^^^

··· On Thu, Oct 26, 2017 at 4:36 PM, subramaniyan.R wrote: > Hi Lzap, > Thanka for your reply. I'm following the same article,but not able to get > the console for libvirt, getting the same error.can you help me to trace the > issue? > > On Oct 26, 2017 7:25 PM, "Lukas Zapletal" wrote: > > Please read: > > https://theforeman.org/manuals/1.15/index.html#7.1NoVNC > > and follow the instructions there. > > LZ > > On Thu, Oct 26, 2017 at 7:04 AM, Subramaniyan .R wrote: >> i have used libvirt, >> >> On Wednesday, 25 October 2017 19:14:34 UTC+5:30, Lukas Zapletal wrote: >>> >>> What compute resource is it? This will only work with libvirt and >>> oVirt/RHEV I believe. >>> >>> LZ >>> >>> On Tue, Oct 24, 2017 at 8:28 AM, Subramaniyan .R >>> wrote: >>> > Hi All, >>> > Can any one help me on this below error ? "WebSock error: [object >>> > Event]" error. >>> > >>> > >>> > 2017-10-24 11:54:18 efa2e55c [app] [D] Starting VNC Proxy: >>> > /usr/share/foreman/extras/noVNC/websockify.py --daemon >>> > --idle-timeout=120 >>> > --timeout=120 5913 kvm.radisys.com:5907 --cert >>> > /etc/puppetlabs/puppet/ssl/certs/certnew.pem --key >>> > /etc/puppetlabs/puppet/ssl/private_keys/my-private-key.pem >>> > 2017-10-24 11:54:18 efa2e55c [app] [D] [WARNING: no 'numpy' module, >>> > HyBi >>> > protocol will be slower >>> > > >>> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: WebSocket server >>> > settings: >>> > > >>> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Listen on >>> > :5913 >>> > > >>> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Flash >>> > security >>> > policy server >>> > > >>> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - SSL/TLS >>> > support >>> > > >>> > 2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - >>> > Backgrounding >>> > (daemon) >>> > >>> > >>> > Regards, >>> > Subramaniyan.R >>> > >>> > >>> > On Wednesday, 11 June 2014 17:26:16 UTC+5:30, Jorick Astrego wrote: >>> >> >>> >> Hi, >>> >> >>> >> After hooking up a libvirt server to foreman I'm unable to access the >>> >> VNC console. I already checked everything from >>> >> http://theforeman.org/manuals/1.5/index.html#7.1NoVNC but I still get >>> >> the "WebSock error: [object Event]" error. >>> >> >>> >> I've set "network.websocket.allowInsecureFromHTTPS" to true on >>> >> firefox-29.0.1-1.fc20.x86_64 and telnet to the vnc port is working >>> >> from >>> >> both my workstation and the foreman server. Also there is a >>> >> websocket.py >>> >> running and the port is connectable with telnet. >>> >> >>> >> I cannot test chrome because the "Allow insecure WebSocket from https >>> >> origin" option is not available in chromium 34 which is the latest I >>> >> get >>> >> from a repo. >>> >> >>> >> Also tried it on a windows 7 machine with chrome with the same error. >>> >> >>> >> Anything else I can do to debug? >>> >> >>> >> Kind regards, >>> >> >>> >> Jorick Astrego >>> >> Netbulae B.V. >>> >> >>> > -- >>> > You received this message because you are subscribed to the Google >>> > Groups >>> > "Foreman users" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> > an >>> > email to foreman-user...@googlegroups.com. >>> > To post to this group, send email to forema...@googlegroups.com. >>> > Visit this group at https://groups.google.com/group/foreman-users. >>> > For more options, visit https://groups.google.com/d/optout. >>> >>> >>> >>> -- >>> Later, >>> Lukas @lzap Zapletal >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-users+unsubscribe@googlegroups.com. >> To post to this group, send email to foreman-users@googlegroups.com. >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. > > > > -- > Later, > Lukas @lzap Zapletal > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Foreman users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/foreman-users/JSxObqrbXKE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal

Hi Greg,

Thanks a lot!!! That worked perfectly.

It's a bit of extra work but it will have to do for now.

Kind regards,

Jorick Astrego
Netbulae B.V.

··· On 09/17/2014 04:29 AM, Grzegorz Ojrzanowski wrote: > 5900 is the port your VMHost is serving your vmguest VNC for the > websockify.py proxy. noVNC in your browser connects to one of the > ports from 5910-5930 range, on your foreman host and websockify passes > it to the VMhost. You have the 5910 port indication in front of your > testnode.test.nu:5900 in 'ps aux' output line. > > You are probably using a self-signed certificate which your browser > does not accept - and it does not popup with the warning. It would do > that if it was https but that's not the case with websockets protocol > which websockify.py uses. > > Right after you go to the hosts 'Console' and get websocket error, in > another tab, open https://yourforemanhostname:5910 and add certificate > exception (you will still get a connection error in that tab) - you > need to do that within 120sec websockify.py time-out. Then kill all > the websockify.py processes and try opening the host's console again - > it should work now but only one time (or after another 120sec) because: > > Every time you open the 'Console' page, another websockify.py is > started with the first unused port number from 5910-5930 range. So you > need to add exceptions in your browser for a couple of them to get it > working reliably. The perfect solution would be to have a certificate > issued by a CA your browser trusts. > > I spent half of my last Friday finding that out :) > > Cheers, > Greg

Hi Lukas,
while trying to connect the console im getting the error. i have
modified two files for console listed below and i have tried in firefox and
chrome also but doesn't work for me.

vim /etc/httpd/conf.d/05-foreman-ssl.conf

SSL directives

SSLEngine on
SSLCertificateFile "/etc/puppetlabs/puppet/ssl/certs/newcert.pem"
SSLCertificateKeyFile
"/etc/puppetlabs/puppet/ssl/private_keys/localkey.pem"
SSLCertificateChainFile "/etc/puppetlabs/puppet/ssl/certs/chain.pem"
SSLVerifyClient optional
SSLCACertificateFile "/etc/puppetlabs/puppet/ssl/certs/ca.pem"
SSLCARevocationFile "/etc/puppetlabs/puppet/ssl/crl.pem"
SSLVerifyDepth 3

vi /etc/foreman/settings.yaml

Websockets

:websockets_encrypt: true
:websockets_ssl_key: /etc/puppetlabs/puppet/ssl/private_keys/localkey.pem
:websockets_ssl_cert: /etc/puppetlabs/puppet/ssl/certs/newcert.pem

SSL-settings

Regards,

Subramaniyan.R

··· On Fri, Oct 27, 2017 at 1:56 PM, Lukas Zapletal wrote:

Please read and copy paste all lines from Troubleshooting and Known
Issues section and make note to each of them, if you tested this and
how.

I can hardly help you - all I need is “it does not work”. But 90% of
issues are listed here ^^^

On Thu, Oct 26, 2017 at 4:36 PM, subramaniyan.R subupndm@gmail.com > wrote:

Hi Lzap,
Thanka for your reply. I’m following the same article,but not able to
get
the console for libvirt, getting the same error.can you help me to trace
the
issue?

On Oct 26, 2017 7:25 PM, “Lukas Zapletal” lzap@redhat.com wrote:

Please read:

Foreman :: Manual

and follow the instructions there.

LZ

On Thu, Oct 26, 2017 at 7:04 AM, Subramaniyan .R subupndm@gmail.com > wrote:

i have used libvirt,

On Wednesday, 25 October 2017 19:14:34 UTC+5:30, Lukas Zapletal wrote:

What compute resource is it? This will only work with libvirt and
oVirt/RHEV I believe.

LZ

On Tue, Oct 24, 2017 at 8:28 AM, Subramaniyan .R subu...@gmail.com > >>> wrote:

Hi All,
Can any one help me on this below error ? "WebSock error:
[object

Event]" error.

2017-10-24 11:54:18 efa2e55c [app] [D] Starting VNC Proxy:
/usr/share/foreman/extras/noVNC/websockify.py --daemon
–idle-timeout=120
–timeout=120 5913 kvm.radisys.com:5907 --cert
/etc/puppetlabs/puppet/ssl/certs/certnew.pem --key
/etc/puppetlabs/puppet/ssl/private_keys/my-private-key.pem
2017-10-24 11:54:18 efa2e55c [app] [D] [WARNING: no ‘numpy’ module,
HyBi
protocol will be slower

2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: WebSocket
server

settings:

2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Listen on
:5913

2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Flash
security
policy server

2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - SSL/TLS
support

2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: -
Backgrounding
(daemon)

Regards,
Subramaniyan.R

On Wednesday, 11 June 2014 17:26:16 UTC+5:30, Jorick Astrego wrote:

Hi,

After hooking up a libvirt server to foreman I’m unable to access
the

VNC console. I already checked everything from
Foreman :: Manual but I still
get

the “WebSock error: [object Event]” error.

I’ve set “network.websocket.allowInsecureFromHTTPS” to true on
firefox-29.0.1-1.fc20.x86_64 and telnet to the vnc port is working
from
both my workstation and the foreman server. Also there is a
websocket.py
running and the port is connectable with telnet.

I cannot test chrome because the "Allow insecure WebSocket from
https

origin" option is not available in chromium 34 which is the latest I
get
from a repo.

Also tried it on a windows 7 machine with chrome with the same
error.

Anything else I can do to debug?

Kind regards,

Jorick Astrego
Netbulae B.V.


You received this message because you are subscribed to the Google
Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it,
send

an
email to foreman-user...@googlegroups.com.
To post to this group, send email to forema...@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal


You received this message because you are subscribed to the Google
Groups

“Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an

email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/JSxObqrbXKE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/foreman-users/JSxObqrbXKE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Regards;
R.Subramaniyan

attached the screen shot

··· On Fri, Oct 27, 2017 at 2:23 PM, subramaniyan.R wrote:

Hi Lukas,
while trying to connect the console im getting the error. i have
modified two files for console listed below and i have tried in firefox and
chrome also but doesn’t work for me.

vim /etc/httpd/conf.d/05-foreman-ssl.conf

SSL directives

SSLEngine on
SSLCertificateFile "/etc/puppetlabs/puppet/ssl/certs/newcert.pem"
SSLCertificateKeyFile "/etc/puppetlabs/puppet/ssl/
private_keys/localkey.pem"
SSLCertificateChainFile "/etc/puppetlabs/puppet/ssl/certs/chain.pem"
SSLVerifyClient optional
SSLCACertificateFile "/etc/puppetlabs/puppet/ssl/certs/ca.pem"
SSLCARevocationFile "/etc/puppetlabs/puppet/ssl/crl.pem"
SSLVerifyDepth 3

vi /etc/foreman/settings.yaml

Websockets

:websockets_encrypt: true
:websockets_ssl_key: /etc/puppetlabs/puppet/ssl/private_keys/localkey.pem
:websockets_ssl_cert: /etc/puppetlabs/puppet/ssl/certs/newcert.pem

SSL-settings

Regards,

Subramaniyan.R

On Fri, Oct 27, 2017 at 1:56 PM, Lukas Zapletal lzap@redhat.com wrote:

Please read and copy paste all lines from Troubleshooting and Known
Issues section and make note to each of them, if you tested this and
how.

I can hardly help you - all I need is “it does not work”. But 90% of
issues are listed here ^^^

On Thu, Oct 26, 2017 at 4:36 PM, subramaniyan.R subupndm@gmail.com >> wrote:

Hi Lzap,
Thanka for your reply. I’m following the same article,but not able to
get
the console for libvirt, getting the same error.can you help me to
trace the
issue?

On Oct 26, 2017 7:25 PM, “Lukas Zapletal” lzap@redhat.com wrote:

Please read:

Foreman :: Manual

and follow the instructions there.

LZ

On Thu, Oct 26, 2017 at 7:04 AM, Subramaniyan .R subupndm@gmail.com >> wrote:

i have used libvirt,

On Wednesday, 25 October 2017 19:14:34 UTC+5:30, Lukas Zapletal wrote:

What compute resource is it? This will only work with libvirt and
oVirt/RHEV I believe.

LZ

On Tue, Oct 24, 2017 at 8:28 AM, Subramaniyan .R subu...@gmail.com >> >>> wrote:

Hi All,
Can any one help me on this below error ? "WebSock error:
[object

Event]" error.

2017-10-24 11:54:18 efa2e55c [app] [D] Starting VNC Proxy:
/usr/share/foreman/extras/noVNC/websockify.py --daemon
–idle-timeout=120
–timeout=120 5913 kvm.radisys.com:5907 --cert
/etc/puppetlabs/puppet/ssl/certs/certnew.pem --key
/etc/puppetlabs/puppet/ssl/private_keys/my-private-key.pem
2017-10-24 11:54:18 efa2e55c [app] [D] [WARNING: no ‘numpy’ module,
HyBi
protocol will be slower

2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: WebSocket
server

settings:

2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Listen on
:5913

2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - Flash
security
policy server

2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: - SSL/TLS
support

2017-10-24 11:54:18 efa2e55c [app] [D] VNCProxy Error: -
Backgrounding
(daemon)

Regards,
Subramaniyan.R

On Wednesday, 11 June 2014 17:26:16 UTC+5:30, Jorick Astrego wrote:

Hi,

After hooking up a libvirt server to foreman I’m unable to access
the

VNC console. I already checked everything from
Foreman :: Manual but I still
get

the “WebSock error: [object Event]” error.

I’ve set “network.websocket.allowInsecureFromHTTPS” to true on
firefox-29.0.1-1.fc20.x86_64 and telnet to the vnc port is working
from
both my workstation and the foreman server. Also there is a
websocket.py
running and the port is connectable with telnet.

I cannot test chrome because the "Allow insecure WebSocket from
https

origin" option is not available in chromium 34 which is the latest
I

get
from a repo.

Also tried it on a windows 7 machine with chrome with the same
error.

Anything else I can do to debug?

Kind regards,

Jorick Astrego
Netbulae B.V.


You received this message because you are subscribed to the Google
Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it,
send

an
email to foreman-user...@googlegroups.com.
To post to this group, send email to forema...@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal


You received this message because you are subscribed to the Google
Groups

“Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an

email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/JSxObqrbXKE/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google
Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/to
pic/foreman-users/JSxObqrbXKE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Regards;
R.Subramaniyan


Regards;
R.Subramaniyan

For encrypted connections, you will need to trust the Foreman CA. This
is typically stored in /var/lib/puppet/ssl/certs/ca.pem, you may wish
to copy this to something like /var/www/html/pub/ca.crt so that users
may easily find it.

Your cert that is configured in Apache2 HTTPD its CA must be accepted
by the browser as a valid CA certificate. If you used Add Exception -
Confirm security exception in Firefox, this will not help and Console
will not be available. The proper solution is to add Foreman server
certificate under known CAs in the browser and also access the server
under it's fully qualified domain name. This articles explains the
necessary steps.

I think we need some helper icon in the UI explaining this.

··· -- Lukas @lzap Zapletal

Hi,

I have tried most of the steps mentioned in this post to access the virtual machine console from forema GUI, but its not working.

Browser used : Internet explorer

I am just wondering if it is possible to use this functionality on internet explorer ?

Regards,
Atul

VNC will only work if your connection to Foreman server is secure (green lock). Adding a security exception will not work.