Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8B0C8200D1A for ; Mon, 9 Oct 2017 14:28:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 898491609E0; Mon, 9 Oct 2017 12:28:28 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A436A1609BB for ; Mon, 9 Oct 2017 14:28:27 +0200 (CEST) Received: (qmail 11685 invoked by uid 500); 9 Oct 2017 12:28:26 -0000 Mailing-List: contact user-help@guacamole.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@guacamole.incubator.apache.org Delivered-To: mailing list user@guacamole.incubator.apache.org Received: (qmail 11675 invoked by uid 99); 9 Oct 2017 12:28:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Oct 2017 12:28:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 054C518BEBF for ; Mon, 9 Oct 2017 12:28:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.901 X-Spam-Level: X-Spam-Status: No, score=-0.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id le9kJY4jacQp for ; Mon, 9 Oct 2017 12:28:24 +0000 (UTC) Received: from mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7BC345F6C6 for ; Mon, 9 Oct 2017 12:28:23 +0000 (UTC) Received: by mail-pf0-f178.google.com with SMTP id n14so11720500pfh.8 for ; Mon, 09 Oct 2017 05:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ICFvm4ogxvFECpf96mdtkjKSsF2MQSV/Y5AZGoSOCuU=; b=R6cZwCaXHJdocA0eFzU/JLTko3Oy+DFsrESLJLubObFKAxxELjTizUJkUIFJoZKENb MlmsAJh34hQt9X5WH8L/ixAXJm/lTWpGt0u5nRzcKqOrhzkEJZ0W0q/yu2FWXys/YBhL /+naxnd9t2GqhqoPhbG9u/XKh+BuDv4tA2UxpHJZ6meX6QSuke703Es/K8BGKB2xCR3h vjTVFa0p6tOiUaI8TJI7BlFNr3a/rvKnt22s/eMOUfITChUFvvqS1zE5VZzWLrVJsSej Id0N0GazN0XeRNOHPIscV2Hy1UW09hXiDZWhIhM22i90rxTBrVIgzLjcAwzLGy/7GmLG iPaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ICFvm4ogxvFECpf96mdtkjKSsF2MQSV/Y5AZGoSOCuU=; b=kAhj60LlSFTxfRTCucOUigg0aKAGzwQxfTocCwgoihNzqD6vofsQz1kUamxPmkuzpQ U5Y1BjVhCoHWsbRJfIFQ/JY3Apf/KdIyTVEZmCYpLCVm0BPiry+doRf4EcodACWldcBJ P4xJCXI//K+VMOzqQGTGd2t53TuF6GWdwTPhM/5I+i9UA0TSAjRFNVdyLjASz4tOf9RL Ig4MjNioYwh9KuZ/OEPGjuPDlTFrWqTJL1BaN/GrNWh7s7k4VSPiaxHc/rrTXyt4yZpy 0QBH+RuJ+a8kCz3bcP+RC7GJW4ataZqY3a5stRLfLI9uz7SB7Cjjbb9tqW33qTWGkWGB giHQ== X-Gm-Message-State: AMCzsaVfCUdaGxfi2YD8q5zcFjg8MPwE/AYkl9sqPD0JD1Eo7XYLHDqc lT+OhJdo1DjmL294VJN9an29B14liJNYc6xrO3mmRN0J X-Google-Smtp-Source: AOwi7QBrsbHP+Ko4Fb0+Y7WhbZkqZvHD2wJ8WeNkJ4qyY+HBtpv1riaLXRii1fPl9x6AEOhNrzvX8rJZ0VpTdvbOT6Q= X-Received: by 10.99.123.88 with SMTP id k24mr9279070pgn.213.1507552101867; Mon, 09 Oct 2017 05:28:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.150.66 with HTTP; Mon, 9 Oct 2017 05:28:21 -0700 (PDT) In-Reply-To: References: From: Youhei Ootsuki Date: Mon, 9 Oct 2017 21:28:21 +0900 Message-ID: Subject: Re: what is java.lang.NullPointerException To: user@guacamole.incubator.apache.org Content-Type: multipart/alternative; boundary="f403045c616a832826055b1c53c0" archived-at: Mon, 09 Oct 2017 12:28:28 -0000 --f403045c616a832826055b1c53c0 Content-Type: text/plain; charset="UTF-8" Hi, Thank you very much for your reply. > At what point in the process do you get the error? I can login to My Guacamole server. ( HTTPS ) but, I can not connect to the remote server with SSH. However, RDP connection is possible.( Another remote server ) and, SSH connection to myself is also possible( Guacamole server to Guacamole server on ssh ) SSH connection to Cisco IOS is also possible. SSH connection to the latest Linux such as Debian 9, Centos 7 is impossible. user-mapping.xml rdp aa.bb.cc.dd 3389 true ******** ********** ****** any true true false ja-jp-qwerty reconnect true /tmp/rdp true ee.ff.gg.hh 22 true ***** ***** black-white **.**.**.** 22 true ***** ***** black-white ssh **.**.**.** 22 true ******* ****** I would appreciate your prompt reply. Thanks, 2017-10-09 10:22 GMT+09:00 Nick Couchman : > On Fri, Oct 6, 2017 at 6:59 AM, Youhei Ootsuki > wrote: > >> Hi, >> >> >> Thank you very much for your reply. >> >> >> > Are you using the Guacamole Client, or are you writing your own custom >> application? Can you provide more details about what you're doing when you >> encounter the error? >> >> I am using Firefox. # ver 56.0 (32 bit) >> and accessing my Guacamole server using HTTPS >> >> > Okay, so you're using the full guacamole-client and guacamole-server > packages. > > >> Good ) >> >> My PC ---> SSH ----> Remote Server >> My Guacamole Server ----> SSH ----> Remote Server >> >> >> No Good ) >> >> My PC ---> HTTPS ----> My Guacamole Server ----> SSH ----> Remote >> Server >> >> > At what point in the process do you get the error? Is it when you try to > log in to Guacamole? Or you can log in to Guacamole, but when you try to > make the SSH connection it fails? How is the connection configured? > > Also, you mentioned you were using Apache, presumably as a proxy in front > of Tomcat - how do you have Apache configured? It looks to me like at > least one of the errors is a misconfiguration of the proxy between httpd > and tomcat, probably either related to HTTP/HTTPS or to WS/WSS, but it's > hard to tell without a lot more detail. > > -Nick > --f403045c616a832826055b1c53c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,



Thank you very much for your reply.


> At what point in the process d= o you get the error?=C2=A0

I can login to My Guacamole server. ( HT= TPS )
but, I can not connect to the remote server with SSH.

Howev= er, RDP connection is possible.( Another remote server )
and, SSH connec= tion to myself is also possible( Guacamole server to Guacamole server on ss= h )

SSH connection to Cisco IOS is also possible.



SSH= connection to the latest Linux such as Debian 9, Centos 7 is impossible.


user-mapping.xml

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 <connection name=3D"Windows Server 2012 R2(rdp)">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <pro= tocol>rdp</protocol>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D"hostname">aa.bb.cc.= dd</param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 <param name=3D"port">3389</param>
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param n= ame=3D"console">true</param>
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D"username&= quot;>********</param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D"password">******= ****</param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 <param name=3D"domain">******</param>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <= param name=3D"security">any</param>
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D"= ignore-cert">true</param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D"disable-audio&q= uot;>true</param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 <param name=3D"console-audio">false&l= t;/param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 <param name=3D"server-layout">ja-jp-qwerty</pa= ram>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <param name=3D"resize-method">reconnect</param>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <pa= ram name=3D"enable-drive">true</param>
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D&qu= ot;drive-path">/tmp/rdp</param>
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D"create-dr= ive-path">true</param>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 </connectio

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <connection name=3D"Debian 9.1 (ssh)">
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D&qu= ot;hostname">ee.ff.gg.hh</param>
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D"port"= ;>22</param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 <param name=3D"enable-sftp">true</par= am>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <param name=3D"username">*****</param>
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name= =3D"password">*****</param>
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D"color-sch= eme">black-white</param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 </connection>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <connection name=3D"= ;lix-centos7,1 web(ssh)">
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D"hostname">**.= **.**.**</param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 <param name=3D"port">22</param>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <par= am name=3D"enable-sftp">true</param>
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D"= username">*****</param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D"password">= *****</param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 <param name=3D"color-scheme">black-white<= ;/param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </connection&g= t;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <connecti= on name=3D"Catalyst 3750(ssh)">
=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <protocol>ssh</protocol>= ;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <= ;param name=3D"hostname">**.**.**.**</param>
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name= =3D"port">22</param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <param name=3D"enable-sftp&quo= t;>true</param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 <param name=3D"username">*******</= param>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 <param name=3D"password">******</param>
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <!-- par= am name=3D"color-scheme">black-white</param -->
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </connection>



=
I would appreciate your prompt reply.

Thanks,


2017-10-09 10:22 GMT+= 09:00 Nick Couchman <vnick@apache.org>:
On Fri, Oct 6, 2017 at 6:59 AM, Youhei Ootsuki <= span dir=3D"ltr"><youhei.ootsuki@gmail.com> wrote:
Hi,


Thank= you very much for your reply.


> Are you using the Guac= amole Client, or are you writing your own custom application?=C2=A0 Can you= provide more details about what you're doing when you encounter the er= ror?

I am using Firefox. # ver 56.0 (32 bit)
and accessing= my Guacamole server using HTTPS


=
Okay, so you're using the full guacamole-client and guacamol= e-server packages.=C2=A0
=C2=A0
Good )

=C2=A0 My PC ---> SSH= ----> Remote Server
=C2=A0 My Guacamole Server ----> SSH ---->= Remote Server

=C2=A0
No Good )

=C2=A0 My PC ---> HTT= PS ----> My Guacamole Server ----> SSH ----> Remote Server

At what point in the process= do you get the error?=C2=A0 Is it when you try to log in to Guacamole?=C2= =A0 Or you can log in to Guacamole, but when you try to make the SSH connec= tion it fails?=C2=A0 How is the connection configured?

=
Also, you mentioned you were using Apache, presumably as a proxy in fr= ont of Tomcat - how do you have Apache configured?=C2=A0 It looks to me lik= e at least one of the errors is a misconfiguration of the proxy between htt= pd and tomcat, probably either related to HTTP/HTTPS or to WS/WSS, but it&#= 39;s hard to tell without a lot more detail.

-Nick=C2=A0

--f403045c616a832826055b1c53c0--