You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Asbern <as...@trainocate.com> on 2018/04/05 09:13:27 UTC

Guacamole audio redirection issue

Hi all,

 

Greetings from Trainocate!

 

In our office, we deployed guacamole 0.9.14 in apache tomcat8, we are facing
issues in audio redirection (microphone). 

Our issue is the client machine audio is working fine, but the microphone is
not working, can you help us to resolve this issue? Thank you

 

Best Regards,
A. Asbern

 


RE: Guacamole audio redirection issue

Posted by Asbern <as...@trainocate.com>.
Okay will try to implement that and let you know the output, thanks for the help

 

Best Regards,
A. Asbern

 

From: Marko Nikolić [mailto:marko.nikolic.gm@gmail.com] 
Sent: Thursday, April 05, 2018 9:46 PM
To: user@guacamole.apache.org
Subject: Re: Guacamole audio redirection issue

 

 

чет, 5. апр 2018. 14.54 Nick Couchman <vn...@apache.org> је написао/ла:

On Thu, Apr 5, 2018 at 8:45 AM, Asbern <as...@trainocate.com> wrote:

Hi Marko,

 

Actually its not prompting for any permission in chrome

 

 

 

Correct - I believe Marko's point is that, if you're not using SSL/TLS (HTTPS), then it won't prompt you, because it refuses to send microphone/webcam over unsecure connections.

 

-Nick 

 

Yes, this is the case, it does not prompt at all on unsecure connections. The exception is localhost, so if you have Guacamole server installed locally, you can get microphone redirected via unsecured connection. 

 

Regards, 

Marko 


Re: Guacamole audio redirection issue

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Apr 12, 2018 at 5:29 AM, Asbern <as...@trainocate.com> wrote:

> I don’t have any specific reason to avoid HTTPS, just want to make sure
> the exact issue depends on https or not that’s why. And also I have added
> an exception to guacamole IP to access the microphone in Firefox settings,
> still the issue is not  solved.
>
>
>
I don't know for sure that switching to HTTPS is going to resolve it, but
the browsers seem very strict about having HTTPS before allowing
transmission of audio or video from your computer, as well as requiring
your permissions.  There are very good reasons for this.  I'm just trying
to help you work through debugging it - it could be something else
entirely, but let's eliminate HTTP vs. HTTPS as one of the problems, then
move on to the next thing.

-Nick

RE: Guacamole audio redirection issue

Posted by Asbern <as...@trainocate.com>.
I don’t have any specific reason to avoid HTTPS, just want to make sure the exact issue depends on https or not that’s why. And also I have added an exception to guacamole IP to access the microphone in Firefox settings, still the issue is not  solved.

 

Best Regards,
A. Asbern

 

From: Nick Couchman [mailto:vnick@apache.org] 
Sent: Thursday, April 12, 2018 1:49 PM
To: user@guacamole.apache.org
Subject: Re: Guacamole audio redirection issue

 

On Thu, Apr 12, 2018 at 12:31 AM, Asbern <as...@trainocate.com> wrote:

Hi Nick/Marko,

 

What if without using SSL/TLS and manually add an exception to guacamole IP to access microphone in Firefox means will it work? 

 

 

I'm not sure - give it a try and see :-).  I don't use Guacamole with SSL/TLS at all, so I've no idea if it will work or not.  Is there a reason you're avoiding using SSL/TLS (HTTPS/WSS)?

 

-Nick 


Re: Guacamole audio redirection issue

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Apr 12, 2018 at 12:31 AM, Asbern <as...@trainocate.com> wrote:

> Hi Nick/Marko,
>
>
>
> What if without using SSL/TLS and manually add an exception to guacamole
> IP to access microphone in Firefox means will it work?
>
>
>

I'm not sure - give it a try and see :-).  I don't use Guacamole with
SSL/TLS at all, so I've no idea if it will work or not.  Is there a reason
you're avoiding using SSL/TLS (HTTPS/WSS)?

-Nick

RE: Guacamole audio redirection issue

Posted by Asbern <as...@trainocate.com>.
Hi Nick/Marko,

 

What if without using SSL/TLS and manually add an exception to guacamole IP to access microphone in Firefox means will it work? 

 

Best Regards,
A. Asbern

 

From: Marko Nikolić [mailto:marko.nikolic.gm@gmail.com] 
Sent: Thursday, April 05, 2018 9:46 PM
To: user@guacamole.apache.org
Subject: Re: Guacamole audio redirection issue

 

 

чет, 5. апр 2018. 14.54 Nick Couchman <vn...@apache.org> је написао/ла:

On Thu, Apr 5, 2018 at 8:45 AM, Asbern <as...@trainocate.com> wrote:

Hi Marko,

 

Actually its not prompting for any permission in chrome

 

 

 

Correct - I believe Marko's point is that, if you're not using SSL/TLS (HTTPS), then it won't prompt you, because it refuses to send microphone/webcam over unsecure connections.

 

-Nick 

 

Yes, this is the case, it does not prompt at all on unsecure connections. The exception is localhost, so if you have Guacamole server installed locally, you can get microphone redirected via unsecured connection. 

 

Regards, 

Marko 


RE: Guacamole audio redirection issue

Posted by Asbern <as...@trainocate.com>.
Thanks for the info, will check that.

 

Best Regards,                                                              
A. Asbern

 

From: Nick Couchman [mailto:vnick@apache.org] 
Sent: Friday, April 06, 2018 5:02 PM
To: user@guacamole.apache.org
Subject: Re: Guacamole audio redirection issue

 

On Fri, Apr 6, 2018 at 5:56 AM, Asbern <as...@trainocate.com> wrote:

Hi Nick/Marko,

 

Need one heads up, the SSL/TLS configuration should be based on guacamole or Ubuntu?

 

 

I'm not entirely certain what you are asking, but I think I know - you need to configure either Tomcat for SSL/TLS (HTTPS) support directly, or you need to put a reverse proxy in front of Tomcat (Nginx or httpd) in order to provide the HTTPS connection to your clients.  This is not the same as guacd SSL/TLS support.  See the following page:

 

http://guacamole.apache.org/doc/gug/proxying-guacamole.html

 

-Nick 


Re: Guacamole audio redirection issue

Posted by Nick Couchman <vn...@apache.org>.
On Fri, Apr 6, 2018 at 5:56 AM, Asbern <as...@trainocate.com> wrote:

> Hi Nick/Marko,
>
>
>
> Need one heads up, the SSL/TLS configuration should be based on guacamole
> or Ubuntu?
>
>
>
I'm not entirely certain what you are asking, but I think I know - you need
to configure either Tomcat for SSL/TLS (HTTPS) support directly, or you
need to put a reverse proxy in front of Tomcat (Nginx or httpd) in order to
provide the HTTPS connection to your clients.  This is not the same as
guacd SSL/TLS support.  See the following page:

http://guacamole.apache.org/doc/gug/proxying-guacamole.html

-Nick

RE: Guacamole audio redirection issue

Posted by Asbern <as...@trainocate.com>.
Hi Nick/Marko,

 

Need one heads up, the SSL/TLS configuration should be based on guacamole or Ubuntu?

 

Best Regards,
A. Asbern

 

From: Asbern [mailto:asbern.a@trainocate.com] 
Sent: Friday, April 06, 2018 9:43 AM
To: 'user@guacamole.apache.org'
Subject: RE: Guacamole audio redirection issue

 

Okay will try to implement that and let you know the output, thanks for the help

 

Best Regards,
A. Asbern

 

From: Marko Nikolić [mailto:marko.nikolic.gm@gmail.com] 
Sent: Thursday, April 05, 2018 9:46 PM
To: user@guacamole.apache.org
Subject: Re: Guacamole audio redirection issue

 

 

чет, 5. апр 2018. 14.54 Nick Couchman <vn...@apache.org> је написао/ла:

On Thu, Apr 5, 2018 at 8:45 AM, Asbern <as...@trainocate.com> wrote:

Hi Marko,

 

Actually its not prompting for any permission in chrome

 

 

 

Correct - I believe Marko's point is that, if you're not using SSL/TLS (HTTPS), then it won't prompt you, because it refuses to send microphone/webcam over unsecure connections.

 

-Nick 

 

Yes, this is the case, it does not prompt at all on unsecure connections. The exception is localhost, so if you have Guacamole server installed locally, you can get microphone redirected via unsecured connection. 

 

Regards, 

Marko 


Re: Guacamole audio redirection issue

Posted by Marko Nikolić <ma...@gmail.com>.
чет, 5. апр 2018. 14.54 Nick Couchman <vn...@apache.org> је написао/ла:

> On Thu, Apr 5, 2018 at 8:45 AM, Asbern <as...@trainocate.com> wrote:
>
>> Hi Marko,
>>
>>
>>
>> Actually its not prompting for any permission in chrome
>>
>>
>>
>>
>>
> Correct - I believe Marko's point is that, if you're not using SSL/TLS
> (HTTPS), then it won't prompt you, because it refuses to send
> microphone/webcam over unsecure connections.
>
> -Nick
>

Yes, this is the case, it does not prompt at all on unsecure connections.
The exception is localhost, so if you have Guacamole server installed
locally, you can get microphone redirected via unsecured connection.

Regards,
Marko

Re: Guacamole audio redirection issue

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Apr 5, 2018 at 8:45 AM, Asbern <as...@trainocate.com> wrote:

> Hi Marko,
>
>
>
> Actually its not prompting for any permission in chrome
>
>
>
>
>
Correct - I believe Marko's point is that, if you're not using SSL/TLS
(HTTPS), then it won't prompt you, because it refuses to send
microphone/webcam over unsecure connections.

-Nick

Re: Guacamole audio redirection issue

Posted by jml <jm...@mikeholland.com>.
unsubscribe


RE: Guacamole audio redirection issue

Posted by Asbern <as...@trainocate.com>.
Hi Marko,

 

Actually its not prompting for any permission in chrome

 

Best Regards,
A. Asbern

 

From: Marko Nikolić [mailto:marko.nikolic.gm@gmail.com] 
Sent: Thursday, April 05, 2018 3:23 PM
To: user@guacamole.apache.org
Subject: Re: Guacamole audio redirection issue

 

Hello Asbern,

 

Chrome requires having SSL (https) connection to allow usage of the microphone and some other features (geolocation....). I think there should be a message in the Chrome console when web page tries to access microphone over an insecure connection.

 

Please check this page as well: https://addpipe.com/blog/microphone-camera-access-no-longer-works-insecure-origins/

 

Regards,

Marko

 

чет, 5. апр 2018. у 11:41 Asbern <as...@trainocate.com> је написао/ла:

Yes am aware of that, in chrome I couldn’t able to enable that permission but in firefox I could 

 

Best Regards,
A. Asbern

 

From: Nick Couchman [mailto:vnick@apache.org] 
Sent: Thursday, April 05, 2018 3:10 PM


To: user@guacamole.apache.org
Subject: Re: Guacamole audio redirection issue

 

On Thu, Apr 5, 2018 at 5:25 AM, Asbern <as...@trainocate.com> wrote:

 

 

Client OS is Windows Server 2008 R2, and I have tried in chrome, IE, Firefox 

 

I know that, at least in Chrome, you have to grant a web page access to the microphone before it will allow it to be used.  Have you done this?  There's usually a little icon that appears in the box with the URL that indicates something attempting to access the microphone.

 

 

I could use the microphone via normal RDP but when I try to use via guacamole am facing this issue even though I set enable-audio-input as true and also my Ubuntu version is 16.04

 

 

So, to reiterate a previous question: Does the microphone work on other web pages that use the microphone?  You can test it out, here: https://test.webrtc.org/

 

-Nick


Re: Guacamole audio redirection issue

Posted by Marko Nikolić <ma...@gmail.com>.
Hello Asbern,

Chrome requires having SSL (https) connection to allow usage of the
microphone and some other features (geolocation....). I think there should
be a message in the Chrome console when web page tries to access microphone
over an insecure connection.

Please check this page as well:
https://addpipe.com/blog/microphone-camera-access-no-longer-works-insecure-origins/

Regards,
Marko

чет, 5. апр 2018. у 11:41 Asbern <as...@trainocate.com> је написао/ла:

> Yes am aware of that, in chrome I couldn’t able to enable that permission
> but in firefox I could
>
>
>
> Best Regards,
> A. Asbern
>
>
>
> *From:* Nick Couchman [mailto:vnick@apache.org]
> *Sent:* Thursday, April 05, 2018 3:10 PM
>
>
> *To:* user@guacamole.apache.org
> *Subject:* Re: Guacamole audio redirection issue
>
>
>
> On Thu, Apr 5, 2018 at 5:25 AM, Asbern <as...@trainocate.com> wrote:
>
>
>
>
>
> Client OS is Windows Server 2008 R2, and I have tried in chrome, IE,
> Firefox
>
>
>
> I know that, at least in Chrome, you have to grant a web page access to
> the microphone before it will allow it to be used.  Have you done this?
> There's usually a little icon that appears in the box with the URL that
> indicates something attempting to access the microphone.
>
>
>
>
>
> I could use the microphone via normal RDP but when I try to use via
> guacamole am facing this issue even though I set *enable-audio-input* as
> *true* and also my Ubuntu version is 16.04
>
>
>
>
>
> So, to reiterate a previous question: Does the microphone work on other
> web pages that use the microphone?  You can test it out, here:
> https://test.webrtc.org/
>
>
>
> -Nick
>

RE: Guacamole audio redirection issue

Posted by Asbern <as...@trainocate.com>.
Yes am aware of that, in chrome I couldn’t able to enable that permission but in firefox I could 

 

Best Regards,
A. Asbern

 

From: Nick Couchman [mailto:vnick@apache.org] 
Sent: Thursday, April 05, 2018 3:10 PM
To: user@guacamole.apache.org
Subject: Re: Guacamole audio redirection issue

 

On Thu, Apr 5, 2018 at 5:25 AM, Asbern <as...@trainocate.com> wrote:

 

 

Client OS is Windows Server 2008 R2, and I have tried in chrome, IE, Firefox 

 

I know that, at least in Chrome, you have to grant a web page access to the microphone before it will allow it to be used.  Have you done this?  There's usually a little icon that appears in the box with the URL that indicates something attempting to access the microphone.

 

 

I could use the microphone via normal RDP but when I try to use via guacamole am facing this issue even though I set enable-audio-input as true and also my Ubuntu version is 16.04

 

 

So, to reiterate a previous question: Does the microphone work on other web pages that use the microphone?  You can test it out, here: https://test.webrtc.org/

 

-Nick


Re: Guacamole audio redirection issue

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Apr 5, 2018 at 5:25 AM, Asbern <as...@trainocate.com> wrote:

>
>
>
> Client OS is Windows Server 2008 R2, and I have tried in chrome, IE,
> Firefox
>
>
I know that, at least in Chrome, you have to grant a web page access to the
microphone before it will allow it to be used.  Have you done this?
There's usually a little icon that appears in the box with the URL that
indicates something attempting to access the microphone.


>
>
> I could use the microphone via normal RDP but when I try to use via
> guacamole am facing this issue even though I set *enable-audio-input* as
> *true* and also my Ubuntu version is 16.04
>
>
>

So, to reiterate a previous question: Does the microphone work on other web
pages that use the microphone?  You can test it out, here:
https://test.webrtc.org/

-Nick

RE: Guacamole audio redirection issue

Posted by Asbern <as...@trainocate.com>.
Hi Nick,

 

Sorry for the confusion caused.

 

Client OS is Windows Server 2008 R2, and I have tried in chrome, IE, Firefox 

 

I could use the microphone via normal RDP but when I try to use via guacamole am facing this issue even though I set enable-audio-input as true and also my Ubuntu version is 16.04

 

Best Regards,
A. Asbern

 

From: Nick Couchman [mailto:vnick@apache.org] 
Sent: Thursday, April 05, 2018 2:47 PM
To: user@guacamole.apache.org
Subject: Re: Guacamole audio redirection issue

 

On Thu, Apr 5, 2018 at 5:13 AM, Asbern <as...@trainocate.com> wrote:

Hi all,

 

Greetings from Trainocate!

 

In our office, we deployed guacamole 0.9.14 in apache tomcat8, we are facing issues in audio redirection (microphone). 

Our issue is the client machine audio is working fine, but the microphone is not working, can you help us to resolve this issue? Thank you

 

 

First, please do not post to both user and dev mailing lists - choose one (the user list, unless you're developing something and asking a question about that) and stick with it.  Otherwise it just causes confusion.

 

What is the client O/S and browser?  Can you successfully use the microphone in other applications on the client - both standard applications and on other web pages?  What have you tried to get it to work?

 

-Nick


Re: Guacamole audio redirection issue

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Apr 5, 2018 at 5:13 AM, Asbern <as...@trainocate.com> wrote:

> Hi all,
>
>
>
> Greetings from Trainocate!
>
>
>
> In our office, we deployed guacamole 0.9.14 in apache tomcat8, we are
> facing issues in audio redirection (microphone).
>
> Our issue is the client machine audio is working fine, but the microphone
> is not working, can you help us to resolve this issue? Thank you
>
>
>
First, please do not post to both user and dev mailing lists - choose one
(the user list, unless you're developing something and asking a question
about that) and stick with it.  Otherwise it just causes confusion.

What is the client O/S and browser?  Can you successfully use the
microphone in other applications on the client - both standard applications
and on other web pages?  What have you tried to get it to work?

-Nick